Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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?

Awesome Lists containing this project

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