Contributing to Beam
April 7, 2026 ยท View on GitHub
Thanks for your interest in contributing to Beam!
Prerequisites
- Node.js 20+
- A Cloudflare account (free tier works for local dev)
- Wrangler CLI (
npm i -g wrangler)
Local setup
git clone https://github.com/scobb/beam.git
cd beam
npm install
cp .env.example .env # fill in your credentials
npm run migrations:local
npm run dev
The dev server starts at http://localhost:8787.
Code style
- TypeScript, strict mode
- Hono framework for routing
- No external runtime dependencies beyond
honoand@sentry/cloudflare - Keep the tracking snippet under 2 KB gzipped
Running checks
npm run typecheck # must pass
npm run test # 97+ unit tests must pass
Submitting a PR
- Fork the repo and create a branch from
main - Make your changes
- Run
npm run typecheckandnpm run testโ both must pass - Open a PR using the pull request template
- CI will run automatically; all checks must be green before merge
Reporting bugs
Use the bug report template.
Requesting features
Use the feature request template.
License
By contributing you agree that your contributions will be licensed under the MIT License.