Skip to main content

clickdust

Your Claude Code sessions grow an ink forest: a tree for each session, a new scene each month. Drag the sun to travel through the year.

A month of sessions as a maple forest

All pictures here use made-up data (clickdust landscape --demo).

How to read it

In the picture Comes from
Tree one Claude Code session
Name made up from a hash of the session; the title reflects its shape (the Boomerang, the One-Liner)
Limb a day you worked in that session; a new one grows from the fork each time you come back, in lighter bark
Cloud of leaves one message you sent, on the limb of its day
Red leaves your side: 3 + 4 × √(typed ÷ 100) for each message
Gold leaves Claude: 2 × √(output tokens ÷ 1,000) for each answer
Left to right day of the month
Trees, sky, ground the season of the month: winter plum, cherry, willow, maple
Near and large bigger sessions; small ones form the distant treeline
Dark mountains your typing per day
Gold mountains behind Claude's output tokens per day; each range is scaled to its own busiest day of the month
Sun high in summer, low in winter; its flares are long pointer movements, each pointing the way you moved (months before tracking began have none)
Snow, rain, glow, falling leaves weather for the season: decoration, not data
Dry leaves mouse clicks that day
Bird a day with 55 minutes of messages, no pause over 15
Deer a weekend without a message
Owl lives in the tree whose session had a message between midnight and 5 am, on that day's limb; open the tree to meet it

Typed is the key presses counted in the five minutes before a message. Where the tracker saw none, it is the length of the message (long pastes capped at 2,000).

Explore

One tree with its history

Growth never moves what is already there: a tree keeps its shape as messages arrive, and its wood thickens. Where it stands in the forest can change as bigger sessions arrive.

Move Mouse / trackpad Keys
Open a tree click it, or its dot under the picture ← → or h l
Reach a tree behind scroll while pointing at it, or hover its dot b
Travel drag, or two fingers sideways
Zoom pinch, double-click, + − buttons + - 0
Change month drag the sun, flick it, or scroll on it ↑ ↓ or k j
Play the month ▶ button, or drag the time line Space
Close a tree ✕ Esc

Auto shows ink by day and dusk by night. Sound plays a tree: ticks for your leaves, notes for Claude's.

The same month at dusk

Install

uv tool install .        # or: pipx install .
clickdust landscape --demo --open     # look first; records nothing

Start

Step Command
1 clickdust landscape --open trees from your existing Claude Code logs, straight away
2 clickdust doctor --request allow your terminal under System Settings → Privacy & Security → Input Monitoring, then reopen it
3 clickdust probe 30-second live test; says why anything is missing, saves nothing
4 clickdust start record keys and pointer, and keep saving session numbers
5 clickdust status today's counts and how many trees are saved

Keep it running. Claude Code deletes session logs after 30 days (its cleanupPeriodDays setting). clickdust copies the numbers every 15 minutes while it runs, and whenever you run landscape, publish or harvest. Recording does not restart after a reboot or logout.

Upgrading: clickdust stop && uv tool install --reinstall . && clickdust start

Option Effect
start --no-claude do not read Claude Code logs (also on landscape, publish)
start --no-keys, --no-trail leave out key counts or cursor movement
landscape --trees maple maple all year (default: a tree for each season); also on publish
--south southern hemisphere seasons

Put it on your website

clickdust publish --site ~/path/to/your-site        # writes your-site/forest/
up to last Sunday ──▶ reduced ──▶ forest/ ──▶ you review ──▶ git commit + push

publish only writes files and prints the git commands. It never runs git, never includes the current week, and never deletes months already there. The folder is plain static files, so GitHub Pages (including Jekyll) serves it at /forest/. Add a menu link yourself, or frame it in one of your pages.

In the public files Left out
each tree's day, red and gold leaves for each message, message order, which days had a message after midnight clock times, typed and token counts for each tree
typing per day, rounded to 500; Claude's output tokens per day, rounded to 5,000 active minutes, compactions, helper agents
dry leaves per day, sun flares as direction and distance (rounded, no screen position), animal days session ids, prompts, replies, titles, project names

