Skip to content

Latest commit

 

History

History
61 lines (43 loc) · 2.52 KB

README.md

File metadata and controls

61 lines (43 loc) · 2.52 KB

patchyard.github.io

The Patchyard website, published at https://patchyard.github.io/.

No one should have to pay for software. Patchyard builds open-source replacements for the tools teams pay for every month, one at a time. This site lists them and holds a page for each one.

Address What's there
/ Patchyard and every tool
/kindwall/ Kindwall, with a live demo wall drawn by Kindwall's real widget
/kindwall/hosted/ Kindwall's free hosted server
/reprodrop/ ReproDrop's own site, published from its repository

Working on it

You need Node 24 (see .nvmrc) and pnpm 9 (corepack enable).

pnpm install
pnpm dev          # http://localhost:4321
pnpm verify       # lint, formatting, types, tests and a production build

pnpm build writes the site to dist/ and then checks it: nothing may load from another server (no analytics, trackers, web fonts or scripts from elsewhere), and every link to a page on this site must point at a page that exists.

Adding a tool

  1. Add it to src/data/products.ts. The home page, the footer and the 404 page are built from that list.
  2. If the tool's page lives here, add src/pages/<slug>/index.astro. Give it the tool's own look, inside the Patchyard header and footer (src/layouts/Base.astro). If the tool publishes its own site, set page to its address instead.

A path such as /kindwall/ is served from this repository only while the tool's own repository has GitHub Pages switched off. If a tool's repository turns Pages on, its site takes over that path.

Kindwall's demo wall

The wall on /kindwall/ is drawn by Kindwall's widget, copied unchanged into vendor/kindwall with the commit it came from. To update it from a Kindwall checkout next to this one:

pnpm kindwall:widget ../kindwall

The hosted server's address and upload limits are in src/data/site.ts.

Publishing

Changes go through pull requests: topic branches into develop, then develop into qa, then qa into main. Every push to main is built and deployed to GitHub Pages by .github/workflows/pages.yml.

License

Apache License 2.0. See LICENSE.