Git-based kanban board TUI
Project description
ganban
git-based Kanban TUI
What is this?
ganban is a Kanban board that lives in git. The data sits in an orphan branch,
so web UIs shouldn't offer to merge it (but they do). In ganban, our tasks
stay with the code and we don't need to rely on external services and API keys.
It's all just files in dirs.
The board's columns are in directories named id.slug like 1.backlog. They're
ordered alphanumerically so the TUI has the same order as ls -l. The app will
renumber them for you if you move columns around, or if you used letters or
something other than numbers as an id.
Cards in a column are symlinks to Markdown docs in the ./.all dir, which holds
the actual data. These links are ordered in the same way as cards. Keeping them
in .all gives them stable IDs so you can link to them like you would in a
commit message. You don't need to remember ln's weird syntax though because
ganban will round up stray files and replace them with a link.
The first # heading in a document will override the title of a card. Other
# headings or ## subheadings becomes a section, and the TUI can choose a
custom editor for sections with special names. This is how comments work, and
how task lists will work in future.
You can add metadata like labels, a due date, assigned - or anything else
that you like - using front-matter. A full JSON/YAML editor is provided for any
custom stuff, and in future it'll be possible to add plugins for new ways to
access and edit this data. Metadata works on columns too, you just edit the
index.md file in their dir, which you can use to override the column's style.
And the board also has a title and settings in its front-matter, which is how
we link committers with multiple emails to one identity, or give yourself a 🧔
emoji as your avatar.
When running as a service, ganban will sync from remotes that the repo has,
periodically pushing to upstream and resolving any conflicts the best it can.
This creates a kind of mesh network for your board, syncing in the background
without the need for 3rd party services.
Ganban doesn't force you to use its TUI, there's a web UI if you prefer that
sort of thing. If you're a bot or a script or UIs just aren't for you, then you
can use the CLI instead; see ganban --help. If you don't want any kind of
interface then bring your own text editor and commit directly to git.
It can sync in the background with ganban sync -d, or, if the daemons haunt
you, just omit the -d for a one-time sync.
Data Model
Cards
Canonical card files live in .all/ with 3-digit numeric IDs:
.all/
001.md
002.md
003.md
Card format:
---
whatever: put your metadata here
---
# Title
Main description goes here, displayed in the body. You can link to other cards
by ID like #1
## Notes
Subsequent sections become sidebar panels in the TUI.
## Comments
- [name](mailto:user@email): comments go here like this
Columns
Directories with 1-digit numeric prefix for ordering:
1.backlog/
2.in-progress/
3.done/
Board Layout
Cards appear in columns as symlinks with 2-digit position prefix:
1.backlog/
01.fix-login-bug.md -> ../.all/001.md
02.add-feature.md -> ../.all/003.md
2.in-progress/
01.refactor-api.md -> ../.all/002.md
- Symlink name = position + slug (derived from card title)
- Moving card between columns = delete + create symlink
- Reordering within column = rename symlinks
- Archiving = just delete the symlink, card stays in
.all/ - Orphaned cards (in
.all/but not linked) accessible via TUI
Numbering
Default digits: 3 for .all/, 1 for columns, 2 for symlinks.
Git Integration
Reading/Writing Without Checkout
Operates on the ganban branch without checking it out, using git plumbing:
git show ganban:pathto readgit hash-object,git mktree,git commit-treeto write- Or GitPython equivalents
Multi-Remote Sync
- One upstream (push target)
- Optional peer remotes (extra fetch sources)
- Fetch all remotes periodically
- On detecting changes: commit local, rebase, push upstream
- Changes propagate opportunistically through whoever can reach upstream
Philosophy
- Permissive: don't be prescriptive, let users mess with files
- Resilient: handle broken states gracefully, offer to fix
- Minimal: derive what you can (titles, order), front-matter is opt-in
- Portable: works with any markdown renderer, any git host, any editor
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ganban-0.5.3.tar.gz.
File metadata
- Download URL: ganban-0.5.3.tar.gz
- Upload date:
- Size: 88.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a297585ea2a9d29d46999f3e656f7406b3270e58f920067442e6170c4301069f
|
|
| MD5 |
6e03e946587e81394485ec9d7d91ecf3
|
|
| BLAKE2b-256 |
23f519e19a23c4e83588e2aec0fbc2a87d721c0ce3e1c69e33d2be1827e4aa1d
|
File details
Details for the file ganban-0.5.3-py3-none-any.whl.
File metadata
- Download URL: ganban-0.5.3-py3-none-any.whl
- Upload date:
- Size: 116.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
17a495717d92b9198ce4dd4d43f5b307edc5b33790f2e15eb057869d873d9a8b
|
|
| MD5 |
002db3ece8be03f5fb92627cc18f22a1
|
|
| BLAKE2b-256 |
67a09898041fe41bcf7ce64043002470ccecc978e4bed2723ce9bf8185fe1791
|