Skip to content
jaack4Public

About

A vim-style CLI & TUI todo tracker with day-by-day history

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

18 Commits

Folders and files

Repository files navigation

tasker

A fast, keyboard-first, vim-style CLI & TUI todo tracker with day-by-day history.

CI Go Reference License: MIT


tasker lives in your terminal and stays out of your way. Organize tasks into color-coded workspaces, prioritize and track what you're actively working on with vim keybindings, and flip back day-by-day through a timeline of everything you've gotten done.

 tasker   Tasks   History [H]                  4 active · ▶ 1 wip · ✓ 3 today · ★ 5d streak
───────────────────────────────────────────────────────────────────────────────────────────
╭─ WORKSPACES ───────╮╭─ Work 3 ──────────────────────────╮╭─ DETAILS ────────────────────╮
│ ◈ All            4 ││ ▸ ▶ P1 Ship v1 release     1h 20m ││ Ship v1 release              │
│ ▸ ● Work         3 ││   ○ P2 Write benchmarks ≡   2h ago││                              │
│   ● Personal     1 ││   ⊘ P3 Fix CI flake         1d ago││ Status     ▶ In Progress     │
│   ● Inbox        0 ││                                   ││ Priority   P1 Urgent         │
│                    ││                                   ││ Workspace  ● Work            │
│ W new workspace    ││                                   ││ Started    Dec 1, 18:40      │
╰────────────────────╯╰───────────────────────────────────╯╰──────────────────────────────╯
 a add · s start · x done · 1-4 prio · S status · m move · c completed · H history · ? help

Features

  • Vim-first interactive TUI — Modal navigation (j/k, h/l, gg/G, dd, /, :, ?) built with Bubble Tea and Lip Gloss, with 8 built-in adaptive light/dark themes (T to live-preview & switch).
  • Day-by-day history (H) — Browse past days with a horizontal calendar ribbon, jump straight between active days (p/n), filter by workspace (w), and toggle between completed wins and full daily activity (f).
  • Color-coded workspaces — Group tasks into flat workspaces (Inbox + custom folders with selectable accent colors). Deleting a workspace safely moves its tasks to Inbox so history is never lost.
  • Statuses, priorities & durations — Todo, In Progress, Blocked, Done, and Cancelled; P1–P4 priorities; multi-line notes; and inline elapsed/completion durations.
  • Sticky notes (N) — A separate Notes view for things worth keeping that never need doing: ideas, links, snippets. Notes live in your workspaces, have no status or priority, and stay until you delete them (dd, with u to undo).
  • Background timers & pomodoro — Start a stopwatch (t) or pomodoro (p) on a task and get back to work. The timer lives in the database, so it keeps running after you quit the TUI, shows live in the header, logs focused time per task and per day, and sends a desktop notification when a session or break ends.
  • Quick CLI subcommands — Add, list, inspect, start, complete, and query daily history straight from your shell, with --json output for scripting.
  • Zero-dependency SQLite storage — Pure-Go SQLite (modernc.org/sqlite) with WAL mode and an append-only task_events audit log. No C compiler or external server required.

Installation

With go install

go install github.com/jaack4/tasker/cmd/tasker@latest

Build from source

git clone https://github.com/jaack4/tasker.git
cd tasker
make build      # outputs ./tasker
make install    # installs to ~/.local/bin (override with BINDIR=/path)

Usage

Run tasker with no arguments to launch the interactive TUI:

tasker

Quick CLI Commands

# Capture & update tasks
tasker add "Ship v1 release" -w Work --create-ws -p urgent --start
tasker add "Buy coffee beans" -w Personal --create-ws -p low
tasker ls
tasker ls -w Work -p urgent --json
tasker show 1
tasker start 2
tasker done 1
tasker status 2 blocked
tasker prio 2 high
tasker mv 2 Inbox
tasker edit 2 --title "Write benchmarks" --notes "cover the hot path"
tasker rm 2                      # Deletes the task (restorable for 7 days)
tasker restore 2                 # Brings a deleted task back with its history

# Look back at what you got done
tasker history                   # Today's completed tasks
tasker history yesterday         # Yesterday's completed tasks
tasker history 3d -a             # 3 days ago, including started & created activity
tasker history 2026-11-30 -d 7   # 7-day digest
tasker history today --json      # JSON output

# Time a task in the background
tasker timer start 2             # Stopwatch (also marks the task In Progress)
tasker timer start 2 --pomo      # Pomodoro: 25m focus / 5m break, long break every 4
tasker timer start 2 --focus 50 --break 10
tasker timer status              # Live clock, phase, and time tracked on the task
tasker timer status --short      # One plain line (empty when idle) for tmux / shell prompts
tasker timer pause               # ...and `resume`, `skip` (next pomodoro phase)
tasker timer stop --done         # Log the time and mark the task Done
tasker timer stop --discard      # Stop without logging this session's time
tasker timer config --focus 50 --break 10   # Change default pomodoro lengths

# Sticky notes: things to keep, not things to do
tasker note add "Gift ideas: a book, warm socks"
tasker note add -w Work < standup.md   # Multi-line note from stdin
tasker note                      # List notes (also: tasker note ls -w Work --json)
tasker note show 1
tasker note edit 1 "Gift ideas: a book, socks, tea"
tasker note mv 1 Personal
tasker note rm 1                 # Restorable for 7 days with: tasker note restore 1

