Pull mirror; GitHub is the source of truth because Actions and site-admin write to it
  • JavaScript 44.4%
  • CSS 41.2%
  • HTML 11.2%
  • Python 3.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-11-13 16:15:53 +00:00
.github/workflows Publish the deploy branch with the workflow token 2026-09-15 01:29:08 +01:00
assets Games: add Spectral Slash 2026-11-13 16:15:53 +00:00
components Notebook: thoughts ticked in the thoughts app show up live 2026-10-30 22:05:43 +00:00
data Games: add Spectral Slash 2026-11-13 16:15:53 +00:00
site Notebook: thoughts ticked in the thoughts app show up live 2026-10-30 22:05:43 +00:00
tools Bookshelf: books stand at 90% of the gap, fill the plank, and can have a measured height 2026-09-20 19:29:28 +01:00
.gitignore Reorganise the repo into components, assets, data and tools 2026-09-19 16:40:50 +01:00
books.html Board: give the page room to breathe (#2) 2026-09-26 12:57:23 +01:00
games.html Games: no playing, finished or dropped; the first game goes in the handheld (#11) 2026-10-12 18:06:54 +01:00
index.html Notebook: thoughts ticked in the thoughts app show up live 2026-10-30 22:05:43 +00:00
README.md Notebook: thoughts ticked in the thoughts app show up live 2026-10-30 22:05:43 +00:00
robots.txt Replace the React site with the CRT corkboard site 2026-09-15 01:27:48 +01:00
thoughts.html Notebook: thoughts ticked in the thoughts app show up live 2026-10-30 22:05:43 +00:00
ToDo Todo: real photos for every resource, and load-time work 2026-09-18 03:05:15 +01:00

jackhygate.co.uk

A cork board with a hand-painted Philips telly on it. Static HTML, no build step: push to main and the workflow publishes the repo root to the deploy branch, which GitHub Pages serves.

Layout

index.html            the board                   books.html   the whole bookshelf
                                                  thoughts.html  every random thought, by title
                                                  games.html   every game, a cartridge each
site/                 base.css (type, cork, tape titles, boot), init.js (wires the sections up)
components/           one folder per thing on the board, a .css and a .js each
  telly/              the set: channels, front-panel buttons, sounds, boot screen, clock
  pinned/             the paintings, polaroid and magnets around the set
  projects/           things i've built, as pinned polaroids
  player/             the cassette player and the recently played tape
  shelf/              the bookshelf
  games/              the games: cartridges on a plank, the one I'm playing in a handheld
  scrapbook/          the folder of clippings
  notebook/           the pocket notebook of random thoughts, and thoughts.html
  atlas/              the A-Z atlas of venues
  wall/               the whiteboard and the visitors' noticeboard
  webring/            the two stickers at the foot
assets/               every image, by what it is: icons/ textures/ telly/ pinned/ projects/ player/ shelf/ games/ books/{covers,spines}
data/                 projects.json, books.json, games.json, articles.json, recent.json
tools/                gemini-cutouts.py, book-dims.py and README.md: how books get onto the shelf

Each component script is plain JS that leaves one function on window (createAtlas, renderBookshelf, …); site/init.js calls them. Paths are root-relative (/assets/…), so the site must be served from the repo root, which is what Pages and python3 -m http.server both do.

Data

File Shape
data/projects.json Things I've built, in pinned order: title, blurb, url, photo (a square screenshot in assets/projects/). A project with no url isn't out yet and shows as an undeveloped polaroid.
data/books.json reading (the current book) and read (newest first). Every book needs cover, spine and ratio; see tools/README.md. Optional height in mm sets how tall it stands beside the others.
data/games.json Games, in the order set in the back room: title, by, url, store, image (in assets/games/; wide for a Steam header), tagline, tags, platforms, browser, played (YYYY-MM), hours, stars, note. The first goes in the handheld; the rest stand on the plank in order. games.html groups them by year.
data/articles.json Clippings: title, author, source, url, date, minutes, blurb. A fallback: the live list comes from the wire (below).
data/thoughts.json Random thoughts, newest first: slug, title, date, body. Paragraphs are split by a blank line and lines starting - are a list; — starts a fragment, ![caption](src) on its own line is a photo and !sketch[caption](src) a drawing. Pictures live in assets/thoughts/.
data/recent.json Fallback playlist when the cassette rack is unreachable.

Live data

  • Recently played: jacks-cassettes.jackhygate.co.uk/api/public/recent (repo jhygate/cassette-rack).
  • Venues and atlas scans: venues.jackhygate.co.uk/api/public/venues and /atlas/ (repo jhygate/venues).
  • Random thoughts: data/thoughts.json, plus the ones ticked "into the notebook" in the thoughts app, live from thoughts.jackhygate.co.uk/api/public/notebook (~/services/thoughts on the box). No deploy needed for those.
  • Whiteboard and notes: wall.jackhygate.co.uk (repo jhygate/wall), live over server-sent events.
  • Things i've read online: rss.jackhygate.co.uk/api/public/articles, from the wire, the feed reader that also keeps the read list (~/CodeFun/the-wire). Falls back to data/articles.json when it's unreachable.

Working on it

python3 -m http.server 8731      # then http://localhost:8731/

Stylesheets and scripts are linked with a ?v=<date> query; change it in both HTML files when you change any of them so browsers and the Pages cache pick the change up. Work in this repo directly; the old prototypes (CSS-only telly, desk scene) are archived in ~/CodeFun/crt-site-archive.