a time tracker to avoid slacking (firefox plugin)
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Latest commit 930b533 Feb 4, 2015
Permalink
Failed to load latest commit information.
data fixes Feb 4, 2015
lib added graph, time sucks... Feb 4, 2015
test first commit Feb 1, 2015
.gitignore storing data across sessions work Feb 2, 2015
README.md removed subdomains in get_host() Feb 4, 2015
firefoxtimetracker.xpi fixes Feb 4, 2015
package.json added stats html page Feb 2, 2015

README.md

FirefoxTimeTracker

I always thought I could reduce the amount of time slacking if I could track my time on facebook, reddit, hackernews... like tracking calories intake to reduce weight. I couldn't find a good firefox plugin for that so I decided to make one.

How to use it?

Open the file FirefoxTimeTracker.xpi with Firefox (Ctrl+O).

Remember to come back here often to check if the plugin has been updated. It is still a beta but it works.

You will see a "firefox" icon (for the moment):

firefoxtimetracker

Clicking on it will bring you to a new page displaying you basic statistics on your day

firefox time tracker

The thinking behind it

what not to log?

Whenever Firefox is not in the foreground nothing will get logged. The plugin also monitor for mouse movement and keys being pressed, if none of them are actively used for more than 2 minutes then the user is assumed inactive and we stop logging.

To Do List

UI

  • better icon
  • display quick view of logs when hovering the icon

SYNC

  • sync the logs with firefox sync (easy?)

track days?

The plugin actually tracks periods starting and stopping at midnight. I am thinking of changing that to 6 or 7am.

Track time correctly

  • do we really need to save every 5 seconds? -> maybe we should stop this and only save when we switch tab.

  • idling stops logging if user doesn't move his mouse or touch his keyboard for more than 10 minutes. How do we avoid this if he is watching a youtube video for example. Solutions? Add a whitelist (youtube, dailymotion...) or/and increase the time before idling.

Graphs

  • make beautiful graphs .

Storage

  • save info online? on user's disk?
  • remove old logs when quota is reached! (reduceLogs not coded)
  • when a new day is created, reduce the list of the previous day (so we should keep a track of what was the "previous day")