A simple, keyboard-driven task manager for your terminal.
Built with Go, Bubble Tea, Cobra, Lipgloss, and SQLite.
TaskFlow is a lightweight command-line and terminal UI task manager designed to help you organize your daily work without leaving your terminal.
Whether you prefer executing commands or navigating an interactive terminal dashboard, TaskFlow provides a straightforward way to manage tasks and track your productivity.
Your tasks are stored locally in an SQLite database, so there's no need for an external database server or cloud account.
- Command-Line Interface: Add, complete, delete, and inspect tasks directly from your terminal.
- Interactive TUI: Launch a full-screen task dashboard with Bubble Tea.
- Keyboard Navigation: Navigate tasks using Vim-style
jandkshortcuts. - Daily Task Tracking: View tasks for today or inspect a specific date.
- Completion Tracking: Automatically record task completion timestamps.
- Monthly Statistics: Review how many tasks you've completed each month.
- Local Persistence: Store tasks in an SQLite database on your machine.
- Zero Database Setup: Uses a pure-Go SQLite driver without requiring CGO or an external database server.
╭────────────────────────────────────────────────╮
│ Daily Tasks │
│ │
│ TODO #4 Finish Go CLI documentation │
│ TODO #3 Push TaskFlow to GitHub │
│ DONE #2 Build Lipgloss daily view │
│ DONE #1 Set up SQLite repository │
│ │
│ Progress: 2/4 completed │
╰────────────────────────────────────────────────╯
Illustrative terminal preview.
- Go 1.26.0 or later.
- A supported terminal.
go install github.com/princekrvert/taskflow@latestMake sure your Go binary directory is included in your system's PATH.
Run TaskFlow:
taskflowClone the repository:
git clone https://github.com/princekrvert/taskflow.git
cd taskflowBuild the application:
go build -o taskflow .Run it:
./taskflowTo install it system-wide on Linux or macOS, move the binary into a directory in your PATH:
sudo mv taskflow /usr/local/bin/git clone https://github.com/princekrvert/taskflow.git
cd taskflow
go build -o taskflow.exe .Run:
.\taskflow.exeInstall the prerequisites:
pkg update
pkg install golang git -yClone and build:
git clone https://github.com/princekrvert/taskflow.git
cd taskflow
go build -o $PREFIX/bin/taskflow .Run:
taskflowTaskFlow provides two ways to interact with your tasks.
Launch TaskFlow without any arguments:
taskflowThe interactive dashboard lets you navigate and manage your tasks using your keyboard.
| Key | Action |
|---|---|
↑ / k |
Move cursor up |
↓ / j |
Move cursor down |
Space / Enter |
Mark selected task as completed |
d |
Delete selected task |
q / Ctrl+C |
Quit |
Create a new task:
taskflow add "Learn Go concurrency"Display today's tasks:
taskflow todayAliases:
taskflow daily
taskflow lsView tasks for a specific date:
taskflow today --date 2026-11-20Short flag:
taskflow today -d 2026-11-20Mark a task as completed using its ID:
taskflow com 1Aliases:
taskflow done 1
taskflow complete 1Delete a task using its ID:
taskflow del 1Aliases:
taskflow rm 1
taskflow delete 1Display monthly task completion statistics:
taskflow statsFilter statistics by month:
taskflow stats --month 2026-11Short flag:
taskflow stats -m 2026-11| Command | Description |
|---|---|
taskflow |
Launch interactive dashboard |
taskflow add <description> |
Create a task |
taskflow today |
View today's tasks |
taskflow today -d <date> |
View tasks for a specific date |
taskflow com <id> |
Complete a task |
taskflow del <id> |
Delete a task |
taskflow stats |
View monthly completion statistics |
taskflow stats -m <month> |
View statistics for a specific month |
TaskFlow follows a simple daily task management approach:
- Tasks are created with an automatically generated ID.
- Tasks can be completed and their completion timestamps are recorded.
- Tasks created on previous days are protected from modification through the service layer.
- Daily views can include tasks created on the selected date or completed on that date.
- Monthly statistics are calculated using task completion timestamps.
This keeps historical task records protected while allowing you to review previous productivity.
TaskFlow stores all task data locally using SQLite.
Default database location:
~/.taskflow.db
The location is based on your operating system's home directory.
| Platform | Database location |
|---|---|
| Linux | $HOME/.taskflow.db |
| macOS | $HOME/.taskflow.db |
| Windows | %USERPROFILE%\.taskflow.db |
| Android (Termux) | $HOME/.taskflow.db |
No external database server is required.
TaskFlow uses a layered architecture that separates command handling, business logic, data access, and terminal presentation.
taskflow/
│
├── cmd/
│ ├── root.go
│ ├── add.go
│ ├── today.go
│ ├── com.go
│ ├── del.go
│ └── stats.go
│
├── internal/
│ ├── models/
│ ├── repository/
│ ├── service/
│ └── ui/
│
├── main.go
├── go.mod
├── go.sum
└── README.md
| Layer | Responsibility |
|---|---|
cmd |
CLI commands, flags, and application entry points |
models |
Core task and statistics data structures |
repository |
Database operations and repository abstraction |
service |
Business rules, validation, and task management |
ui |
Interactive terminal interface and visual presentation |
main.go |
Application entry point |
| Technology | Purpose |
|---|---|
| Go | Programming language |
| Cobra | CLI command management |
| Bubble Tea | Interactive terminal interface |
| Lipgloss | Terminal styling |
| SQLite | Local database |
| modernc.org/sqlite | Pure-Go SQLite driver |
Want to contribute or explore the code?
Clone the project:
git clone https://github.com/princekrvert/taskflow.git
cd taskflowDownload dependencies:
go mod downloadBuild:
go build -o taskflow .Run:
go run .Run tests:
go test ./...Contributions, suggestions, and bug reports are welcome!
- Fork the repository.
- Create a feature branch.
- Make your changes.
- Run the tests.
- Submit a pull request.
git checkout -b feature/my-featureIdeas for future improvements:
- Edit existing tasks.
- Task priorities and categories.
- Search and filter tasks.
- Task deadlines and reminders.
- Export and import tasks.
- Improved productivity analytics.
- Automated tests and CI workflows.
TaskFlow is distributed under the MIT License.
Created by @princekrvert.
Built with Go and a love for the terminal.
Keep your workflow simple. Stay productive.