Thank you for your interest in contributing to the Cache App. We welcome contributions in all forms—from bug fixes and documentation to new features. This repository favors incremental change over perfection.
-
Fork the Repository — Click the Fork button on GitHub.
-
Clone Your Fork
git clone https://github.com/<your-username>/cache-app.git cd cache-app
-
Create a Branch — Use at most three words, separated by hyphens, with no slashes or type prefixes.
git checkout -b session-recovery
Examples:
session-recovery,fix-scroll-state,regenerate-sdk. -
Make Your Changes — Solve the problem at its source. Read the full implementation of what you change and its direct callers before you edit it.
-
Commit Your Changes — Use a short, imperative subject line. The existing history follows Conventional Commits with an optional scope, such as
fix(automations): re-check entitlement before claiming a run. -
Push Your Branch
git push origin session-recovery
-
Create a Pull Request — Open a PR against the
mainbranch.
If you find a bug or have a feature request, open an issue on GitHub. Please include:
- A clear, descriptive title.
- Steps to reproduce (for bugs).
- Expected vs. actual behaviour.
- Screenshots or logs if relevant.
- Environment details (browser, OS, etc.).
For security vulnerabilities, do not open a public issue. Follow SECURITY.md instead.
-
Keep your branch up to date — Rebase onto the latest
mainbefore submitting. -
Pass the local gate — A pre-commit hook runs on every commit:
bun lint # Ultracite (Biome) bun type-check # TypeScript
Run
bun testtoo, and add a test with your change: new features need coverage, and bug fixes need a regression test. -
Include tests — Tests live next to the code they cover, as
*.test.ts, and run with Bun's test runner. -
Document changes — Update the relevant documentation if your PR changes behaviour or adds features.
-
Reference issues — Link to any related issues in the PR description.
-
Write a short description — At most two sentences covering why the change is needed, what used to happen, and what it now does. Reviewers rely on it; do not restate the diff.
-
Review process — Maintainers will review your PR and may request changes.
- Bun 1.4.x (see
packageManagerinpackage.json) - Node.js 24.x (see
enginesand.nvmrc) - PostgreSQL 12+ (local or remote)
git clone https://github.com/gilsmt/cache-app.git
cd cache-app
bun install
cp .env.example .env
# Edit .env with your DATABASE_URL and API keys
bun run db-deploy
bun run devOpen http://localhost:3000.
| Command | Description |
|---|---|
bun run dev |
Start the dev server |
bun run build |
Production build |
bun run start |
Serve the production build |
bun lint |
Run the Ultracite (Biome) linter |
bun lint:fix |
Auto-fix lint issues |
bun type-check |
TypeScript type check |
bun test |
Run the test suite |
bun run db-migrate |
Create and apply a Prisma migration |
bun run db-deploy |
Apply pending migrations |
bun run translate |
Sync translations with gt-next |
By contributing to Cache App, you agree that your contributions will be licensed under the Apache License 2.0.