DEV Community

Gwynne Michele
Gwynne Michele Subscriber

Posted on

Command Line Habit Tracker - a Tiny Useful Project

After several weeks of following courses and tutorials, I dove into making something of my own. Something that would actually be useful for me right now.

A little command line habit tracker.

Nothing fancy. Written in python, with habit data stored in a json file.

There's a menu, you pick what you want to do, it does the thing, and the menu pops up again, repeating until you decide to exit.

A screenshot from terminal of the menu for a habit tracker made with python

It's not fancy - I do plan to add some styling, and also add a function for displaying streaks. I'm also looking forward to using my own private copy of it to actually track my habits, and eventually have enough data to play with in a Jupyter notebook.

It's not the sort of program that's ever going to become the next big trending app. It's just a bitty thing tailored to my own life and what I want to work on - daily habit tracking - done in terminal so that I can just quickly log my habits without the sort of context-switching that leads to distractions.

I'm a newbie coder and it's a newbie project, but still super satisfying when it worked!

GitHub logo GwynneMichele / command-line-habit-tracker

A basic command line habit tracker, built as a learning project. Something simple, but useful. For more info, check the README.

command-line-habit-tracker

Entry 1 - March 6, 2026

I'm a newbie programmer. I've been following courses and tutorials for game development and data analytics, and it's now time for me to move past tutorials into small, but useful, projects that I can develop from scratch with just a bit of AI assistance in the form of using Claude not to code for me, but to create tutorials for me to follow so that I can get more practice with thinking through how apps/games I develop should flow, building the logic and loops, getting the code working, and then gradually making improvments and adding new features.

This one is starting VERY basic. There's gonna be a menu, hard-coded list of habits, a basic JSON data structure, and the ability to add habits completed each day. Later versions will add more features, like being able to add and delete habits from the list…

Top comments (0)