A powerful, terminal-based todo application built with Go. Manage your tasks efficiently without leaving the command line.
- Features
- Requirements
- Installation
- Keyboard Shortcuts
- Configuration
- Screenshots
- Development
- Collaboration
- Support and Community
- Troubleshooting
- License
- 📋 Simple and intuitive terminal UI
- 🏷️ Tag support for organizing related tasks
- 🔄 Multiple status views (Open, Doing, Done, Archived)
- 🚩 Priority levels (Low, Medium, High)
- 📅 Due date support
- 🔍 Filtering and searching capabilities
- ⌨️ Keyboard-driven interface
- Terminal with support for TUI applications
brew tap martijnspitter/tui-todo
brew install tui-todo# Download the latest .deb package
curl -L -o tui-todo.deb https://github.com/martijnspitter/tui-todo/releases/latest/download/tui-todo_Linux_x86_64.deb
# Install the package
sudo dpkg -i tui-todo.deb
# Install dependencies if needed
sudo apt-get install -f
# Run the application
todo# Download the latest .rpm package
curl -L -o tui-todo.rpm https://github.com/martijnspitter/tui-todo/releases/latest/download/tui-todo_Linux_x86_64.rpm
# Install the package
sudo rpm -i tui-todo.rpm
# Run the application
todo# Download the latest .apk package
curl -L -o tui-todo.apk https://github.com/martijnspitter/tui-todo/releases/latest/download/tui-todo_Linux_x86_64.apk
# Install the package
sudo apk add --allow-untrusted tui-todo.apk
# Run the application
todo# Install directly from the Snap Store
sudo snap install tui-todo
# Run the application
todo# Download the appropriate version for your system
curl -L -o tui-todo.tar.gz https://github.com/martijnspitter/tui-todo/releases/latest/download/tui-todo_Linux_$(if [ "$(uname -m)" = "x86_64" ]; then echo "x86_64"; else echo "$(uname -m)"; fi).tar.gz
# Extract the archive
tar -xzf tui-todo.tar.gz
# Move the binary to a directory in your PATH
sudo mv tui-todo /usr/local/bin/todo
# Make it executable
sudo chmod +x /usr/local/bin/todo
# Verify installation
todo --version
# Clean up
rm -f tui-todo.tar.gz# Download the latest release (Run in PowerShell)
$url = "https://github.com/martijnspitter/tui-todo/releases/latest/download/tui-todo_Windows_x86_64.zip"
$output = "$env:TEMP\tui-todo.zip"
Invoke-WebRequest -Uri $url -OutFile $output
# Extract to a permanent location
$installDir = "$env:LOCALAPPDATA\Programs\tui-todo"
if (!(Test-Path $installDir)) { New-Item -ItemType Directory -Path $installDir | Out-Null }
Expand-Archive -Path $output -DestinationPath $installDir -Force
# Rename the binary
Rename-Item -Path "$installDir\tui-todo.exe" -NewName "todo.exe" -Force
# Add to PATH (requires admin if you want to add to system PATH)
$userPath = [Environment]::GetEnvironmentVariable("Path", "User")
if ($userPath -notlike "*$installDir*") {
[Environment]::SetEnvironmentVariable("Path", "$userPath;$installDir", "User")
Write-Host "Added to PATH. Please restart your terminal for changes to take effect."
}
# Clean up
Remove-Item $output
Write-Host "Installation complete! Type 'todo' in a new terminal window to start the application."| Key | Action |
|---|---|
| Tab / Right | Next field/item |
| Shift+Tab / Left | Previous field/item |
| Up / k | Move up |
| Down / j | Move down |
| g / Home | Go to first item |
| G / End | Go to last item |
| Enter | Select/Confirm |
| Esc | Go back/Cancel |
| Key | Action |
|---|---|
| Ctrl+N | Create new todo |
| Ctrl+E | Edit selected todo |
| Ctrl+D | Delete selected todo |
| Ctrl+S | Advance todo status |
| Ctrl+A | Archive/Unarchive todo |
| Key | Action |
|---|---|
| 1 | Switch to Open todos |
| 2 | Switch to Doing todos |
| 3 | Switch to Done todos |
| 4 | Switch to Archived todos |
| a | Toggle archived todos |
| / | Filter by title/description |
| t | Filter by tag |
| Key | Action |
|---|---|
| Ctrl+C | Quit application |
| ? | Toggle help view |
| i | Open about section |
Todo TUI stores your todos in a SQLite database located at
- Linux:
$XDG_DATA_HOME/tui-todo/todo.sql(if XDG_DATA_HOME is set)~/.local/share/tui-todo/todo.sql(default)
- macOS:
~/Library/Application Support/tui-todo/todo.sql - Windows:
%APPDATA%\tui-todo\todo.sql(if APPDATA is set)~\AppData\Roaming\tui-todo\todo.sql(default)
Main task view with different status tabs
Editing a task with tags and due date
# Clone the repository
git clone https://github.com/martijnspitter/tui-todo.git
cd tui-todo
# Build the application
go build -o todo ./cmd/tui-todo
# Run the application
./todogo test -v ./...To set up a development environment:
# Clone the repository
git clone https://github.com/martijnspitter/tui-todo.git
cd tui-todo
# Install dependencies
go mod download
# Run the application in development mode
go run ./cmd/tui-todo/main.goWe welcome contributions to make Todo TUI even better! Please see our CONTRIBUTING.md guide for details on:
- Our development workflow
- Commit message guidelines
- Pull request process
- Code style standards
For a quick start:
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes using conventional commits
- Push to your branch (
git push origin feature/amazing-feature) - Open a Pull Request
We look forward to your contributions!
-
Make your changes and ensure they adhere to the project's style and standards.
-
Run tests to make sure everything works:
go test -v ./... -
Commit your changes with a descriptive message:
git commit -m "Add feature: your feature description" -
Push to your fork:
git push origin feature/your-feature-name
-
Create a Pull Request by navigating to your fork on GitHub and clicking "New Pull Request".
- Keep PRs focused on a single feature or bugfix
- Include a clear description of the changes and their purpose
- Ensure all tests pass
- Update documentation if necessary
- Follow standard Go conventions and idioms
- Use meaningful variable and function names
- Include comments for complex logic
- Format code with
go fmtbefore submitting
Found a bug or have a feature request? Please create an issue with:
- A clear description of the bug or feature
- Steps to reproduce (for bugs)
- Expected vs. actual behavior (for bugs)
- Any relevant screenshots or logs
- Issues: Report bugs or request features through GitHub Issues
- Discussions: Join our GitHub Discussions for questions and conversations
- Updates: Follow the project on GitHub to receive notifications about updates and new releases
Issue: Application displays incorrectly with broken characters or formatting
Solution: Ensure your terminal supports TUI applications and try setting TERM=xterm-256color environment variable
Issue: "Command not found" error after installation Solution: Make sure the installation directory is in your PATH environment variable. You might need to restart your terminal.
Issue: Database access errors Solution: Check that the application has write permissions to the directory where it stores data
Issue: Keyboard shortcuts not working as expected Solution: Some terminal emulators might capture certain key combinations. Try using alternative key bindings or configure your terminal to pass these key combinations through.
MIT License - See LICENSE for details.

