A tiny, local, color-coded CLI task manager for people juggling several projects at once — no external app, no account, no sync server.
Single file. Drop it on your PATH, chmod +x, and tm works from any
directory. Data lives in ~/.tm/tasks.db (SQLite).
tm — task manager
tm add "title" -p project add a task
tm list list pending tasks
tm next most urgent task
tm today due today / overdue
tm done <id> mark a task done
tm projects per-project summary
curl -o ~/bin/tm https://raw.githubusercontent.com/<your-username>/tm/main/tm
chmod +x ~/bin/tmMake sure ~/bin (or wherever you put it) is on your PATH.
Requires Python 3.10+ and click:
pip install click --break-system-packagesNo other dependencies — everything else is stdlib (sqlite3, pathlib,
datetime).
# Add a task
tm add "write API docs" -p website --pri H --due tomorrow
# List pending tasks (sorted by priority, then due date)
tm list
tm list -p website
tm list --pri H
tm list --overdue
tm list --due-before 2026-09-01
tm list --all # include completed tasks
# What should I do right now?
tm next
# What's due today (or overdue)?
tm today
# Everything for one project, grouped by priority
tm show website
# Mark done / delete / edit
tm done 3
tm rm 3
tm edit 3 --pri H --due 3d --title "new title"
# Per-project overview
tm projects--due accepts:
YYYY-MM-DDtodaytomorrow<N>d— N days from now, e.g.3d
Priority is color-coded (H = red, M = yellow, L = green), overdue tasks are flagged in red, tasks due today are flagged in yellow. Project names are cyan, ids and dates are gray.
Everything lives in a single SQLite file at ~/.tm/tasks.db. Back it up,
symlink it into a dotfiles repo, or point it elsewhere by editing
DB_PATH at the top of the script.
Nothing wrong with those — tm exists because it's ~300 lines you can
read end to end in five minutes, has zero moving parts beyond Python +
SQLite, and does exactly what one person juggling many parallel projects
needs: add, filter by project/priority/due date, and know what's next.
MIT — see LICENSE.