Leaf counts follow the equation, so a reader can estimate the size of a message or answer, and sees which days you were active and how much.

Publish every week by itself (macOS)

publish only writes files. autopublish is the one command that runs git: it pulls your site, publishes the finished week, commits only the forest folder and pushes. It refuses to run if the site is not on the Pages branch.

clickdust schedule --site ~/path/to/you.github.io     # every Monday at 09:00 (a missed run happens when the Mac wakes)
clickdust autopublish --site ~/path/to/you.github.io  # the same job, once, right now
clickdust schedule --remove                            # stop it

The log is autopublish.log in the clickdust data folder. What goes public is the same reduced data as publish.

Privacy

Stored on your machine Never stored
click and cursor positions, time, button which keys you press, or their order
how many keys went down in each 10-second slot the text you type or Claude writes
device class: built-in or external window titles, application or project names, screenshots
for Claude Code: time and length of your messages, time and output tokens of replies, compactions, helper agents, a hash per session session titles, file paths
monitor rectangles
  • On macOS the key code is never read from the event; only whether it is an auto-repeat.
  • Keys are ignored while macOS Secure Input is on (password fields).
  • Session logs are read to count; message text is measured and discarded.
  • There is no network code. clickdust doctor prints where the database lives.
  • clickdust purge --all deletes the data, and older sessions are not read back in. Pages you already built or published stay as they are.

If this is a work computer, check that your employer allows input tracking and publishing activity data.

Platforms

Keys and clicks Claude Code logs
macOS event tap ~/.claude or CLAUDE_CONFIG_DIR
Windows through pynput, untested same, untested
Linux X11 through pynput, untested same, untested
Linux Wayland not supported works without the tracker

The log format is Claude Code's own and may change with its versions. Without Claude Code there are no trees.

Also included: single-day pictures

clickdust render --style dots|constellation|ripples|trails --open draws one day's pointer data as SVG.

Develop

uv venv && uv pip install -e '.[dev]' && .venv/bin/pytest
src/clickdust/
  backends/    OS input → sink calls (macos.py, hid.py, generic.py)
  tracker.py   recording loop          claude.py   session log numbers
  store.py     SQLite
  landscape/   model.py → export.py → site.py
  web/         the page: viewer.js, viewer.css, index.html
  render/      the single-day SVG styles

Metadata

Release files for clickdust 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for clickdust 0.4.0
File Size Uploaded Provenance Actions
clickdust-0.4.0.tar.gz 66.7 kB Without provenance Details for clickdust-0.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for clickdust 0.4.0
File Interpreter ABI Platform Actions
clickdust-0.4.0-py3-none-any.whl Python 3 none any Details for clickdust-0.4.0-py3-none-any.whl

Total release size: 136.7 kB

Release files / clickdust-0.4.0.tar.gz

Download URL clickdust-0.4.0.tar.gz
Size 66.7 kB
Tags Source
SHA-256 checksum
How to use checksums
b804e508841e20ab11a338dbe46eb816d5b4292d4ff7ef3b42bf45ef1646721f
BLAKE2b-256 checksum
How to use checksums
eee776e4f05f102f17bbc378c5e851ade6bd7f68bb4e0cd4da59a1e720df27b4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.13 {"installer":{"name":"uv","version":"0.12.13","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / clickdust-0.4.0-py3-none-any.whl

Download URL clickdust-0.4.0-py3-none-any.whl
Size 70.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
292fbd2edafe33c9011753345eb39691a1e8ae409345741a7f758071d6306fac
BLAKE2b-256 checksum
How to use checksums
8543e223cce6073a4404f6bc95282cc70b32173e315036dcf95e14887812a15b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.13 {"installer":{"name":"uv","version":"0.12.13","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for clickdust 0.4.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page