Firefox extension for time tracking
  • TypeScript 65.5%
  • CSS 22.7%
  • HTML 11.8%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-06-25 22:13:15 +05:30
icons manifest: add Firefox extension manifest and tomato SVG icon 2026-06-25 22:13:14 +05:30
src dashboard: implement stats aggregation and Chart.js integration 2026-06-25 22:13:14 +05:30
.gitignore vcs: add .gitignore and MIT license 2026-06-25 22:13:14 +05:30
chart.min.js dashboard: implement stats aggregation and Chart.js integration 2026-06-25 22:13:14 +05:30
LICENSE vcs: add .gitignore and MIT license 2026-06-25 22:13:14 +05:30
manifest.json manifest: add Firefox extension manifest and tomato SVG icon 2026-06-25 22:13:14 +05:30
package-lock.json build: add TypeScript configuration and xpi packaging script 2026-06-25 22:13:15 +05:30
package.json build: add TypeScript configuration and xpi packaging script 2026-06-25 22:13:15 +05:30
popup.css ui: implement popup interface layout and Catppuccin theme styling 2026-06-25 22:13:14 +05:30
popup.html ui: implement popup interface layout and Catppuccin theme styling 2026-06-25 22:13:14 +05:30
README.md docs: add project README.md 2026-06-25 22:13:15 +05:30
tsconfig.json build: add TypeScript configuration and xpi packaging script 2026-06-25 22:13:15 +05:30

BakaTime

Firefox WebExtension (MV3) that manages Pomodoro focus sessions and tracks active website usage. Shows historical analytics (Today, Yesterday, 7 Days, 30 Days) in a pie chart.

Features

  • Pomodoro Timer: Work/break intervals with browser notifications and countdown badges.
  • Active Tracker: Monitors time spent on websites. Automatically pauses when browser loses focus or goes idle.
  • Incognito Privacy: Tracks private browsing under a generic "Private Window" label.
  • Stats Dashboard: Toggle between Total Time/Focus Time; filter by timeframes (Today, Yesterday, Last 7/30 days).

Development

# Install dependencies
npm install

# Compile TypeScript to dist/
npm run build

# Compile and package extension to bakatime.xpi
npm run pack

How to Load in Firefox

  1. Open Firefox and go to about:debugging#/runtime/this-firefox.
  2. Click Load Temporary Add-on....
  3. Select manifest.json in the project root.