A time tracker for solo contractors. One timer, a calendar, and invoicing — and deliberately nothing else.
Design system, schema, shared logic and the /api/v1/* route handlers —
including invoicing, payment details and PDF generation — are built and
covered by integration tests. The app sends no email: invoices are downloaded
and sent by the user from their own address.
The web app is complete: timer, calendar, clients, projects, settings, payment profiles, invoicing. The macOS menu bar app and the phone app run the timer — start, stop, task name, project — and nothing else.
docs/ setup, deploying, architecture, data model, API contract, design system
docs/design/samples/ committed renderer output
packages/
schema/ Zod schemas — the API contract
core/ duration, rates, timer, uuid, calendar,
invoice, payment, billing
design-tokens/ tokens.json -> CSS + TS + Swift (generated into dist/)
client/ the timer, writes and cache keys both apps share
apps/
web/ Next.js — the API layer
macos/ Swift menu bar app — the timer only
mobile/ Expo phone app — the timer only
supabase/migrations/
apps/mobile (Expo) is planned, not created.
pnpm tokens # generate CSS / TS / Swift from tokens.json
pnpm tokens:validate # assert the contrast contract (runs in CI)
pnpm --filter @stint/core test # pure logic, no database needed
pnpm --filter @stint/web dev
pnpm --filter @stint/web typecheck
pnpm --filter @stint/web sample:invoice # regenerate docs/design/samples/ and the chooser's
# samples in apps/web/src/components/template-thumbs/
./apps/macos/bundle.sh # build and install ~/Applications/Stint Local.appRun pnpm tokens first on a clean checkout: @stint/design-tokens resolves
through the generated dist/.
They exercise the real handlers against a real database, and the RLS suite
checks row isolation as a non-superuser authenticated role — two throwaway
databases on the local stack's Postgres, beside the seed:
pnpm db:setup # rebuilds both from this checkout's migrations
pnpm verify:db # both suites, then the schema checkdocs/local-dev.md has why there are two.
pnpm test:e2e is a fourth suite: Playwright against a real browser, needing
the local Supabase stack (pnpm dev:up) and the app (pnpm dev) already
running. It is deliberately outside verify:static and verify:db so a
browser download is not a prerequisite for the unit suites, and it signs in
for real through Mailpit rather than injecting a cookie. It is the only suite that sees cookies,
navigation, redirects and server components — see docs/local-dev.md.
- docs/architecture.md — the shape and why
- docs/data-model.md — schema and integrity rules
- docs/api.md — endpoint contract
- docs/macos.md — the menu bar app: building it, and which backend it talks to
- docs/mobile.md — the phone app: running it, its preview builds, and which backend it talks to
- docs/positioning.md — who this is for, what it competes with, what it costs
- The constitution — the bar every plan and PR is held to
- docs/sdlc.md — how work moves from an idea to production
- Issues labeled
bug— known faults
Copyright (C) 2026 Blake Eriks. Licensed under the GNU AGPL v3.0.
You may use, modify and self-host this freely. The one obligation that matters: if you run a modified version as a network service, you must publish your source — that is the difference between the AGPL and the GPL, and it is why this license was chosen.
Copyright is held solely by the author, so these terms bind everyone else and not the author. A commercial license, for anyone wanting to build on this without the source obligation, is available on request.