Contributor setup
Run a checkout, make a change, and check it locally.
Thanks for helping. Sevnly is a calm, open-source weekly planner, and contributions of every size are welcome: code, docs, translations, themes, pixel-art avatars, bug reports with steps to reproduce.
Status: early. The plan lives in PLAN.md; most apps are still being scaffolded (milestones in §19). Small, focused PRs that move a milestone forward are the most useful right now.
Before you start
- Read the Code of Conduct. Be kind.
- For anything bigger than a small fix, open an issue or a Discussion first so we can agree on the approach. You can also email ideas to
[email protected]with[Idea]in the subject. - Security problems: don't open a public issue. See SECURITY.md.
Setup (about 5 minutes)
You need Node 24, pnpm 10, Docker, and (only for the native apps) Rust stable + the Tauri 2 prerequisites.
git clone https://github.com/HippoDev03/Sevnly.git
cd Sevnly
cp .env.example .env
pnpm install
pnpm services:up # docker/docker-compose.yml: Postgres on localhost:5434, Mailpit on :8025
pnpm db:migrate
pnpm db:seed # verified dev account (login in .env: DEV_USER_*)
pnpm dev # web :4800, api :8787, collab :1234Native apps:
pnpm --filter native tauri dev # desktop
# iPhone / iPad: the native Swift app in apps/ios (needs Xcode), see PLAN.md §11.4Port 5434 is on purpose, so Sevnly doesn't clash with other Postgres containers on 5432/5433.
Repo map
| Path | What | License |
|---|---|---|
apps/web | Astro + React planner and website | AGPL-3.0 |
apps/api | Hono: REST, auth, remote MCP, jobs | AGPL-3.0 |
apps/collab | Hocuspocus (Yjs) server + projection | AGPL-3.0 |
apps/native | Tauri 2 desktop (Windows, macOS, Linux) | AGPL-3.0 |
apps/docs | Fumadocs site | AGPL-3.0 |
apps/mcp | @sevnly/mcp stdio CLI | MIT |
apps/claude-plugin | Claude Code plugin (MCP config + skill) | MIT |
packages/core | Y.Doc schema, task ops, recurrence, permissions, audit | AGPL-3.0 |
packages/db, auth, ui, config | Drizzle schema, Better Auth config, components, shared config | AGPL-3.0 |
packages/mcp-tools, themes, i18n | Reusable pieces | MIT |
How it fits together: docs/architecture.md.
Code conventions
- TypeScript config: every package extends a preset from
packages/config/tsconfig/:node.jsonfor servers, CLIs and packages Node runs directly (api, collab, mcp, db, core…),react.jsonfor the Astro/React UI. Both build on the strictbase.json. Don't loosen strictness per package. - No build step for Node code: Node 24 runs
.tsfiles directly, so only use TypeScript syntax Node can strip (erasableSyntaxOnly: noenum,namespaceor constructor parameter properties) and write imports with the.tsextension. - Imports inside a package use the
#/alias forsrc/:import { createApp } from "#/app.ts"(defined in each package'spackage.json"imports", which Node, TypeScript and Vitest all understand; tsconfigpathswould not work at runtime). Imports between packages use the package name:import { createDb } from "@sevnly/db".
Workflow
- Fork, then create a branch from
main:feat/<short-name>,fix/<short-name>,docs/…,i18n/<locale>,theme/<name>,chore/…
- Make your change. Keep PRs small and about one thing.
- Run the checks:
pnpm check # everything CI runs: Biome + typecheck + tests pnpm lint # Biome pnpm typecheck pnpm test # Vitest pnpm e2e # Playwright (when you touched UI) cargo clippy # only if you touched apps/native - Commit with Conventional Commits:
feat(web): add month view week column,fix(api): reject expired invite tokens,docs: explain rollover. - If your PR changes behavior, add a changeset:
pnpm changeset(which part, patch/minor/major, one user-facing sentence). PRs are squash-merged, so the PR title must be a Conventional Commit. Releases and tags are made by the release workflow, never by hand (see PLAN.md §16.1). - Open the PR and fill in the template. The first time, the CLA Assistant bot comments with a link to sign the CLA: sign in with GitHub and click "I agree" (once, for all future PRs).
What reviewers look for
- It works, and there's a test for any new logic (a branch, a parser, anything touching security or data).
- No secrets, no tracking, no new network calls to third parties.
- Every user-facing string goes through
t()(see below). - Accessible: keyboard works, labels exist, contrast passes.
- Security-sensitive code (
packages/auth,packages/core, anything touching tokens, permissions, uploads or outbound requests) needs a review from a code owner.
AI-assisted contributions
Welcome. Sevnly itself is built in collaboration with Claude. The rules:
- You understand and have tested everything you submit. "The AI wrote it" is not an explanation in review.
- Say in the PR description which parts were AI-assisted.
- Commits may include a
Co-Authored-By:trailer. - AI-written code is held to the same bar: security, tests, no unexplained code.
Common contributions
Translate Sevnly
See docs/translating.md. In short: copy packages/i18n/locales/en.yml to your locale, translate the values (keep keys and {placeholders}), run pnpm --filter @sevnly/i18n build, keep lore names (Sev, the Margin) as they are, and open a PR with the i18n label. CI fails if keys are missing.
Add an MCP tool
- Define it in
packages/mcp-toolswith a Zod input schema, a one-sentence English description, and its scope (read,writeoradmin). - Writes go through
packages/core(never raw SQL) so they reach every client live and get logged inagent_actionswith an undo entry. - Destructive or bulk tools ask for confirmation with elicitation.
- Add a Vitest test using the MCP SDK client, and document it in docs/mcp.md.
Make a theme
See docs/making-a-theme.md. pnpm theme:new my-theme, edit tokens, pnpm theme:check my-theme, open a PR with the theme label.
Draw avatar parts or presets
Pixel-art parts live in packages/core/avatar/parts.ts as 24×24 character grids. Keep to the palette and the 1-pixel outline style. Art must be original (or CC0).
Lore
New lore goes through a PR to docs/lore.md and must map to a real feature or moment.
Supporter for contributors
On the hosted sevnly.com, each merged PR that a maintainer labels supporter-eligible gives 12 months of Supporter (stacking up to 36 months). Meaningful work counts: code, docs, translations, themes, avatar art, accessibility fixes, bug fixes. Typo-only changes don't. After merge, a bot comments with a claim link; link your GitHub account in Settings → Supporter to receive it. See PLAN.md §3.27.
Labels
| Label | Meaning |
|---|---|
good first issue | Small, well-described, good for a first PR |
help wanted | We'd love outside help here |
bug, feature, docs | Type |
i18n, theme, mcp, native, web, api, collab, security | Area |
supporter-eligible | Merged PR earns Supporter time (maintainers apply it) |
needs-repro, needs-design, blocked | Status |
License
By contributing you agree your contribution is licensed under the license of the folder you changed (AGPL-3.0, or MIT for apps/mcp, packages/mcp-tools, packages/themes, packages/i18n), and you sign the CLA once.
Questions? Open a Discussion or email [email protected].