MCPcopy Index your code
hub / github.com/dim13/gone

github.com/dim13/gone @v1.2.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.2.0 ↗ · + Follow
52 symbols 88 edges 5 files 0 documented · 0% updated 6mo ago★ 521 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Gone Time Tracker

Build

Where has my time gone? X11 automatic work activity tracker in pure Go.

Synopsis

Gone performs automatic time accounting on EWMH capable Window Managers by looking at _NET_ACTIVE_WINDOW 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/

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

Extension points exported contracts — how you extend this code

Tracker (Interface)
(no doc)
xorg.go

Core symbols most depended-on inside this repo

atom
called by 4
xorg.go
property
called by 4
xorg.go
Close
called by 4
xorg.go
CachePath
called by 2
xdg.go
String
called by 2
gone.go
RemoveSince
called by 2
gone.go
Store
called by 2
gone.go
Update
called by 2
xorg.go

Shape

Method 29
Function 12
Struct 6
TypeAlias 4
Interface 1

Languages

Go100%

Modules by API surface

xorg.go18 symbols
http.go16 symbols
gone.go12 symbols
xdg_darwin.go3 symbols
xdg.go3 symbols

For agents

$ claude mcp add gone \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact