Skip to content

Desarso/web-activity-time-tracker

 
 

Repository files navigation

Web Activity Time Tracker Add to Chrome

⚠️⚠️⚠️ Important notice! The Chrome extension has been sold. So I am not responsible for any changes to the functionality of the extension. ⚠️⚠️⚠️

The new version is available on the Chrome Store https://chromewebstore.google.com/detail/timespy-block-websites-po/ggomgkmpcnmfhgmpfaphkbmnokllflom

Chrome Web Store Chrome Web Store Chrome Web Store

Microsoft Edge Store Microsoft Edge Store Microsoft Edge Store

Web Activity Time Tracker keeps track of how much time you spend on the web and presents the stats in a useful and intuitive way. You can set a daily visit limit for sites and block it after the expiration of the limit.

The development version can sync activity across multiple browsers and devices through the backend in backend/. The shared backend target is https://tracker.gabrielmalek.com.

image image

You can see your daily stats.

image

And you can see your overall stats.

image

If you have suggestions or problems using the extension, please submit a bug or a feature request.

Chrome Web Store

Web Activity Time Tracker is available via the official Chrome Web Store.

Install as an extension from source

  1. Build the unpacked extension:
corepack pnpm@8.15.9 install
VITE_GOOGLE_OAUTH_CLIENT_ID=your-client-id.apps.googleusercontent.com \
corepack pnpm@8.15.9 exec vite build --mode development
  1. Open local browser extension pages:
corepack pnpm@8.15.9 open:extension-install
  1. In each Chromium browser, enable Developer mode.
  2. Click "Load unpacked".
  3. Select the dist directory from this repo.
  4. Enable "Allow in Incognito" if private-window tracking should be collected.

More detailed agent/handoff instructions are in docs/LOCAL_EXTENSION_INSTALL.md.

Run

Extension watch build:

corepack pnpm@8.15.9 dev

Local backend:

TRACKER_SESSION_SECRET=change-me \
GOOGLE_OAUTH_CLIENT_IDS=your-client-id.apps.googleusercontent.com \
corepack pnpm@8.15.9 backend

The extension defaults to https://tracker.gabrielmalek.com. Set VITE_SYNC_API_BASE_URL=http://localhost:8787 before building if you want a local-only test build.

Google login needs a Google OAuth Chrome Extension/Chrome App client for the stable local development extension ID:

bkiifobeblghdofgfbpakgoknebdkeec

Set VITE_GOOGLE_OAUTH_CLIENT_ID before building the extension and pass the same client ID in GOOGLE_OAUTH_CLIENT_IDS when starting the backend.

Backend deployment notes are in docs/TRACKER_BACKEND_DEPLOYMENT.md.

License

This work is licensed under an MIT License.

About

Chrome Extension that tracks and limits time you spent on sites

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Vue 54.2%
  • TypeScript 37.6%
  • CSS 7.0%
  • Other 1.2%