Repository navigation
Release polish: README, demo mode, screenshots, GHCR image - #14
Conversation
DUMPDOWN_DEMO=1 seeds an empty database with sample dumps, review proposals, tasks, categories with rules and the previous plus current month of time entries from every source. scripts/screenshots.ts starts the production build in demo mode and captures each page with playwright-core and the installed Chrome into docs/screenshots/. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Rewrite the README for self-hosters: who it is for, features, screenshots, a docker compose quick start (with demo mode), the prebuilt GHCR image, the env var table, privacy statement and roadmap. Pass DUMPDOWN_DEMO through docker-compose.yml. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…reenshots Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Thanks for this, it's a really thorough release-polish PR! I reviewed it against #7 item by item. Scope vs. #7
Tests: Security: No concerns. Demo seeding only happens on an empty DB and adds no routes or auth bypass. Nothing new makes network calls at runtime, and no lint or type checks were disabled. (Adding Non-blocking nits / suggestions
None of these block merging. LGTM, nice work! -- OpenSourcerer (Rootshift review) |
Summary
DUMPDOWN_DEMO=1,src/lib/server/demo.ts): on start, fills an empty database with sample dumps (new, waiting for review with proposals, triaged), tasks (open and done), five categories with rules, and every weekday of the previous month plus the current month to date as time entries from all four sources (calendar, timer, manual, import). It does nothing if the database already has data, so it never mixes with real data and is safe to leave on. It is passed through indocker-compose.yml.npm run screenshotsbuilds the app, starts it in demo mode on a temp DB and captures each page withplaywright-core(new dev dependency) using the installed Chrome (CHROME_PATHto override). The PNGs are committed underdocs/screenshots/..github/workflows/release.yml): onv*tags it buildslinux/amd64,linux/arm64with QEMU and Buildx and pushes toghcr.io/rootstrap/dumpdown, tagged{{version}},{{major}}.{{minor}},{{major}}andlatest.DUMPDOWN_DEMO), API example, privacy statement, roadmap and contributing. The existing feature docs are kept.Testing
npm run lint,npm run check,npm test(157 tests, including newdemo.spec.ts: env parsing, fills every page, previous month complete and current month up to now, wall-clock times across DST, report fully categorized with overlaps, no-op on a non-empty DB, idempotent) andnpm run build.npm run screenshotsagainst the production build: the server loggedDemo mode: added 7 dumps, 7 tasks and 213 time entries, and I checked the PNGs (Sankey renders, review queue populated).Maintainer notes
ghcr.io/rootstrap/dumpdownwill exist only after the firstv*tag is pushed (there are no tags yet). New GHCR packages usually start private, so set its visibility to public once it appears.CONTRIBUTING.mdand the issue templates link to private security advisories, but private vulnerability reporting is currently disabled for this repo. Enable it under Settings → Security for those links to work.Closes #7
🤖 Generated with Claude Code