Learn Foreign Language — in-progress language practice workspace.
Lucky Number Lookup — Enter a number (digits only); it is reduced modulo 81 (1–81) and looked up in the fortune table.
nvm use 25
pnpm -r install
pnpm build
pnpm dev:all
This repo is a pnpm workspace. To work on any app:
- Enable pnpm via Corepack once:
corepack enable pnpm - Use Node 25+ (run
nvm useto respect.nvmrc, Vite 7 requires 20.19+) - Install everything from the repo root:
pnpm install - Dev servers:
- Single app:
pnpm dev:farnsworth,pnpm dev:sporttimer,pnpm dev:life,pnpm dev:language, orpnpm dev:lookup(Lucky Number Lookup) - All apps together:
pnpm dev:all
- Single app:
- Build every app at once:
pnpm run -r build(or./build_all.sh)
- React wake-lock hook lives in
@static/shared/react/useScreenWakeLock - Common icons (for now,
home.svg) live in@static/shared/assets/home.svg - Build the package with
pnpm --filter @static/shared build - Extend it with additional hooks/utilities to keep apps in sync
Source code: https://github.com/neilhan/static To test a production build locally (avoiding CORS issues), navigate to the app directory and run:
npx serve distThis will serve the built files over HTTP at http://localhost:3000 (or another port if 3000 is busy).
Last updated: 2026-03-02 09:57 PT