Skip to main content

GitHub forks GitHub stars

Habitrax

A terminal-based personal development tracker combining habit building, productivity, and introspection into one unified system.


What is Habitrax?

Habitrax is a CLI app designed to help you:

  • Track your tasks, productivity, and self-discipline
  • Reflect daily with randomized deep questions
  • Monitor progress using gamified stats and leveling
  • Build powerful habits using philosophies from:
    • Deep Work
    • Atomic Habits
    • Slight Edge
    • Think & Grow Rich
    • Shadow Work Journal

You don't just live life — you level through it.


Quickstart

git clone https://github.com/2kDarki/Habitrax.git 
cd Habitrax 
python run.py

or through pip:

pip install habitrax
Habitrax # or python -m hbx

Requires Python 3.10+ installed.

That's it — Habitrax runs out-of-the-box.


Philosophy

Most productivity apps force structure on you.
Habitrax does the opposite — it's a sandbox for your goals, actions, and reflections.

  • Every decision is a vote toward your future self
  • Every session is data, analyzed and visualized for self-awareness
  • You define your purpose, rules, and trajectory

Core Modules

  • Session Logging – Track tasks, time, focus, and productivity quality
  • Debrief – Daily introspection with randomized deep questions
  • Soul Work – Gratitude, philosophy, and "Slight Edge" voting
  • Status Window – Gamified dashboard for categories and missions
  • Notebook – Store insights, mantras, or journal entries
  • Statistics – Filter and visualize productivity trends
  • Missions – Self-defined goals with tracked completion
  • Coffer – Manually track your finances
  • Almanack – Define your chief aim and personal commandments

Why Terminal?

  • Built entirely on a smartphone as a learning project
  • No external dependencies or frameworks
  • Made for speed, clarity, and minimalism
  • Focus is on function, not flash — every feature serves personal growth

Tech Stack

  • Language: Python
  • Libraries: tuikit
  • Storage: JSON
  • Interface: Terminal-based, menu-driven

Folder Structure

Habitrax/
        ├── sreenshots/      ← Example screenshots
        ├── src/ 
            ├── Habitrax/    ← Shim
            └── hbx/         ← App source code
        ├── data/            ← Stored user data (JSON) 
        ├── pyproject.toml   ← Packaging configuration 
        ├── requirements.txt ← Empty (0 dependencies) 
        ├── run.py           ← Entry point 
        ├── README.md        ← You are here
        ├── LICENSE 
        └── .gitignore 

Screenshots

  1. Status Window Status Window
  2. Soul Work module Soul Work module
  3. Debrief questions Debrief questions
  4. Task logging view Task logging view

Data & Privacy

  • All user data is stored locally in JSON files
  • You can back up or migrate manually
  • Future versions may support encryption or SQLite (if you can, you may work on this)

Limitations

  • Minimal CLI interface — designed for speed and simplicity
  • No undo or in-app editing (by design)
  • Manual testing only — no automated tests yet

License

MIT License — Free to use, modify, or build upon. Mention appreciated if published or monetized.


About the Author

Self-taught dev passionate about programming and philosophy. Built this to not just track productivity — but to master the self.

Contributing to Habitrax

Thank you for considering contributing! Here's a simple workflow:

Getting Started

  1. Fork the repo
  2. Clone your fork:
git clone https://github.com/YOUR_USERNAME/Habitrax.git 
cd Habitrax
  • Create a branch for your changes: git checkout -b feat/my-feature
  • Make your changes (code, data, formatting)
  • Stage and commit:
    • git add .
    • git commit -m "Clear, short description"
  • Push your branch: git push origin feat/my-feature
  • Open a Pull Request (PR) on GitHub — describe your change clearly
  • Optional: add a minimal test in tests/

Code Style

  • Keep naming consistent with existing files
  • Minimal formatting: PEP8 recommended, but readability matters most
  • Comments welcome for clarity

Testing

  • There's no automated testing yet
  • Please run python run.py to make sure your changes don't break the app

Suggested First Contributions

Even if you've never seen the code before, here are 2 tasks anyone can try:

  • Improve Debrief Randomization – Add optional filters for categories
  • Add a CLI Shortcut

These tasks are small, self-contained, and won't break the core functionality.

Metadata

Release files for Habitrax 0.3.6

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

Source distribution (sdist)

Source distribution for Habitrax 0.3.6
File Size Uploaded
habitrax-0.3.6.tar.gz 1.5 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for Habitrax 0.3.6
File Interpreter ABI Platform
habitrax-0.3.6-py3-none-any.whl Python 3 none any Details

Total release size: 1.5 MB

Release files / habitrax-0.3.6.tar.gz

Download URL habitrax-0.3.6.tar.gz
Size 1.5 MB
Tags Source
SHA-256 checksum
How to use checksums
5e9319141da6855d5ed43c9aff1e2faa20ee991624a7dbe59609592c8b7c551d
BLAKE2b-256 checksum
How to use checksums
9122f914f4d86e979f0764fed17d9a6a9a7245eb4b842f856a47c742c17beb5e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 29, 2025.

Transparency log

Release files / habitrax-0.3.6-py3-none-any.whl

Download URL habitrax-0.3.6-py3-none-any.whl
Size 45.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b622721eb559f85a3582a2f5e16f19d9aaa62ec86ef4aad4938809941cfe9242
BLAKE2b-256 checksum
How to use checksums
9aa23a740f6825da7c8dd923cdc314aeea64b3ebf0af2828661e5c770debbda1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 29, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

0.3.6 This release

2 release files

0.3.5

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.1

2 release files

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