Skip to main content

PyPI Python License

manualwakatime

Manual WakaTime tracker with a live terminal UI.
Sends heartbeats every 60 seconds while you work — no editor plugin required.

Works with the official WakaTime API and compatible backends like Hackatime.

┌──────────────────────────────────────────────┐
│                  Tracking                    │
│                                              │
│     Project:    my-awesome-project           │
│     Elapsed:    00:12:35                     │
│     Heartbeats: 12                           │
│     Last beat:  23s ago                      │
│     Status:     ● Running                    │
│                                              │
├──────────────────────────────────────────────┤
│     Press q or Ctrl+C to stop                │
└──────────────────────────────────────────────┘

Why?

Sometimes you aren't writing code in an editor. Maybe you're:

  • Reviewing PRs in a browser
  • Designing in Figma
  • Writing docs in Notion
  • Pair programming over a call

manualwakatime lets you track any activity as a WakaTime project with a single command. Fire and forget.

Install

pip install manualwakatime

Requires Python 3.8+.

Quick start

mwt start my-project

A fullscreen TUI opens. Heartbeats are sent every 60 seconds. Press q or Ctrl+C when you're done, and a summary prints:

  Stopped  Tracked 01:23:45  83 heartbeat(s) sent.

No project name? Run mwt start — it shows your recent projects and lets you pick one by number or type a new name.

Commands

mwt start <project>    Start tracking a project
mwt start              Pick from recent projects interactively
mwt projects           List all tracked projects
mwt config             Show API key / URL status
mwt --help             Show help

Configuration

API credentials are read from (highest priority first):

Source Variable
Environment WAKATIME_API_KEY
Environment WAKATIME_API_URL
WakaTime config ~/.wakatime.cfg → api_key
WakaTime config ~/.wakatime.cfg → api_url

If no api_url is set, it defaults to https://api.wakatime.com/api/v1.

Example ~/.wakatime.cfg

[settings]
api_key = waka_your_api_key_here
api_url = https://api.wakatime.com/api/v1

Get your API key at wakatime.com/settings/api-key.

How it works

  1. On startup, mwt reads your API key and URL from config or environment.
  2. A background thread sends a heartbeat every 60 seconds.
  3. The TUI refreshes 8 times per second, showing elapsed time, heartbeat count, and status.
  4. Press q or Ctrl+C to stop cleanly — the alternate screen restores your terminal.

Project history is saved locally to %APPDATA%/mwt/projects.json (Windows) or ~/.config/mwt/projects.json (Linux/macOS).

License

MIT

Metadata

Release files for manualwakatimetracker 0.2.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 manualwakatimetracker 0.2.0
File Size Uploaded Provenance Actions
manualwakatimetracker-0.2.0.tar.gz 8.4 kB Without provenance Details for manualwakatimetracker-0.2.0.tar.gz

Built distribution (wheel)

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

Total release size: 17.2 kB

Release files / manualwakatimetracker-0.2.0.tar.gz

Download URL manualwakatimetracker-0.2.0.tar.gz
Size 8.4 kB
Tags Source
SHA-256 checksum
How to use checksums
3fdee63bd726a35c88fabafb951423acbec8d9b89bd5a7197546e2772ff17765
BLAKE2b-256 checksum
How to use checksums
cc0884710aa9e34c2160ec7208976db532b4c0faea0404e7fc2a099289328966
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release files / manualwakatimetracker-0.2.0-py3-none-any.whl

Download URL manualwakatimetracker-0.2.0-py3-none-any.whl
Size 8.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d987b03d456a0884fe6db7931825d23e8c2ec58d229d31946b07a6d086df544c
BLAKE2b-256 checksum
How to use checksums
a626eca61723c2604eb750a06d0e871699b5f43da8a7059db53dcf8106632674
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Security for manualwakatimetracker 0.2.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