Contributing to Epicenter
May 23, 2026 · View on GitHub
Welcome! We're excited you're interested in contributing to Epicenter. This guide will help you get up and running quickly.
Prerequisites
- Bun: We use Bun as our JavaScript runtime and package manager
- Install from bun.sh if you don't have it
- The repo requires Bun 1.2.19 or newer (automatically enforced)
Getting Started
Epicenter is a monorepo containing multiple applications. The main application ready for contributions is Whispering (located in apps/whispering).
Quick Setup
-
Fork and clone the repository
Fork the repository and clone your fork:
git clone https://github.com/<your-username>/epicenter.git cd epicenterNew to open source? Check out How to Contribute to Open Source (free video series).
-
Install dependencies
bun installNote: If you see a version warning, run
bun upgradeto update to the required version. The repository uses Bun 1.2.19 to ensure consistency across all contributors.Note: Desktop app development requires external tools not installed by the command above. Install these manually. (For example: Rust and CMake)
-
Navigate to the Whispering app
cd apps/whispering -
Start development
# Run both web and desktop mode bun dev # Or run just the web version bun dev:web
That's it! You're ready to start contributing.
Project Structure
This is a monorepo with the following structure:
epicenter/
├── apps/
│ ├── whispering/ # Main transcription app (ready for contributions)
│ ├── sh/ # Local assistant (in development)
│ └── ... # Other apps in various stages
├── packages/
│ ├── db/ # Shared database schema for our hosted services
│ ├── ui/ # Shared UI components
│ └── ...
└── ...
Where to Contribute
Currently, Whispering (apps/whispering) is the most mature application and the best place to start contributing. Check the Whispering README for specific details about that application.
Working without Infisical access
Most of the repo does not need Infisical. Whispering, the Tab Manager extension, the CLI, and every shared package (@epicenter/workspace, @epicenter/ui, and the rest) build and run from a fresh clone with nothing more than bun install.
The only app that requires Infisical is apps/api (the hosted hub). Running it (bun run dev:api from the repo root, or bun run dev from apps/api/) needs real API keys and the auth secret, so the dev script refuses to start without an infisical login.
You can still contribute to the API schema without Infisical access. From apps/api/:
| Script | What it does |
|---|---|
bun run db:generate | Generate a migration from schema files (no database touched) |
bun run db:push:local | Push the schema to your local Postgres |
bun run db:studio:local | Open Drizzle Studio against your local Postgres |
Write the migration, push it locally, open a PR. A maintainer with Infisical prod access applies it via bun run db:migrate:remote.
The convention in one line: :local works on a fresh clone, :remote wraps with infisical run --env=prod and is admin-only. See docs/articles/local-remote-script-convention.md for the full story.
Development Workflow
-
Create a branch for your feature or fix
git checkout -b feat/your-feature-name -
Make your changes following our coding standards (see below)
-
Test your changes thoroughly
# Run tests if available bun test -
Commit using conventional commits
git commit -m "feat(whispering): add new feature" -
Push and create a pull request
git push origin feat/your-feature-nameCreate a PR to merge your fork's branch into
EpicenterHQ/epicenter:main: Go to EpicenterHQ/epicenter — GitHub usually shows a "Compare & pull request" banner for recent pushes.
Changelog Entries
Every PR with a feat: or fix: prefix should include a ## Changelog section in the PR description. These entries get aggregated into GitHub Releases automatically.
Write one line per user-visible change, in imperative mood, for end users—not developers. The person who wrote the code is always best positioned to describe what it does.
Good entries:
- Add Bun sidecar for local workspace sync
- Fix audio clipping when switching transcription providers mid-session
Bad entries:
- refactor(services): flatten isomorphic/ to services root
- Update deps
Internal-only PRs (chore:, refactor:, docs:) should omit the ## Changelog section entirely. They still get released but won't appear in the changelog.
Tips for new contributors
Keeping your fork updated
Before starting new work, sync with the main repo:
git fetch upstream
git checkout main
git merge upstream/main
Note: Add the upstream remote to sync with the main repo:
git remote add upstream https://github.com/EpicenterHQ/epicenter.git
If your PR has conflicts
Rebase your branch on the latest main:
git fetch upstream
git rebase upstream/main
Local Development: Testing the CLI
If you're working on Epicenter's CLI (packages/epicenter), you can test it locally without publishing using bun link.
One-Time Setup
Link the package globally from the package directory:
cd packages/epicenter
bun link
This makes the epicenter command available globally on your system, pointing to your local development version.
Using the CLI
Now you can use the epicenter command from any directory:
epicenter --help
The CLI will use your local development version, so any changes you make to the CLI code will be reflected immediately.
Unlinking
When you're done testing, you can unlink the package:
cd packages/epicenter
bun unlink
Releasing
This section is for maintainers with npm publish access to the @epicenter scope.
Prerequisites
- Bun installed (see above)
- An npm account with publish access to the
@epicenterscope npm logincompleted in your terminal
How versioning works
All seven public packages (@epicenter/workspace, @epicenter/cli, @epicenter/sync, @epicenter/filesystem, @epicenter/skills, @epicenter/ui, @epicenter/svelte) share a single version number. They move together.
Apps are completely separate from changesets. Changesets only touches packages that are (a) not marked "private": true and (b) listed under packages/. Every app in apps/ is "private": true and has its own deploy mechanism—changesets will never version or publish them. Whispering versions come from tauri.conf.json and git tags. Web apps deploy on push to main. See App deployments below.
We use changesets to track changes and publish. Never edit version fields in package.json by hand.
Adding a changeset
After making changes to any package, run this before committing:
bunx changeset
Select the affected packages, pick the semver bump (patch for fixes, minor for new features), and write a short summary. Commit the generated .changeset/*.md file with your code.
Publishing a release
# 1. Consume all pending changesets, bump versions, write CHANGELOGs
bunx changeset version
# 2. Commit
git add . && git commit -m "chore: release vX.Y.Z"
# 3. Publish to npm and create git tags
bunx changeset publish
# 4. Push
git push && git push --tags
App deployments
Apps deploy separately from npm packages:
- Whispering (desktop): Push a
v*tag.release.whispering.ymlbuilds for all four platforms and publishes a GitHub Release draft. - Web apps (Cloudflare Workers): Merge to
main.deploy.cloudflare.ymldeploys automatically.
See .github/workflows/README.md for the full workflow reference.
Coding Standards
TypeScript
- Use
typeinstead ofinterface - Prefer absolute imports over relative imports
- Use object method shorthand syntax when appropriate
Svelte
- We use Svelte 5 with the latest runes syntax
- Follow shadcn-svelte patterns for UI components
- Use Tailwind CSS for styling
Commits
We follow Conventional Commits:
feat: New featuresfix: Bug fixesdocs: Documentation changesrefactor: Code refactoringtest: Test additions or changeschore: Maintenance tasks
Examples:
feat(whispering): add model selection for OpenAI providersfix(sound): resolve audio import pathsdocs: update contribution guidelines
Troubleshooting
Version Mismatch Warning
If you see a warning about Bun version mismatch:
# Update to the latest Bun version
bun upgrade
# Or install the specific version mentioned in the warning
curl -fsSL https://bun.sh/install | bash -s "bun-v1.2.19"
Installation Issues
- Make sure you're in the repository root when running
bun install - Clear the cache if you encounter issues:
bun pm cache rm - On Windows, you may need to run your terminal as Administrator
Getting Help
- Discord: Join our community at go.epicenter.so/discord and DM me to get started contributing
- Issues: Check existing issues or create a new one
- Documentation: Each app has its own README with specific details
Licensing
Epicenter uses split licensing. Most packages and apps are MIT—contribute freely, no strings attached. The sync server (apps/api) and sync protocol (packages/sync) are AGPL-3.0. Contributions to either layer are welcome under their respective licenses.
See FINANCIAL_SUSTAINABILITY.md for the full reasoning behind the split.
Philosophy
We believe in:
- Local-first: Your data stays on your machine
- Open source: Everything is transparent and auditable
- User ownership: You own your data and choose your models
- Simplicity: Every change should be as simple as possible
What We're Looking For
- Bug fixes and improvements to existing features
- Performance optimizations
- Documentation improvements
- New features that align with our local-first philosophy
- UI/UX enhancements
Questions?
Feel free to:
- Open an issue for discussion
- Join our Discord and DM me directly to get started
Thank you for contributing to Epicenter! We're building something special together.