Skip to content

Refresh site content to match the current darnit project - #4

Open
jd869 wants to merge 1 commit into
darnitdevorg:mainfrom
jd869:website-content-refresh
Open

jd869 wants to merge 1 commit into
darnitdevorg:mainfrom
jd869:website-content-refresh

Conversation

@jd869

@jd869 jd869 commented Nov 11, 2026 •

Copy link
Copy Markdown

Summary

The homepage had drifted from the darnit repo (v0.1.1), and it said what darnit is without showing how it works. This PR fixes the outdated facts, adds the missing explanation, and cleans up the frontend.

Outdated or incorrect content

  • All GitHub links pointed at kusari-oss/darnit and only worked through a 301 redirect. They now point at darnitdevorg/darnit.
  • The site said darnit was "Built by Kusari". It is now an OpenSSF project, hosted as Darnit a Series of LF Projects, LLC, with an open TSC. Kusari is credited as where it started.
  • The install steps said "from source, PyPI on the way". The site now uses uv tool install git+https://github.com/darnitdevorg/darnit. PyPI is not the main option because darnit-mcp 0.1.1 ships no darnit command (#621).
  • The site led with darnit audit, but the README says the main path is skills plus MCP (darnit install, then /darnit-audit) and that the CLI "is not the front door". The page now follows the README.
  • Added the Baseline version (OSPS v2026.02.19) and the darnit-csl plugin.

New explanatory content

  • How It Works: audit → confirm context → remediate → attest.
  • A diagram of the sieve pipeline (deterministic → pattern → LLM → manual) and the conservative-by-default rule (WARN counts as not passing).
  • Remediation safety: preview first, apply only approved changes, settings only ever tightened, changes delivered as a branch and PR.
  • Attestations described as in-toto statements signed with Sigstore.
  • A features grid (including STRIDE, marked alpha, and .project.yaml), a TOML composition example, the target audiences, and docs links.

Frontend

  • Navbar active state. Before, the highlight was a square block inside the rounded bar, it changed font weight (so the text shifted), and it cross-faded and flickered as you scrolled. Now it is a rounded pill inset in the bar, with one highlight at a time from a scroll-spy throttled with requestAnimationFrame. It also sets aria-current, shows a :focus-visible outline, and the menu gains a Features link.
  • Calls to action in the hero, and copy buttons on shell snippets.
  • The mobile menu closes on Escape and on an outside click.
  • The counter animation and smooth scroll respect prefers-reduced-motion.
  • Switched to the Inter variable font so weights 300–700 render properly instead of being faked. It is covered by the existing static/fonts/inter/** REUSE entry.
  • The nav logo uses the 180px square image instead of the 127 KB logo.png. Also better alt text, canonical and twitter:card meta, and removal of the unused .pillars / .team CSS.

Test plan

  • hugo --minify builds cleanly (Hugo v0.169.0)
  • reuse lint passes
  • Visual check at 1280px and 390px
  • Scripted scroll through the page (puppeteer): the nav highlight changes exactly once per section (6 changes for 6 sections), and the mobile menu shows the active section
  • Maintainer review of the wording, especially the OpenSSF / LF description

Follow-ups (not in this PR)

  • The hero hardcodes "Latest release v0.1.1".
  • After the next PyPI release, switch the main install line to uv tool install darnit-mcp.
  • Update baseURL when the custom domain goes live.

Demo

Screencast.from.2026-11-12.05-30-09.mp4

Assisted with Claude.

Bring the homepage in line with darnitdevorg/darnit v0.1.1 and explain
how darnit works, not just what it is.

Content:
- Point all GitHub links at darnitdevorg/darnit (was kusari-oss, 301)
- Describe darnit as an OpenSSF project hosted by LF Projects, with an
  open TSC; credit Kusari as where it started
- Update install: uv tool install from GitHub (PyPI 0.1.1 does not ship
  the darnit command, see #621); lead with the skills + MCP path
  (darnit install, /darnit-audit) as the README recommends
- Add How It Works (audit, confirm, remediate, attest), the sieve
  pipeline, and the conservative-by-default rule
- Add a features grid, a TOML composition example, the audience, the
  OSPS version (v2026.02.19), the CSL plugin, and docs links
- Replace the "0 forks" stat with the number of shipped plugins

Frontend:
- Hero calls to action, copy buttons on shell snippets
- Navbar: rounded active pill inset in the bar, one highlight at a time
  via a rAF-throttled scroll-spy, no weight change (no text shift),
  aria-current, focus-visible outline, Features link
- Mobile menu closes on Escape and outside click
- Respect prefers-reduced-motion for the counter and smooth scroll
- Inter variable font so 300-700 weights are real, not synthesized
- Small nav logo, better alt text, canonical and twitter:card meta
- Remove unused .pillars/.team CSS

Signed-off-by: jd869 <jaydeeppokhariya331@gmail.com>
@jd869
jd869 force-pushed the website-content-refresh branch from 730308c to a2c4fa3 Compare November 11, 2026 23:59
@jd869

jd869 commented Nov 12, 2026 •

Copy link
Copy Markdown
Author

@Marc-cn @mlieberman85 @funnelfiasco Can you reveiw this.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant