tdx

Your todos, in markdown, done fast.

View on GitHub

v0.15.0 release notes ยท Saved views, retry-safe scripting and safer Markdown edits

tdx demo

Your views. Your Markdown.

New in v0.15.0: save the views you return to, script with confidence, and edit without disturbing the rest of your file.

Saved views

Name your filters and section focus with :save-view, recall them with :views, and optionally reopen the last one.

Safe in your scripts

Filter by priority, due date or section, retry done safely, and guard writes with --if-revision.

Your Markdown stays yours

Edits patch only what changed. Unsupported structural edits return an error instead of rewriting the file.

Installation

Already installed with Homebrew? Run brew update, then brew upgrade niklas-heer/tap/tdx. The shell installer defaults to ~/.local/bin; add it to your PATH.

Homebrew (macOS/Linux)

brew install niklas-heer/tap/tdx

Quick Install Script

curl -fsSL https://niklas-heer.github.io/tdx/install.sh | bash

Nix

nix run github:niklas-heer/tdx
โšก

Fast

Install a native binary and start with a Markdown file. No application runtime to install.

๐Ÿ“

Markdown-native

Todos live in your Markdown. Checkbox-only edits keep surrounding bytes intact; structural edits may normalize formatting.

โŒจ๏ธ

Vim-style

Navigate with j/k, relative jumps (5j), and number keys.

๐Ÿ–ฅ๏ธ

Interactive TUI

Toggle, edit, delete, undo, move, copy. Fuzzy search, tag filtering, and live updates.

๐ŸŽฏ

Command Palette

Helix-style : commands with fuzzy search. Sort, filter, check all, and more.

๐Ÿ”ง

Scriptable

Filtered JSON queries plus list, add, toggle, edit and delete commands for editor integrations and automation.

๐ŸŒ

Cross-platform

Works on macOS, Linux, and Windows.

๐Ÿ”„

Smart Sync

Atomic saves guard against partial writes. External edits reload between edits; conflicting saves open a visual diff.

๐Ÿ•˜

Version History

Automatic snapshots with visual diffs and safe restore from the TUI using :versions.

๐Ÿท๏ธ

Tags

Organize with #tags inline. Filter by tag with multi-select. Color-coded for quick scanning.

๐ŸŽฏ

Priorities

Mark todos with !p1, !p2, !p3. Sort and filter by priority. Color-coded display.

๐Ÿ“…

Due Dates

Add @due(YYYY-MM-DD) to todos. Sort and filter by date. Color-coded by urgency.

๐ŸŽจ

Customizable

13 built-in themes (including all Catppuccin variants), custom themes support, live theme picker, per-file settings.

โš™๏ธ

Global Config

Set defaults in ~/.config/tdx/config.toml. Configure default file, theme, and behavior.

๐Ÿ“‚

Recent Files

Jump to recently opened files with cursor position restoration. Use tdx last for quick access.

๐Ÿ“‘

Nested Tasks

Organize todos hierarchically with Tab/Shift+Tab. Subtasks indent under parents automatically.

Advanced: Checklists & Per-File Config

Use YAML frontmatter for per-file settings. Perfect for reusable checklists, read-only templates, and organized project workflows.

tdx checklists demo

Frontmatter Config

Set show-headings, filter-done, read-only, and max-visible per file.

Batch Operations

:check-all and :uncheck-all for quick checklist resets.

Read-Only Mode

Use -r flag or frontmatter for checklists you can edit in memory. Use :save to save deliberately; CLI mutations are rejected.

Keyboard Shortcuts

j / k Move down / up
gg / G First / last item
Space Toggle completion
n New todo after cursor
N New todo at end
e Edit todo
d Delete todo
c Copy to clipboard
m Move mode
Tab Indent (nest)
S-Tab Outdent
/ Fuzzy search
t Tag filter
p Priority filter
D Due date filter
s / SBrowse sections / show all
r Recent files
: Command palette
u Undo
? Help menu
Esc Quit

Command Palette

Press : to open the command palette with fuzzy search.

check-all Mark all complete
uncheck-all Mark all incomplete
clear-done Delete completed
sort-done Sort by completion
sort-priority Sort by priority
sort-due Sort by due date
filter-done Toggle completed
filter-due Show with due dates
filter-overdue Show overdue
filter-today Show due today
filter-week Show due this week
theme Change color theme
wrap Toggle word wrap
line-numbers Toggle line numbers
show-headings Toggle headings
read-only Toggle read-only
save Save to file
reload Reload from disk
force-save Overwrite external changes
sectionsFocus, fold or edit headings
all-sectionsClear focus and folds
diffInspect a pending conflict
versions Browse version history

Fits your developer workflow

Get open backend tasks without launching the TUI. JSON includes task indexes, nesting, tags, priorities and due dates.

tdx --file TASKS list --json --status open --tag backend

Indexes are file positions, so re-query after inserting, deleting or moving tasks. See the JSON contract and examples.

Reproducible setup

Contributors use mise run setup and mise run check for pinned tools and local validation. Development guide.

Tested through sustained use

36,000 actions passed a 100-hour simulated workload, with separate executable and terminal tests. This measures accelerated actions, not wall-clock endurance. Read the results and limits.