Zaloog/kanban-tui

Task Manager with a TUI written in Python and usable by agents

License:MITLanguage:Python1516
claude-skillskanbanPythontask-managertextualtui

Deep Analysis

终端中的可定制看板任务管理器,支持多看板、任务追踪、可视化统计和代理集成。

Recommended

Core Features

多看板支持

创建和管理多个看板,支持任意列数自定义

任务管理

创建、编辑、删除、移动任务,支持拖放操作

可视化统计

月周日报表、分类堆积图、审计追踪等数据分析

代理集成

CLI命令行接口支持自动化和代理任务管理

Technical Implementation

Architecture:基于Textual框架的TUI应用,使用SQLite数据库存储,遵循XDG基目录规范
Execution Flow:
启动应用

运行ktui或在web模式下访问浏览器

看板操作

创建看板、自定义列、可视化排列

任务管理

新建、编辑、删除、跨列拖动任务

数据分析

查看统计图表、审计日志、导出数据

代理集成

通过CLI命令实现自动化任务管理

Key Components:
TextualTUI框架和组件库
SQLite持久化数据存储
Pydantic配置管理和验证
Plotext图表可视化渲染
Highlights
  • 支持Web模式,可通过浏览器访问TUI应用
  • 完整的审计系统自动追踪所有数据变更历史
  • 遵循XDG基目录规范,配置和数据存储位置统一管理
  • 提供Demo模式,快速体验无需配置
Use Cases
  • 个人任务管理和项目看板维护
  • 团队协作中通过代理自动化任务流转
  • 数据分析工作中任务进度和生产力统计
  • 集成到AI代理系统实现任务自动化管理
Tech Stack
Python 3TextualSQLitePydanticPlotextClick CLIXDG Base Dirs

Ruff
PyPI-Server
Pyversions
License: MIT
Downloads
Coverage Status

kanban-tui

kanban-tui is a customizable task manager in the terminal.
Now also usable in Co-op with your agents (check the skill command for more infos).

Demo GIF

demo_gif

If you want to test kanban-tui you can directly run this demo yourself with the help of uv using uvx with

uvx kanban-tui demo

Features

Expand for more detailed information

Following the XDG basedir convention

kanban-tui utilizes pydantic-settings and xdg-base-dirs user_config_dir to save
the config file and user_data_dir for the sqlite database.
You can get an overview of all file locations with uvx kanban-tui info

Customizable Board

kanban-tui comes with four default columns
(Ready, Doing, Done, Archive) but can be customized to your needs.
More columns can be created via the Settings-Tab. Also the visibility and order of columns can be adjusted.
Deletion of existing columns is only possible, if no task is present in the column you want to delete.

Multi Board Support

With version v0.4.0 kanban-tui allows the creation of multiple boards.
Use B on the Kanban Board-Tab to get an overview over all Boards including
the amount of columns, tasks and the earliest Due Date.

Task Management

When on the Kanban Board-Tab you can create (n), edit (e), delete (d) or move (H, L) tasks between columns.
Movement between columns also supports drag and drop via mouse.

Database Information The current database schema looks as follows. The Audit table is filled automatically based on triggers.
erDiagram
    tasks }|--o| categories: have
    tasks }|--|| audits: updates
    tasks {
        INTEGER task_id PK
        INTEGER column FK
        INTEGER category FK
        TEXT title
        TEXT description
        DATETIME creation_date
        DATETIME start_date
        DATETIME finish_date
        DATETIME due_date
    }
    boards }|--o{ columns: contains
    boards }|--|| audits: updates
    boards {
        INTEGER board_id PK
        INTEGER reset_column FK
        INTEGER start_column FK
        INTEGER finish_column FK
        TEXT name
        TEXT icon
        DATETIME creation_date
    }
    columns ||--|{ tasks: contains
    columns }|--|| audits: updates
    columns {
        INTEGER column_id PK
        INTEGER board_id FK
        TEXT name
        BOOLEAN visible
        INTEGER position
    }
    categories {
        INTEGER category_id PK
        TEXT name
        TEXT color
    }
    audits {
        INTEGER event_id PK
        DATETIME event_timestamp
        TEXT event_type
        TEXT object_type
        INTEGER object_id
        TEXT object_field
        TEXT value_old
        TEXT value_new
    }
Visual Summary and Audit Table

