Skip to content
Hindsight
Esc
↑↓navigate↵open⌘Jpreview
On this page

Other editors

Editors with no Hindsight extension still count in two ways, through WakaTime plugins and through plain presence.

Editors without a Hindsight extension, like JetBrains IDEs or Sublime Text, can still count. There are two ways, and the second needs nothing from you.

Presence

While one of these apps is the focused window, your keyboard and mouse input counts as being there. Hindsight checks every 5 seconds which app owns the focused window and how long ago your last input was. Only a yes or no leaves the check, plus the app’s name if it’s on the known list. Which keys, what window title, and what’s on screen never do.

The known apps: Claude, OpenCode, Codex, VS Code, VSCodium, Cursor, Antigravity, Windsurf, Zed, Sublime Text, IntelliJ IDEA, PyCharm, WebStorm, RustRover, GoLand, CLion, and most terminals.

Presence on its own is weak. It keeps the attention window open, but it isn’t something you did to the work, so scrolling around doesn’t earn time for long. See watching.

Presence can’t be turned off. To change which apps count, set HINDSIGHT_AGENT_APPS to a comma-separated list of executable or app names. It replaces the default list. An app that isn’t on the known list still counts as presence, but the dashboard can’t name it.

WakaTime plugins

Plugins that speak WakaTime’s protocol can send the daemon heartbeats. Point the plugin’s config at the daemon:

# ~/.wakatime.cfg
[settings]
api_url = http://127.0.0.1:5292/api
api_key = <the contents of the daemon's local-token file>

The local-token file is in Hindsight’s data folder (%LOCALAPPDATA%\hackclub\hindsight\data on Windows). If you moved the daemon’s port with HINDSIGHT_PORT, use that port. The plugin’s key goes in as either a Bearer token or WakaTime’s Basic header, and the daemon accepts both. It only listens on 127.0.0.1.

A plugin pointed here sends its heartbeats here and not to WakaTime or Hackatime.

What each heartbeat becomes:

Heartbeat Becomes
A save, or lines you changed Editor activity, something you did
Opening a file or moving around in it Presence only
Category code reviewing A diff review
Category browsing, researching or learning, or a domain Browser research
Category ai coding Dropped, since the editor’s AI wrote it

The file or domain is hashed. A heartbeat more than 5 minutes in the future or 7 days old is refused, and a bulk request takes at most 1000. The daemon answers the status bar request too, with today’s total.

This route is a legacy one. Heartbeats can’t say how much you typed or which lines were yours, which the Hindsight extension reports. Prefer the extension where there is one (VS Code, Zed).

Writing your own

Anything that can run a command can report to Hindsight. hindsight-daemon emit --source <name> reads a hook payload on stdin, and the daemon’s local API takes events and editor reports. Adding an adapter has the details.

Was this page helpful?