Skip to content

Latest commit

Β 

History

History
39 lines (28 loc) Β· 1.26 KB

CONTRIBUTING.md

File metadata and controls

39 lines (28 loc) Β· 1.26 KB

Contributing

Thanks for wanting to make the heartbeat better.

Dev setup

pnpm install
pnpm dev        # localhost:3000 β€” cards at /u/<you>, builder on /

A no-scope GITHUB_TOKEN in .env.local enables the GraphQL path; without it everything still works via the public REST fallback (marked partial).

Before you open a PR

pnpm typecheck && pnpm test && pnpm build

All three must pass β€” CI runs exactly this. New mechanics (param parsing, pulse math, render output guarantees) get a test in tests/; visual tweaks don't need one.

Ground rules

  • Cards are pure SVG with SMIL/CSS animation only β€” GitHub strips JavaScript and proxies through camo. If your feature needs JS in the card, it can't ship.
  • Every param must fail safe: junk input falls back to defaults, never to a broken card. Escape anything user-controlled that lands in the SVG.
  • Match the existing style (see neighboring code); no new dependencies without a strong case β€” the runtime deps are currently just Next/React.
  • One feature per PR, conventional commit subjects (feat:, fix:, docs:).

Ideas

Check docs/IDEAS.md β€” ticked items are shipped, unticked ones are up for grabs, struck-through ones were declined with reasons.