Skip to content

sekkedev/trackhours

Repository files navigation

TrackHours

A personal work-hours tracker. Clock in/out, see weekly/monthly/yearly balance against expected hours, and mark vacation, sick, and holiday days.

Stack

  • Vite + React + TypeScript
  • Tailwind CSS
  • date-fns for date math
  • lucide-react for icons
  • All data is stored in the browser's localStorage — no server, no account.

Run

npm install
npm run dev

Then open the URL Vite prints (usually http://localhost:5173).

Build

npm run build
npm run preview

Features

  • Today — one-tap clock in/out with a live timer, plus today's sessions and a week balance pill.
  • Overview — week / month / year views with worked vs. expected bars and an over/undertime balance.
  • Entries — full history grouped by day, with add/edit/delete.
  • Leave — calendar to mark vacation, sick, and holiday days. Leave on a working day counts toward expected hours.
  • Settings — expected hours per week, working weekdays, annual vacation entitlement, week start, plus JSON export/import and reset.

About

Personal work-hours tracker with Norwegian holidays, flekstid bank, and PWA.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors