HomeRacker frame planner
- TypeScript 83%
- CSS 16.8%
- Astro 0.2%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
Shield's Caddy terminates TLS for rackwright.tethri.dev and proxies plain HTTP to Traefik on antevorta, so the Ingress no longer asks cert-manager for a certificate. Assisted-by: Claude Code:claude-opus-5-5 |
||
| .agents/skills/commit | ||
| .woodpecker | ||
| chart | ||
| public | ||
| src | ||
| .dockerignore | ||
| .gitignore | ||
| AGENTS.md | ||
| astro.config.ts | ||
| bun.lock | ||
| bunfig.toml | ||
| Caddyfile | ||
| CLAUDE.md | ||
| components.json | ||
| Containerfile | ||
| knip.json | ||
| LICENSE | ||
| package.json | ||
| README.md | ||
| tsconfig.app.json | ||
| tsconfig.json | ||
| tsconfig.node.json | ||
Rackwright
A calculator for planning a HomeRacker frame around rack gear.
- Planner: set the frame width and depth in HomeRacker units, list your devices, then list the bays from top to bottom and drag devices onto them (bays drag to reorder too, and a placed device drags to another bay). New bays go on the top or the bottom. A bay holds its devices side by side or back to front, with a set space between them, each turned as you choose, on a shelf or fixed behind a front plate (a whole-U rack panel on the front posts), or stays empty space. Each bay can also join the front and back beams around it in the middle, add posts on the sides at a set depth, and close its sides with panels, split at those posts. Mark a device as the switch and others as networked to get an estimate of each Cat6 cable's length and the patch cable that covers it. Each bay gets the smallest height in units that fits and a breakdown of what fills it and what's left over. A 3D view shows the connectors, supports split as printed, feet, plates, shelves, side panels and devices to scale; drag to turn it, scroll to zoom, and hover a part for its name and size. The plan file card exports the frame, devices, bays, print bed and printed counts to TOML and imports them back.
- Print list: the parts for the plan bay by bay, splitting every support longer than the print bed allows (into a support length you prefer, such as ones you've already printed, and optionally no longer), with the connectors, lock pins, rack panels and shelf and side panels and a bed fit check. Each line takes a printed count, or a check to mark all of it printed; the totals add up the bays' counts.
- Converter: millimeters, inches, HomeRacker units and rack units side by side, plus a table of rack units and the HomeRacker units that hold them.
Run
bun install
bun run dev
Checks
bun run fix # format and lint, writing fixes
bun run typecheck
bun test
bun run ci # all of the above without writing
Contributing
The source lives at forge.moderndesktop.dev/Tethri/rackwright.
Forks and contributions are welcome: open an issue or a pull request there, or fork it and take it
your own way. AGENTS.md covers the code style and how the planner's geometry works.
License
Rackwright is licensed under the Mozilla Public License 2.0.