A command-line todo application built in Go for developers who need to capture ideas without breaking their workflow.
sr.mp4
Ever been programming and had a brilliant idea or remembered an important task? You know the struggle - interrupting your flow means losing focus, but ignoring it risks forgetting something important. This is where Togo shines, especially for those of us with ADHD tendencies.
Togo lets you capture those thoughts instantly without breaking your workflow. Your terminal is always just a keystroke away, so just dump your todo with togo add
and get back to what you were doing. Your brain can relax knowing the idea is safely stored somewhere, and you can maintain your precious focus.
The core philosophy: Add it now, manage it later.
- Zero-friction capture: Add ideas directly from your terminal without interrupting your flow
- Beautiful terminal UI: Interactive interface for managing todos when you're ready to organize
- VIM keybinds: HJKL motions support
- Multiple management methods: Use either interactive mode or command-line operations to manage
- Flexible organization: Toggle completion, archive finished tasks, delete what's no longer needed
- Search/filtering: Find tasks quickly in lists or through partial start-matching
- Shell integration: Tab completion for workflow integration
When inspiration strikes or a task pops into your head, just:
togo add should I use "s in my shell std inputs?
togo add "Call the client about project scope"
Then get right back to what you were doing. No more mental juggling or lost ideas.
Togo offers two primary ways to manage your tasks:
Open the interactive UI to work with your todos visually:
togo
# or
togo list # Active todos only
togo list --all # All todos
togo list --archived # Archived todos only
The interactive mode shows helpful keyboard shortcuts right in the interface.
Togo offers flexible command syntax with three usage patterns:
togo toggle meeting
If only one task contains "meeting", it executes immediately - no selection needed. If multiple tasks match (e.g., "team meeting" and "client meeting"), Togo automatically opens the selection list so you can choose which one you meant.
togo toggle
Opens a selection list where you can choose from available tasks:
As you type, Togo searches through your tasks and filters the results.
If you've installed shell completion (see below), you can use:
togo toggle [TAB]
Your shell will present available tasks. Type a few letters to filter by name:
togo toggle me[TAB]
Shell will show only tasks containing "me" - perfect for quick selection.
togo add "Task description"
- Add a new tasktogo toggle [task]
- Toggle completion statustogo archive [task]
- Archive a completed tasktogo unarchive [task]
- Restore an archived tasktogo delete [task]
- Remove a task permanentlytogo list [flags]
- View tasks (--all, --archived)
Every command supports -h
or --help
flags to display detailed usage information:
togo toggle --help
togo add -h
The simplest way to install Togo:
go install github.com/prime-run/togo@latest
Make sure $GOPATH/bin
is in your PATH to access the installed binary.
# Clone the repository
git clone https://github.com/prime-run/togo.git
cd togo
# Build and install manually
go build
go install # Installs to $GOPATH/bin
# Clone the repository
git clone https://github.com/prime-run/togo.git
cd togo
make install
# And follow the prompts
All Make installation methods include automatic shell completion setup out of the box, so you can immediately use tab completion for commands and task names.
In case your shell didn't get detected, you can run togo completion --help
Setting up shell completion makes Togo even more efficient by enabling tab completion for commands and tasks.
# 1. Create completion directory
mkdir -p ~/.zsh/completion
echo "fpath=(~/.zsh/completion \$fpath)" >> ~/.zshrc
# 2. Enable completions
echo "autoload -Uz compinit && compinit" >> ~/.zshrc
# 3. apply Togo completion
togo completion zsh > ~/.zsh/completion/_togo
source ~/.zshrc
# 1. Ensure completion is sourced
echo "[ -r /usr/share/bash-completion/bash_completion ] && . /usr/share/bash-completion/bash_completion" >> ~/.bashrc
source ~/.bashrc
# 2. Install Togo completion
togo completion bash > ~/.bash_completion
source ~/.bash_completion
mkdir -p ~/.config/fish/completions
togo completion fish > ~/.config/fish/completions/togo.fish
yea, i dont think you PS guys need this tool :)
Togo stores all your data in a simple JSON file at ~/.togo/todos.json
.
This project is licensed under MIT - see the LICENSE file for details.