Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dim13/gone
Where has my time gone?
https://github.com/dim13/gone
accounting golang time-tracking x11
Last synced: 5 days ago
JSON representation
Where has my time gone?
- Host: GitHub
- URL: https://github.com/dim13/gone
- Owner: dim13
- License: isc
- Created: 2014-06-05T14:29:09.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2023-03-02T22:31:42.000Z (over 1 year ago)
- Last Synced: 2024-08-01T12:23:40.186Z (3 months ago)
- Topics: accounting, golang, time-tracking, x11
- Language: Go
- Homepage:
- Size: 1.16 MB
- Stars: 49
- Watchers: 3
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-starred - dim13/gone - Where has my time gone? (golang)
README
Gone Time Tracker
=================[![Build](https://github.com/dim13/gone/workflows/build/badge.svg)](https://github.com/dim13/gone/actions)
Where has my time gone? X11 automatic work activity tracker in pure Go.
Synopsis
--------_Gone_ performs automatic time accounting on
[EWMH](https://specifications.freedesktop.org/wm-spec/latest/) capable Window
Managers by looking at _NET_ACTIVE_WINDOW atom and storing time spent on a
particular application._Gone_ is aware of ScreenSaver and suspends accounting if ScreenSaver triggers.
As fallback (see caveats) _gone_ also stops at user inactivity. The inactive
time is counted separated.Results are presented at [http://localhost:8001/](http://localhost:8001/)
Installation
------------go get github.com/dim13/gone
Caveats
-------* For _xmonad_ Window Manager _EwmhDesktop_ extension is required.
* _xscreensaver_ seems to ignore MIT-SCREEN-SAVER extension. Use xidle/xlock
instead and/or activate X11 ScreenSaver:xset s default
Alternatives
------------http://arbtt.nomeata.de/ - automatic, rule-based time tracker
Dockerize
---------docker run -ti --rm -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix dim13/gone