To give you an overview over the amount of tasks you created, started or finished, kanban-tui
provides an Overview-Tab to show you a bar-chart on a monthly, weekly or daily scale.
It also can be changed to a stacked bar chart per category.
This feature is powered by the plotext library with help of textual-plotext.
There is also an audit table, which tracks the creation/update/deletion of tasks/boards and columns.

Installation

You can install kanban-tui with one of the following options:

# not recommended
pip install kanban-tui
pipx install kanban-tui
uv tool install kanban-tui

I recommend using pipx or uv to install CLI Tools into an isolated environment.

To be able to use kanban-tui in your browser with the --web-flag, the optional dependency
textual-serve is needed. You can add this to kanban-tui by installing the optional web-dependency
with the installer of your choice, for example with uv:

uv tool install 'kanban-tui[web]'

Usage

kanban-tui now also supports the kanban-tui entrypoint besides ktui.
This was added to support easier installation via uv's uvx command.

Normal Mode

Start kanban-tui with by just running the tool without any command. The application can be closed by pressing ctrl+q.
Pass the --web flag and follow the shown link to open kanban-tui in your browser.

ktui

Demo Mode

Creates a temporary Config and Database which is populated with example Tasks to play around.
Kanban-Tui will delete the temporary Config and Database after closing the application.
Pass the --clean flag to start with an empty demo app.
Pass the --keep flag to tell kanban-tui not to delete the temporary Database and Config.
Pass the --web flag and follow the shown link to open kanban-tui in your browser.

ktui demo

Clear Database and Configuration

If you want to start with a fresh database and configuration file, you can use this command to
delete your current database and configuration file.

ktui clear

Create or Update Agent SKILL.md File

With version v0.11.0 kanban-tui offers a CLI Interface to manage tasks, boards and columns.
This is targeted mainly for agentic use e.g. via Claude, because references will be made only by ids, but some commands
are also ergonomic for human use (e.g. task creation).

ktui skill init/update

CLI Interface to manage Tasks

The commands to manage tasks, boards and columns via the CLI are all build up similarly. For detailed overview of arguments
and options please use the --help command.
Note that not every functionality is supported yet (e.g. category management, column customisation).

ktui task list/create/update/move/delete
ktui board list/create/delete/activate
ktui columns list

Show Location of Data, Config and Skill Files

kanban-tui follows the XDG basedir-spec and uses the xdg-base-dirs package to get the locations for data and config files.
You can use this command to check where the files are located, that kanban-tui creates on your system.

ktui info

Feedback and Issues

Feel free to reach out and share your feedback, or open an Issue,
if something doesn't work as expected.
Also check the Changelog for new updates.

Highly Recommended
agents

wshobson/agents

wshobson

Intelligent automation and multi-agent orchestration for Claude Code

The most comprehensive Claude Code plugin ecosystem, covering full-stack development scenarios with a three-tier model strategy balancing performance and cost.

25.6k2.8k3 days ago
Highly Recommended
awesome-claude-skills

ComposioHQ/awesome-claude-skills

ComposioHQ

A curated list of awesome Claude Skills, resources, and tools for customizing Claude AI workflows

The most comprehensive Claude Skills resource list; connect-apps is a killer feature.

19.9k2.0k3 days ago
Recommended
oh-my-opencode

code-yeongyu/oh-my-opencode

code-yeongyu

The Best Agent Harness. Meet Sisyphus: The Batteries-Included Agent that codes like you.

Powerful multi-agent coding tool, but note OAuth limitations.

17.5k1.2k3 days ago
Recommended
claude-mem

thedotmack/claude-mem

thedotmack

A Claude Code plugin that automatically captures everything Claude does during your coding sessions, compresses it with AI (using Claude's agent-sdk), and injects relevant context back into future sessions.

A practical solution for Claude's memory issues.

14.0k9143 days ago
Highly Recommended
planning-with-files

OthmanAdi/planning-with-files

OthmanAdi

Claude Code skill implementing Manus-style persistent markdown planning — the workflow pattern behind the $2B acquisition.

Context engineering best practices; an open-source implementation of Manus mode.

9.3k8113 days ago
Highly Recommended
Skill_Seekers

yusufkaraaslan/Skill_Seekers

yusufkaraaslan

Convert documentation websites, GitHub repositories, and PDFs into Claude AI skills with automatic conflict detection

An automation powerhouse for skill creation, dramatically improving efficiency.

6.8k6833 days ago