A fast, keyboard-first, local-first time tracker for hourly billing. Log a workday in seconds, clone previous days, and export a monthly per-project report to PDF for invoicing. Distinctive cyberpunk "Night City" UI with two switchable skins.
Your data stays on your machine (SQLite). No accounts, no cloud, no telemetry.
- Month log timesheet with gaps highlighting and live totals (hours + amount).
- Smart time parsing (Clockify rules):
13-> 13:00,2330-> 23:30,9.45-> 09:45,1pm-> 13:00; durations1.5-> 1h 30m. - Keyboard-first composer:
Nnew day,Dclone last day,Entersave,Shift+Entersave + next day,Escclose. - Weekday default descriptions (e.g. weekdays prefilled with "Consulting").
- Always-on timer (start / pause / stop). Stop opens the composer pre-filled with project + from/to so you describe the work - nothing is logged silently.
- Projects & companies CRUD, per-project hourly rate + currency (EUR / PLN / USD / GBP).
- Reports: a Summary view (per-day bar chart + by-project breakdown + totals) and a Detailed table; date presets + custom range + project filter; CSV and print-to-PDF export (invoice-style header, correct Polish diacritics).
- Invoice issuer profile (name, company, VAT, address, IBAN, email) stamped on the report + PDF.
- Two skins: Slab (yellow) and Terminal (dark), switch in Settings.
Requirements: Node >= 20.
git clone https://github.com/przemokam/BillTime && cd BillTime
npm install
cp .env.example .env # DATABASE_URL="file:./dev.db"
npm run db:migrate # create the SQLite schema
npm run db:seed # optional: sample data
npm run dev # http://localhost:3000 (use `npm run dev -- -p 3001` to change the port)Requirements: Docker.
git clone https://github.com/przemokam/BillTime && cd BillTime
docker compose up -d --build # http://localhost:3939- Security: BillTime has no authentication (single-user, local-first). The container binds to
127.0.0.1only, so it is reachable just from the host machine. Do not expose it on a public IP without putting it behind a reverse proxy with auth (e.g. Nginx + Basic Auth) or a VPN/Tailscale - otherwise anyone who can reach the port sees and edits all your data. - One shared database: the container bind-mounts the repo's
./prisma, so Docker andnpm run devuse the sameprisma/dev.db. Run only one at a time (two writers on one SQLite file can clash). Backup: copyprisma/dev.db. - Port:
127.0.0.1:3939-> container3000(localhost-only; chosen to avoid clashing with other containers). Change the mapping indocker-compose.yml. - Timezone: defaults to UTC. Set
TZ(e.g.TZ=Europe/Warsaw docker compose up -d) so "today" and report ranges match your local day. - Migrations run automatically on container start.
- Update:
git pull && docker compose up -d --build. Stop:docker compose down(your data stays inprisma/dev.db).
Next.js 16 (App Router, Server Components + Server Actions) · TypeScript (strict) · Prisma ORM + SQLite (schema written to swap to PostgreSQL via a datasource change) · Tailwind CSS 3 · Zod at I/O boundaries · date-fns.
Data model: Company -> Project (rate, currency, color) -> TimeEntry; Setting (key/value: currency, skin, issuer profile, ...), WeekdayDefault, ActiveTimer. Money is stored as integer cents; dates as YYYY-MM-DD; times as minutes-from-midnight (no timezone bugs).
npm run dev # local dev server
npm run build # production build
npm run start # serve the production build
npm run typecheck # tsc --noEmit
npm test # run unit tests (Vitest)
npm run db:migrate # apply Prisma migrations (dev)
npm run db:seed # seed sample dataSee LICENSE.
Built by przemokam (TryHard3r).