Skip to content

About

Watch gear trains turn on their plinths. Add a machine that hits an exact speed and direction.

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Gear Museum

A kinetic gallery of gear trains, built one machine at a time. Every exhibit runs on an ideal two-layer peg board. The checker proves the gears fit, their contacts transmit motion, and the output meets the plinth's exact speed and direction.

Visit the museum

Open the static site to see the whole collection. Select a machine to inspect its gears, axles, meshes and output ratio. Pause or reset motion, or isolate a layer when two gears share a peg. A fragment such as #a002 opens a specific plinth.

For a local preview, generate the machine index and serve the repository:

npm run registry
npm run serve

Open http://localhost:8080/. Run npm run registry -- --without-history when previewing an unpacked folder. The three seeds use the museum's credit when no commit history is available. GitHub Pages builds the index from full history and publishes on pushes to the default branch.

Add a machine

  1. Find an open plinth at Help build Gear Museum.
  2. Read docs/FORMAT.md and your item's spec in desk/items/.
  3. Put your machine in the exact slot, such as machines/a004.json.
  4. Run node tools/desk-check/local.mjs machines/a004.json and look for ACCEPTED.
  5. Open a pull request titled with the item ID and adding only that file. Put the public lease_ref, or a blank, on the Lease line.

See CONTRIBUTING.md for the desk workflow and SECURITY.md for private reporting. Code and documentation use Apache 2.0 (LICENSE). Contributions in machines/ use CC BY 4.0 (LICENSE-MACHINES); the index carries the author credit.

Checks and publishing

Run npm test with Node 22. No dependencies need installing. The workflow runs the gate and verifier from the base commit. The pull request supplies a single regular UTF-8 JSON file, capped at 4,096 bytes. The base branch supplies both the acceptance spec and the collection used for copy detection. The final step requires an accepted verdict. Only the desk's App can open a removal.

To regenerate the 30 work items and three seed records, run node tools/desk-check/make-items.mjs. The museum site needs a static host and its generated index. The Pages workflow assembles and publishes those assets.

For the repository owner, set Pages source to GitHub Actions, keep default workflow permissions read-only, and require the desk-check status on the default branch. Require an up-to-date branch before merging, including merges made by the desk App, so the verdict covers the current collection. Block force pushes and branch deletion. Give the desk's App the branch-creation bypass required for its desk/ branches. The deploy job skips private repositories.

About

Watch gear trains turn on their plinths. Add a machine that hits an exact speed and direction.

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages