Skip to content

About

A simple time tracker

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

⏱️ Time Tracker

A tiny, single-page time tracker. Open it on your phone, dictate what you're doing now, and it transcribes the activity with a timestamp. See an editable table of today's activities with start time and duration, and download the day as Markdown or PDF.

Live app: https://gergol.github.io/timetracker/

How it works

  • Dictate: Tap the mic and say what you're doing. Uses the browser's built-in Web Speech API — no accounts, no API keys, nothing leaves your device.
  • Or type: A text box adds an activity manually (useful where dictation isn't available).
  • Each entry is a moment you started something. Its duration runs until the next entry starts; the last entry of today counts up live.
  • Edit any start time or activity inline; delete with ✕. Clearing an activity's text deletes it.
  • Switch days with the date picker. Download the visible day as .md or .pdf.
  • Storage: everything lives in your browser's localStorage, per device.

Browser support for dictation

Voice dictation relies on the Web Speech API:

  • ✅ Chrome (Android & desktop) — works well.
  • ⚠️ iOS Safari — support is inconsistent across versions; if the mic doesn't work, type instead.
  • If unsupported, the app tells you and falls back to manual entry.

Everything else (table, editing, exports, storage) works in any modern browser.

Develop locally

It's plain static files — no build step:

python3 -m http.server 8000
# then open http://localhost:8000

Note: microphone access requires https:// or localhost. GitHub Pages serves HTTPS, so dictation works on the live URL.

Deploy

Hosted on GitHub Pages from the main branch root. Push to main and Pages redeploys.

Files

  • index.html — markup
  • style.css — styles (dark, mobile-first)
  • app.js — logic: STT, table, editing, exports, storage

PDF export uses jsPDF + AutoTable via CDN.

About

A simple time tracker

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages