Self-hostable time tracker — timer → invoice. One Bun server, one SQLite file, your data never leaves the machine.
Table of contents
- Timer: one-tap start/stop with live elapsed time, a description, and a project. Your timer and today's entries sit side by side, with today, this week, and unbilled totals above them.
- Calendar: a week grid in your client colors. Drag to log time, click an entry to edit it. On phones it becomes a day-by-day agenda.
- Zinvoices: pick a billing period, edit the line items, and move each one draft → sent → paid. Download a clean PDF with your logo and payment instructions. Sent Zinvoices are frozen snapshots.
- Clients: one table with hours this month, unbilled, outstanding, and when you last tracked. Each client's dialog has Billing (rate, payment terms, color), Projects, and Contact tabs.
- Billable or not: uncheck Billable on an entry and it still counts toward your day and week, but never lands on a Zinvoice.
- Times stay where you worked them: each entry keeps the time zone it was logged in.
- Public Zinvoice links: a read-only page per Zinvoice your client can open, with an optional Stripe payment link.
- Your data: one SQLite file. Full backup and CSV exports from Settings.
- Browser extension: start and stop timers from the Chrome, Edge, or Brave toolbar. No build step.
- Check for updates in the app, from the signed release feed.
- Works on phones: a bottom tab bar, stacked cards, and the agenda calendar.
All screenshots use fictional demo data. The app ships with a one-click sample workspace.
Timer: today at a glance, the timer, and today's entries.
Calendar: the week in client colors, with per-day and per-client totals.
Zinvoices: outstanding, drafts, and paid this month, with a status chip that says what's next.
Clients: one row per client. Click a row to edit its billing, projects, and contact details.
On your phone
Needs Bun, curl, tar, sha256sum. Installs to /opt/timekeep (needs root; set INSTALL_DIR to change).
curl -fsSL https://invoices.tristonarmstrong.com/releases/install.sh | bash
# re-running the same command updates to the latest v1 release —
# data, token, and start.sh are preservedFrom source:
bun run ./site/server.ts
# -> http://127.0.0.1:3000First run prints your API token — save it; the login page and the extension both need it. Binds localhost only by default; set HOST/PORT to change that.
Chrome / Edge / Brave:
chrome://extensions→ enable Developer mode → "Load unpacked" → theextension/folder.- Click the Zimer icon → enter your site URL (e.g.
http://localhost:3000) and the API token → Save. - Start/stop timers from the popup. They show up on the site's calendar.
| Var | Default | What |
|---|---|---|
PORT |
3000 |
HTTP port |
HOST |
127.0.0.1 |
bind address |
DATA_DIR |
site/data |
SQLite file + token live here |
TIMEKEEP_TOKEN |
auto-generated | shared secret for API + login |
PUBLIC_BASE_URL |
request origin | base URL for shared Zinvoice links (set it behind a proxy) |
TZ |
system zone | decides when "today" starts; see Notes |
The hosted, multi-account mode (HOSTED=1, Stripe billing, backups) is configured separately; see docs/hosted-ops.md.
- Each entry keeps the time zone it was logged in, so 8–5 worked in California still reads 8–5 when you open Zimer in Florida. The server's time zone decides when "today" and "this week" start, so if you host on a VPS in another zone, set
TZfor the process (e.g.TZ=America/Chicago bun run ./site/server.ts). - Back up
timekeep.dbin yourDATA_DIR. That's the entire app state. Settings → Your data also downloads a full backup.
zimer/
├── AGENTS.md # the always-known rules: Bun-only, design, workflows
├── DESIGN.md # the design system: tokens, scales, component rules
├── PLAN.md # the plan: architecture, API contract, milestones
├── CHANGELOG.md # what's new, newest first
├── LICENSE # Elastic License 2.0 (source-available)
├── VERSION
├── install.sh # one-command install / updater
├── site/
│ ├── server.ts # entry: HTTP server + SQLite
│ ├── db.ts # schema + migrations
│ ├── pdf.ts # zero-dependency PDF writer
│ ├── stripe.ts # optional Stripe payment link on invoices
│ ├── routes/ # web.ts (HTMX pages), api.ts (JSON API)
│ ├── views/ # timer, calendar, invoices, manage, public pages
│ ├── ui/ # reusable components: tabs, list, fields, dialogs, ...
│ ├── lib/ # auth, revenue, icons, updates, ...
│ └── static/ # style.css, dialog.js, controls.js, ...
├── stories/ # Zandbox stories for the site/ui components
├── zandbox.config.ts # registers the stories
└── extension/ # Manifest V3, no build step: manifest.json, popup.html, popup.js, bg.js
Bun only — no npm/npx/yarn/pnpm/Docker.
bun run dev # the app on http://127.0.0.1:3000
bun run zandbox # the component workbench on http://127.0.0.1:8935
bun test # must finish with 0 failuresNew UI pieces are components in site/ui/ with a Zandbox story in stories/. Build and check them there before a page uses them.
Every change goes issue → early PR → test evidence → merge. See docs/workflow.md.
- AGENTS.md — architecture, hard rules, design philosophy, settled decisions, workflows
- DESIGN.md — the design system the UI follows: tokens, scales, components
- docs/design-system.md — the previous Material 3 spec, kept as history
- docs/hosted-ops.md — running the hosted, multi-account mode
- docs/workflow.md — the issue → PR change process
- PLAN.md — original plan: architecture, API contract, milestones
- CHANGELOG.md — release notes
Elastic License 2.0 © 2026 Triston Armstrong
Zimer is source-available, not open source. You can use, copy, modify, and redistribute it under the license terms — but you may not provide it to third parties as a hosted or managed service, circumvent its license-key functionality, or remove its licensing and copyright notices.







