Repository navigation
Commit b565746
authored
feat: driga.dev site with generated reference and real footage (#57)
A Starlight site for driga.dev, built from the code where it can be:
- cmd/driga-docgen writes the CLI, settings, MCP tools and hooks reference
pages from the parser, the settings table, the MCP server and dry-run hook
installers; `just docs-check` and the docgen tests fail on a stale page.
- llms.txt, llms-full.txt and a Markdown alternate of every page, including
the landing page's headings, commands and install line.
- Catppuccin Mocha and Latte as in the app, Geist and Geist Mono, one
heading scale and focus ring, state colours at 4.5:1 or better.
The landing page leads with real-time screen recordings of the shipped
binary: the terminal from typing `driga` to an allowed permission prompt,
then the same prompt allowed in the browser, then the install command, with
a Terminal · Browser · Install chapter bar. Feature sections play tight
crops of the same takes, light or dark with the site theme; phones get the
Needs-you crop in the hero.
- cmd/driga-demo plays scripted sessions into a private temporary data
directory: it holds the collector lock, writes the store and runs the real
prompt broker, so `driga` and `driga web` read it as a live collector. It
never reads the process table, agent files or Git.
- site/footage records the TUI with VHS and `driga web` with Playwright (a
drawn pointer, both themes), refusing to film unless the viewer reads the
demo, and cuts the films with Remotion from film/cut.json.
- Videos live in the R2 bucket driga-assets under content-hashed keys,
served from assets.driga.dev and listed in src/data/media.json; posters
are committed. `just site-footage` re-records, `just site-footage-publish`
uploads.
Docs follow #58 (one-time macOS notification prompt) and #59 (bare `driga`
opens the viewer; no activity, conflicts or --watch). Deployed to Cloudflare
Pages by .github/workflows/site.yml.
Claude-Session: https://claude.ai/code/session_01T2vtcW6ihn1ywy9vxUq9a41 parent dcae568 commit b565746
94 files changed
Lines changed: 20601 additions & 6 deletions
File tree
- .github/workflows
- cmd
- driga-demo
- driga-docgen
- internal
- cli
- config
- site
- footage
- film
- public
- scripts
- src
- assets
- media
- components
- landing
- content/docs
- explanation
- guides
- reference
- start
- data
- lib
- pages
- plugins
- styles
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
79 | 110 | | |
80 | 111 | | |
81 | 112 | | |
| |||
0 commit comments