Everything I've built, on one board. The deck is a dashboard-style portfolio:
- KPI tiles across the top: projects, live sites, interests, contributions, latest push
- projects are grouped by interest with the flagships first (Featured); sort by Newest, A–Z or Shuffle, filter by interest, or search by name or stack
- a bento grid where flagship projects get the big tiles
- a detail drawer for each project, with why it exists, highlights, stack and links
Live: https://observation-deck.netlify.app/
projects.jsonis the single source of truth. It has three parts:profile: the handle and the stats used in the KPI tiles.constellations: the interest groups, each with a name, colour and blurb. They drive the filter buttons, the section headings and tile colours. The key name dates from the earlier star-chart design.projects: one entry per project.constellationsets its interest. These optional fields change how it's shown:url: the live siterepo: the GitHub repo name, orowner/namefor someone else's repo I contribute to (the drawer links my merged pull requests there)image: your own screenshot instead of a captured oneimageFit: "portrait": for phone screenshotsflagship: big 2×2 tileprivate/work: no source link, plus a badgehidden: kept in the manifest but not shownstarted: used by the "Newest" sortstackandcaseStudy: tech tags and the drawer (for outside repos,caseStudy.aboutintroduces the project andhighlightslists what I fixed or added; a highlight can be{"text", "links"}to link the merged PRs behind it)
scripts/capture-screenshots.jsvisits every project with aurlusing Puppeteer. It saves a WebP screenshot toimages/(unless the project has its ownimage) and writesstatus.json: up/down, response time, capture date.scripts/sync-github.jswritesgithub.jsonwith stars and last-push dates for everyrepo, plus the contributions-in-the-last-year total for the KPI tile (the same number as the GitHub profile graph, private contributions included).- It also lists my public repos that have no card yet, under
untrackedingithub.jsonand as a warning on the workflow run. Forks are skipped. Add a repo name toprofile.ignoreReposinprojects.jsonto leave it off on purpose. Private repos aren't checked, because both outputs are public. - It needs a token for GraphQL; the Actions token is enough. Locally:
GITHUB_TOKEN=$(gh auth token) npm run github.
- It also lists my public repos that have no card yet, under
- A GitHub Action runs both scripts every day and commits the results, so the live badges and KPI tiles stay current. Screenshots are refreshed on Mondays only.
- The daily run also records what each site logs to the console (script errors, failed requests) and the latest result of every workflow in my own repos. A project with either problem is marked "needs a look" on its tile, with the details in its drawer.
profile.startHereinprojects.jsonlists up to four project ids shown in the "Start here" row.index.htmlrenders everything with no build step. Projects without a screenshot get a text card showing the kind of work and its stack, in their interest's colour. The deck has a dark and a light theme: it follows the system setting, and the toggle in the top bar (auto, light, dark) overrides it per browser. Screenshots of the sites are always captured dark.- Every project has a shareable link,
/#p-<id>, that opens its drawer.
npm install
npm run screenshots # refresh images/*.webp and status.json
npm run github # refresh github.json (set GITHUB_TOKEN to avoid rate limits)
python -m http.server 5500 # preview at http://localhost:5500