# Manage workspaces
tasker ws list
tasker ws add SideProject
tasker ws rename SideProject Labs
tasker ws rm Labs                # Safely moves tasks back to Inbox

TUI Keybindings

Navigation & Views

Keys Action
j / k Move selection down / up
gg / G Jump to top / bottom
Ctrl+d / Ctrl+u Scroll half-page down / up
h / l or Tab Switch focus between Workspaces sidebar and Tasks list
[ / ] Previous / next workspace (wraps around, includes All)
H Toggle Tasks ↔ History (Day-by-Day) view
N Toggle Tasks ↔ Notes view
i Toggle right-hand Details & Timeline pane
/ Live search across titles, notes, and workspaces (Esc to clear)
: Open command bar (:add, :note, :notes, :ws, :pomo [50/10], :timer stop|pause|resume|skip|discard, :notify on|off, :ws-pos left|right, :date YYYY-MM-DD|3d, :theme, :today, :history, :undo, :q)
T Open interactive theme picker with live preview
B Hide / show the Workspaces sidebar (remembered; h / Tab still peeks it open). Also :sidebar [show|hide]
P Toggle pro mode: hides every on-screen key hint for a minimal UI (remembered; ? still shows the cheat sheet). Also :pro [on|off]
? Toggle keyboard cheat sheet
q Quit

Tasks & Workspaces

Keys Action
a / o Add new task (or new workspace when sidebar is focused)
e / Enter Edit task title, priority, status, workspace, and multi-line notes
s Start task (In Progress) or pause back to Todo
x / Space Toggle Done
b Toggle Blocked
t Start a stopwatch timer on the task (or pause / resume it if it's the one being timed).
p Start a pomodoro on the task (or pause / resume its timer)
:timer stop Stop the timer and log its time (finishing the task or timing another one also stops it)
X / :timer discard Stop the timer and throw away the time it tracked this session (earlier sessions are kept)
gt Jump to the task the timer is running on (switches workspace if needed)
S Open status picker (t Todo, s In Progress, b Blocked, d Done, c Cancelled)
1 / 2 / 3 / 4 Set priority (P1 Urgent, P2 High, P3 Medium, P4 Low)
m Move task to another workspace
dd Delete selected task right away, or workspace (with confirmation)
u / :undo Undo the last task delete or status change, e.g. an accidental x (repeat to undo earlier ones). Undoing a completion restores the old status, drops it from history and brings back a timer it stopped
c Show / hide completed & cancelled tasks
W Create a new workspace from anywhere
r Rename / recolor workspace (in sidebar)

Notes View (N)

Notes share the Workspaces sidebar (h / l, [ / ]) and search (/) with the task list. The sidebar counts notes instead of tasks while you're here.

Keys Action
a / o Add a note. Type as many lines as you like; the first line is its title. Ctrl+S saves, Tab picks the workspace
e / Enter Edit the selected note
dd Delete the selected note (u undoes it)
m Move the note to another workspace
:note <text> Quick-add a one-line note to the current workspace

History View (H)

Keys Action
h / l or [ / ] Previous / next day
{ / } Jump backward / forward 7 days
p / n or < / > Jump to previous / next day with recorded tasks
t Jump to Today
f / Tab Toggle Completed only ↔ All day activity
w Cycle workspace filter
e / Enter Edit the selected task
dd Delete the selected task (u undoes it)
x / s / 1-4 Toggle done / start / set priority on the selected task

Timers & Pomodoro

Only one timer runs at a time; starting another switches over and logs the previous one.

  • Stopwatch (t) shows the task's total tracked time and keeps counting until you pause it (t again) or stop it (:timer stop).
  • Pomodoro (p) runs a focus session, then rolls straight into its break. When the break ends it waits for you (p to start the next session), so an unattended timer never logs phantom focus time. Use :pomo 50/10 for a custom one-off length, or tasker timer config to change the defaults.
  • Only focus time is credited to the task. Breaks and paused time are not.
  • Started one by mistake? :timer discard (or tasker timer stop --discard) ends it without logging any of this session's time.
  • Completing, cancelling, or deleting the timed task stops its timer automatically.
  • The task details pane shows the live timer and total Tracked time, and History shows how long you focused each day.
  • When a session or break ends while the TUI is open, tasker rings the terminal bell and sends a desktop notification (osascript on macOS, notify-send on Linux). Toggle this with :notify on|off.

Themes

tasker defaults to a calm Neutral palette (quiet monochrome chrome with semantic color accents for statuses, priorities, and workspaces) and ships with 8 built-in adaptive themes:

neutral · amber · copper · sage · glacier · rose-pine · catppuccin · mono

  • Press T inside the TUI (or run :theme) to live-preview and save a theme.
  • Or override via CLI / environment: tasker --theme amber or TASKER_THEME=sage.

Configuration & Data Storage

tasker stores everything locally in a single SQLite file:

  • macOS: ~/Library/Application Support/tasker/tasker.db
  • Linux: ~/.config/tasker/tasker.db (via os.UserConfigDir())
  • Override: set TASKER_DB=/path/to/tasker.db or pass --db /path/to/tasker.db

Development

make test   # Run all unit, store, CLI, and TUI tests
make vet    # Run go vet
make build  # Build local ./tasker binary

License

MIT

About

A vim-style CLI & TUI todo tracker with day-by-day history

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages