Self-hosted, sharable kanban for humans and agents. One 4.7 MB binary, 5 MB of RAM, 10 to 60 tokens per agent reply, starts in 3 ms, zero setup.
Rust ai-agentsclaude-codeclicodexcoding-agentskanbanlocal-firstmcpmcp-servermodel-context-protocolproductivityproject-managementraspberry-pirustself-hostedsqlitetask-manager
Publish releases to crates.io
emanuele-em81d55ae57025
diff --git a/.github/workflows/publish-crates.yml b/.github/workflows/publish-crates.ymlnew file mode 100644index 0000000..63635aa--- /dev/null+++ b/.github/workflows/publish-crates.yml@@ -0,0 +1,37 @@+# Publishes the release to crates.io, so `cargo install kanzo` gets it too. dist runs+# this from release.yml once the GitHub release is up. crates.io trusted publishing+# signs in with GitHub's OIDC token: there's no crates.io token to store.+name: Publish to crates.io++on:+ workflow_call:+ inputs:+ plan:+ required: true+ type: string++jobs:+ publish:+ runs-on: ubuntu-26.04+ permissions:+ id-token: write+ steps:+ - uses: actions/checkout@v7+ # A version already there, from a re-run, is left alone.+ - id: check+ run: |+ version=$(sed -n 's/^version = "\(.*\)"/\1/p' Cargo.toml | head -1)+ if curl -fsS -A "kanzo release" "https://crates.io/api/v1/crates/kanzo/$version" > /dev/null; then+ echo "kanzo $version is already on crates.io"+ else+ echo "publish=true" >> "$GITHUB_OUTPUT"+ fi+ - if: steps.check.outputs.publish+ run: rustup update stable --no-self-update && rustup default stable+ - if: steps.check.outputs.publish+ uses: rust-lang/[email protected]+ id: auth+ - if: steps.check.outputs.publish+ run: cargo publish --locked+ env:+ CARGO_REGISTRY_TOKEN: ${{ steps.auth.outputs.token }}diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex ad22c11..c71612c 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -278,14 +278,29 @@ jobs:gh release create "${{ needs.plan.outputs.tag }}" --target "$RELEASE_COMMIT" $PRERELEASE_FLAG --title "$ANNOUNCEMENT_TITLE" --notes-file "$RUNNER_TEMP/notes.txt" artifacts/*+ custom-publish-crates:+ needs:+ - plan+ - host+ if: ${{ !fromJson(needs.plan.outputs.val).announcement_is_prerelease || fromJson(needs.plan.outputs.val).publish_prereleases }}+ uses: ./.github/workflows/publish-crates.yml+ with:+ plan: ${{ needs.plan.outputs.val }}+ secrets: inherit+ # publish jobs get escalated permissions+ permissions:+ "id-token": "write"+ "packages": "write"+announce:needs:- plan- host+ - custom-publish-crates# use "always() && ..." to allow us to wait for all publish jobs while# still allowing individual publish jobs to skip themselves (for prereleases).# "host" however must run to completion, no skipping allowed!- if: ${{ always() && needs.host.result == 'success' }}+ if: ${{ always() && needs.host.result == 'success' && (needs.custom-publish-crates.result == 'skipped' || needs.custom-publish-crates.result == 'success') }}runs-on: "ubuntu-26.04"env:GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}diff --git a/Cargo.toml b/Cargo.tomlindex ae62864..43dc8fa 100644--- a/Cargo.toml+++ b/Cargo.toml@@ -10,6 +10,8 @@ homepage = "https://github.com/emanuele-em/kanzo"readme = "README.md"keywords = ["kanban", "mcp", "agents", "todo", "board"]categories = ["command-line-utilities"]+# Only what builds Kanzo: the README's screenshots and the repo's GitHub files stay out.+exclude = ["/docs", "/.github", "/dist-workspace.toml", "/rustfmt.toml"][dependencies]anyhow = "1.0.104"diff --git a/README.md b/README.mdindex faf6094..4a870b3 100644--- a/README.md+++ b/README.md@@ -23,7 +23,7 @@ Kanzo is a kanban board in your browser and an MCP server in one small program,curl -LsSf https://github.com/emanuele-em/kanzo/releases/latest/download/kanzo-installer.sh | sh```-For macOS and Linux, including every Raspberry Pi. Or build it: `cargo install --git https://github.com/emanuele-em/kanzo`.+For macOS and Linux, including every Raspberry Pi. Or with Cargo: `cargo install kanzo`.## Use@@ -87,11 +87,11 @@ mcp_http = true # MCP at /mcp| | || --- | --- |-| Program | 4.3 MB, SQLite included |-| Memory | 4.4 MB idle, 9 MB with 3,000 tasks |-| Start | 3 ms |+| Program | 4.4 MB, SQLite included |+| Memory | 4.5 MB idle, 11 MB with 3,000 tasks |+| Start | 2 ms || Board of 3,000 tasks | 17 ms to load in the browser |-| Agents' tool list | about 800 tokens, once per session |+| Agents' tool list | about 900 tokens, once per session || Agents' replies | 10 to 60 tokens of plain text |Measured on an Apple M4.diff --git a/dist-workspace.toml b/dist-workspace.tomlindex d836905..61da46d 100644--- a/dist-workspace.toml+++ b/dist-workspace.toml@@ -26,6 +26,8 @@ install-path = "CARGO_HOME"hosting = "github"# Whether to install an updater programinstall-updater = false+# Also publish each release to crates.io, for `cargo install kanzo`+publish-jobs = ["./publish-crates"]# Build on the newest runners: Ubuntu 26.04 LTS and macOS 26. dist's defaults,# Ubuntu 22.04 and macOS 14, are deprecated on GitHub.