| Crates.io | kitmap |
| lib.rs | kitmap |
| version | 0.1.0 |
| created_at | 2026-01-17 12:46:32.726344+00 |
| updated_at | 2026-01-17 12:46:32.726344+00 |
| description | A cross-platform CLI for tracking keyboard usage and generating heatmaps and statistics |
| homepage | https://github.com/twlite/kitmap |
| repository | https://github.com/twlite/kitmap |
| max_upload_size | |
| id | 2050393 |
| size | 2,543,253 |
A cross-platform CLI for tracking keyboard usage and generating beautiful heatmaps and statistics, built with Rust and React.

Listen Command (kitmap listen) - Records all key presses system-wide
Preview Command (kitmap preview) - View your keyboard statistics
--web flag)Reset Command (kitmap reset) - Clear all recorded data
You can share your kitmap stats with others by generating a shareable image from the web ui. Here's a preview of the shareable image:

sudo apt-get install libx11-dev libxi-dev libxtst-dev
Kitmap does not currently provide pre-built binaries. To install the CLI, use cargo:
cargo install kitmap
# Clone the repository
git clone https://github.com/twlite/kitmap.git
cd kitmap
# Build the web UI
cd web
npm install
npm run build
cd ..
# Build the Rust CLI
cargo build --release
# The binary will be at ./target/release/kitmap
# Start listening to keyboard events
kitmap listen
Press Ctrl+C to stop recording. All data is saved to a local SQLite database.
# ASCII heatmap in terminal
kitmap preview
# Web-based visualization
kitmap preview --web
# Custom port for web server
kitmap preview --web --port 8080
# Clear all recorded data (with confirmation)
kitmap reset
# Force reset without confirmation
kitmap reset --force
The web dashboard (kitmap preview --web) provides:
KitMap works on:
clap - CLI argument parsingrdev - Cross-platform keyboard event listeningrusqlite - SQLite databaseaxum - Web server for dashboardtokio - Async runtimechrono - Date/time handlingserde - SerializationAll keyboard data is stored locally in a SQLite database in your user data directory:
~/.local/share/kitmap/kitmap.db~/Library/Application Support/com.twilight.kitmap/kitmap.dbC:\Users\<User>\AppData\Roaming\twilight\kitmap\kitmap.dbNo data is ever sent to any server. Your keystrokes stay on your machine.
You can also use the kitmap db command to show the database path.
MIT License - see LICENSE for details.