Skip to content
MABFLOWPublic

About

A single-file, color-coded CLI task manager for juggling multiple projects — no external app, no server, no account.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

tm

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

Install

curl -o ~/bin/tm https://raw.githubusercontent.com/<your-username>/tm/main/tm
chmod +x ~/bin/tm

Make sure ~/bin (or wherever you put it) is on your PATH.

Requires Python 3.10+ and click:

pip install click --break-system-packages

No other dependencies — everything else is stdlib (sqlite3, pathlib, datetime).

Usage

# 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 date formats

--due accepts:

  • YYYY-MM-DD
  • today
  • tomorrow
  • <N>d — N days from now, e.g. 3d

Output

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.

Data

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.

Why not just use Taskwarrior / Notion / etc.?

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.

License

MIT — see LICENSE.

About

A single-file, color-coded CLI task manager for juggling multiple projects — no external app, no server, no account.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages