Skip to content
KlectrPublic

About

Self-hostable time tracker: Bun + HTMX site, lightweight browser extension. A Toggl alternative you own.

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

zimer — timer → invoice

Zimer

Self-hostable time tracker, from timer to invoice. One Bun server, one SQLite file; your data never leaves the machine.

runtime: bun ui: htmx database: sqlite license: Elastic 2.0

Zimer timer page

Features

  • Timer: one-tap start/stop with a description and project, next to today's entries and your today / week / unbilled totals.
  • Calendar: a week grid in client colors. Drag to log, move, or resize time; on phones it becomes a day-by-day agenda.
  • Zinvoices: pick a period, edit line items, move each one draft → sent → paid, and download a PDF with your logo and payment details. Sent Zinvoices are frozen snapshots.
  • Public links: a read-only page per Zinvoice for your client, with an optional Stripe payment link.
  • Clients: hours this month, unbilled, outstanding, and last tracked in one table; billing, projects, and contact details in each client's dialog.
  • Non-billable time counts toward your day and week but never lands on a Zinvoice.
  • Time zones stick: 8–5 worked in California still reads 8–5 when you open Zimer in Florida.
  • Your data: one SQLite file, with full backup and CSV export from Settings.
  • Browser extension for Chrome, Edge, and Brave. No build step.
  • Works on phones, and checks a signed release feed for updates.
More screenshots (fictional demo data; the app ships with a one-click sample workspace)

Zimer calendar page Zimer Zinvoices page Zimer clients page Zimer client dialog

Zimer timer on a phone Zimer calendar agenda on a phone Zimer Zinvoices on a phone

Install

Needs Bun, curl, tar, and sha256sum.

curl -fsSL https://invoices.tristonarmstrong.com/releases/install.sh | bash

Installs to /opt/timekeep (needs root; set INSTALL_DIR to change it). Re-run the same command to update; your data, token, and start.sh are kept.

Or run from source:

bun run dev   # http://127.0.0.1:3000

The first run prints your API token. Save it: the login page and the extension both need it.

Config

Var Default What
PORT 3000 HTTP port
HOST 127.0.0.1 Bind address (localhost only by default)
DATA_DIR site/data Where timekeep.db and the token live
TIMEKEEP_TOKEN auto-generated Shared secret for the API and login
PUBLIC_BASE_URL request origin Base URL for shared Zinvoice links (set behind a proxy)
TZ system zone When "today" and "this week" start

If you host in a different time zone than you work in, set TZ (e.g. TZ=America/Chicago).

Back up timekeep.db in DATA_DIR; it's the entire app state.

Hosted, multi-account mode (HOSTED=1, Stripe billing, backups) is covered in docs/hosted-ops.md.

Browser extension

  1. Open chrome://extensions, enable Developer mode, click Load unpacked, and pick the extension/ folder.
  2. Click the Zimer icon, enter your site URL (e.g. http://localhost:3000) and API token, then Save.

Development

Bun only: no npm, npx, yarn, pnpm, or Docker.

bun run dev       # the app on :3000
bun run zandbox   # component workbench on :8935
bun test          # must pass with 0 failures

Start with AGENTS.md (rules and conventions), then:

License

Elastic License 2.0 © 2026 Triston Armstrong

Source-available, not open source. You can use, copy, modify, and redistribute Zimer, but you may not offer it to third parties as a hosted or managed service, circumvent its license-key functionality, or remove its licensing and copyright notices.

About

Self-hostable time tracker: Bun + HTMX site, lightweight browser extension. A Toggl alternative you own.

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages