Skip to content
sanvithreddyyPublic

About

Menu-bar typing speed tracker for macOS. Local only.

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

84 Commits

Folders and files

Repository files navigation

Keypace icon

Keypace

How fast you really type, everywhere on your Mac.
A quiet menu-bar app that keeps every number on your machine.

Download for macOS · macOS 15 or later · Apple silicon and Intel

Keypace window with sidebar, Overview metrics, speed by day, weekday and hour heatmap, and apps

Keypace window with Keys selected in the sidebar, keyboard heatmap, corrected keys, key pairs and finger statistics

Menu-bar panel with today's average, live speed and speed by hour

What it shows

  • Live speed in the menu bar while you type, and a floating Live Metrics window.
  • Speed, corrections and typing time by day, hour, weekday, app, keyboard and layout, compared with the previous period.
  • A keyboard heatmap, your most corrected keys, slowest and fastest key pairs, and finger statistics.
  • Records and streaks.
  • Every key press counted, including quick replies too short to measure speed.

Sessions split on their own at pauses, app switches, keyboards and layouts. Keystrokes sent by other software, such as text expanders and automation, are left out. Keypace never stores what you type, only counts and timings.

Install

With Homebrew

brew tap sanvithreddyy/keypace
brew install keypace

Or in one command:

brew install sanvithreddyy/keypace/keypace

Homebrew installs the same release and opens it without the Open Anyway step. Allow Keypace under Input Monitoring when asked.

Updates

Keypace checks for a new version once a day and shows it in its window: an Update Available row at the top of the sidebar, with what changed and Update Now. Nothing installs until you press it. General → Updates has Check for Updates to look right away, and a switch for the daily check.

From the download

  1. Download Keypace-<version>.dmg from Releases and drag Keypace to Applications.
  2. Open Keypace. The first launch is blocked because the app isn't notarized: choose Open Anyway in System Settings → Privacy & Security. Each new version asks once.
  3. Allow Keypace under Input Monitoring when asked.

How it measures

Metric Definition
WPM characters that stayed (typed minus deleted again) ÷ 5, per minute of typing time
CPM characters that stayed, per minute of typing time
Keystrokes every key press, except held-key repeats, modifier-only presses, software-sent keys and excluded apps
KPM key presses within saved sessions, per minute of typing time
Corrections characters deleted again ÷ characters typed

Typing time leaves out pauses. A gap between keystrokes counts as typing when it's under four times your usual gap for that key pair (or that key, or overall), kept between 250 ms and 3 s. Before there's any history, gaps up to 600 ms count. The keystroke that starts a burst gets one usual gap, so short bursts aren't overstated.

Sessions end after 5 seconds without typing, or when you switch apps, keyboards or layouts. Speed ignores sessions under 25 characters, but their presses still count. Both limits are adjustable in Settings. Combined speed figures weight each session by its typing time.

The live number covers the last 8 seconds, with the same pause-filtered typing time as saved sessions, and clears 2 seconds after you stop.

Corrections, keys and devices in detail

Deletions only count when they remove characters typed in the same session and still right before the cursor. Deleting text that was already there, or after a click, arrow key or shortcut moved the cursor, is editing. Option-Delete uses temporary word-boundary categories, and word segmentation can differ by editor and language. Command-Delete is editing, because keyboard events can't reveal visual line wrapping. Corrections include deliberate rewrites, so the app calls them corrections rather than accuracy.

Each deletion is charged to the key whose character it removed. Key-pair timings cover consecutive characters whose gap counted as typing. Finger statistics assume touch-typing finger assignments. Shortcuts and navigation keys count toward keystrokes and per-key usage, even outside sessions; corrections, key-pair timings and all speed metrics come from sessions.

Press counts are stored by hour, and an hour counts whenever it overlaps the selected range. Sessions recorded before press counting existed keep their own character-key and Delete counts, with no gap or double counting at the changeover. Sessions saved before typing time was measured keep their original numbers: elapsed time and every backspace.

Keyboards are told apart by model and, when the keyboard reports one, a unique device ID or serial number. Two keyboards of the same model that report neither share one history.

Keystrokes from a physical keyboard arrive from the HID system with no posting process. Anything else (text expanders, automation, scripted typing) is counted separately as filtered input. Paste and AI autocomplete insert text without keystrokes, so they never count toward speed.

General Settings has a Capture row showing how often macOS paused the listener, key events that couldn't be read, and the most recent occurrence. Presses during a pause can't be counted.

Privacy

Keypace listens to key events without blocking or changing them. It classifies each press as a character, a deletion or another key, then discards the character. The database (~/Library/Application Support/Keypace/typing.sqlite) holds session times, app, keyboard and layout identifiers, per-session key and key-pair counts, hourly press and filtered-input counts, and each layout's key labels. Capture issue counts and dates are kept in local preferences. Nothing leaves the Mac.

Build from source

Requires macOS 15, Xcode 26 and XcodeGen (brew install xcodegen).

xcodegen generate
xcodebuild -project Keypace.xcodeproj -scheme Keypace -derivedDataPath build build
open build/Build/Products/Debug/Keypace.app

The project signs ad hoc by default. macOS ties Input Monitoring to the signature, so an ad hoc build asks again after every rebuild. To keep the permission, copy Config/Signing.local.example.xcconfig to Config/Signing.local.xcconfig and fill in your signing identity.

Test

scripts/test.sh        # engine tests, then app pipeline and screen tests
scripts/snapshots.sh   # renders every screen with sample history to build/snapshots

The app tests compile the app's code into the test bundle and run it with xctest directly, so they never launch the menu-bar app or touch real history.

Release

KEYPACE_SIGN_IDENTITY="Apple Development" scripts/release.sh --no-notarize

The signed DMG lands at build/release/Keypace-<version>.dmg. To ship a notarized DMG instead, which needs a paid Apple Developer membership, create a Developer ID Application certificate in Xcode → Settings → Accounts → Manage Certificates, store notarization credentials once, then run scripts/release.sh without arguments.

xcrun notarytool store-credentials keypace --apple-id <email> --team-id <team> --password <app-specific-password>

Set DEVELOPMENT_TEAM in Config/Signing.local.xcconfig (or KEYPACE_TEAM_ID). KEYPACE_SIGN_IDENTITY defaults to Developer ID Application and KEYPACE_NOTARY_PROFILE to keypace.

Every release also uploads appcast.xml, the feed the app checks. Write it after the DMG, with one - line per change in a notes file:

scripts/appcast.sh notes.txt > build/release/appcast.xml

It signs the DMG with the update key in the login keychain (Sparkle's generate_keys --account keypace); the public half is SPARKLE_PUBLIC_KEY in project.yml. Upload the DMG and appcast.xml to the same release. A release without appcast.xml breaks updates, since the app reads the latest release's.

Layout

Keypace/                 App target
  Capture/               Keyboard event tap, keyboard devices, input sources
  Tracking/              Session lifecycle, filtering, storage and settings
  Views/                 Menu-bar dropdown, main window pages, Live Metrics
  Support/               Formatting, labels and shared view data
  Updates/               In-app updates through Sparkle, with Keypace's own UI
KeypaceTests/            Pipeline and screen tests with sample history
Packages/KeypaceCore/    Session engine, storage, statistics, records, tests
Config/                  Signing configuration
scripts/                 Test, snapshot and release scripts
docs/                    Spec, roadmap, design mockups, README images

License

MIT

About

Menu-bar typing speed tracker for macOS. Local only.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages