Home
Softono
todotui

todotui

Open source MIT Go
52
Stars
1
Forks
6
Issues
0
Watchers
1 year
Last Commit

About todotui

⌨️ A Vim-like TUI that honors the simplicity of todo.txt πŸ“

Platforms

Web Self-hosted

Languages

Go

Links

πŸ“‹ Todo TUI

⌨️ A Vim-like TUI that honors the simplicity of todo.txt πŸ“

todotui_top todotui_help

✨ Features

  • ⚑ Vim-like TUI β€” Navigate with intuitive, familiar keybindings (j, k, etc.)
  • πŸ“„ todo.txt Compatible β€” Fully supports the standard todo.txt format
  • πŸ” Powerful Filtering β€” Filter by +project, @context, due dates, and more
  • πŸ“‹ Clipboard Support β€” Easily copy task text with visual confirmation

πŸš€ Installation

Go Install

# Install latest version
go install github.com/yuucu/todotui/cmd/todotui@latest

# Install specific version
go install github.com/yuucu/todotui/cmd/[email protected]

Binary Download

Download pre-built binaries for your platform from the Releases page.

πŸš€ Quick Start

# Basic usage
todotui ~/todo.txt

# If default_todo_file is set in config file, no argument needed
todotui

# With custom configuration
todotui --config config.yaml ~/todo.txt

⌨️ Key Bindings

Key Action
j/k Navigate lists
Tab Switch between filter and task panes
Enter Apply filter / Complete task
a Add new task
e Edit task
d Delete task
p Cycle priority (A→B→C→D→none)
r Restore deleted/completed task
y Copy task text to clipboard
? Show help
q Quit

πŸ“ Task Format

Supports standard todo.txt format:

(A) Call Mom @phone +family due:2025-01-15
Buy milk @store +groceries
x 2025-01-14 Clean garage @home +chores

βš™οΈ Configuration

Todo TUI can be configured using a config.yaml file for detailed customization.

πŸ“ Configuration File Location

  • macOS/Linux: ~/.config/todotui/config.yaml
  • Windows: %APPDATA%/todotui/config.yaml

🎨 Basic Configuration Example

# ~/.config/todotui/config.yaml
theme: catppuccin                # Available: catppuccin, nord, everforest-dark, everforest-light
priority_levels: ["", A, B, C, D]
default_todo_file: ~/todo.txt

πŸ“š Complete Configuration Reference:

  • sample-config.yaml - Comprehensive configuration file with all options and detailed explanations

πŸ’» Usage

# Automatic config detection (loads ~/.config/todotui/config.yaml)
todotui ~/my-todo.txt

# If default_todo_file is set in config, no CLI argument needed
todotui

# Custom config file
todotui --config /path/to/config.yaml

Supported formats: YAML, JSON, TOML

πŸ—οΈ Development

Quick Setup

git clone https://github.com/yuucu/todotui.git
cd todotui
make install  # Install development tools and set up pre-commit hooks
make build    # Build the application