Self-hosted issue tracker

The issue says Done. The pull request is still open.

team-hub is a self-hosted issue tracker for software teams: the core of Jira, tied to the code and to the knowledge base instead of bolted onto them. Where an issue’s status and its code disagree, it says so.

For developers and team leads who would rather run their own tracker than rent one.

Runs as
one server binary; SQLite in one file
Work in code
on runners: the desktop app, or a cloud runner the team shares
Interface
English and Polish, light and dark
The sprint board of a demo online store project: four columns, To Do, In Progress, In Review and Done, with twelve issue cards. On several cards, next to the issue key, sit a pull request number with a tick or a cross, a count of passing tests and an orange warning triangle. A narrow screen shows the In Review column only.
The sprint board. Next to an issue’s key sit its pull request with the state of the checks, the count of its passing tests, and a triangle where status and code disagree. The screenshots on this page show a demo project; the interface comes in English and Polish.

The tracker itself

Projects, issue types, epics and subtasks, configurable workflows, scrum and kanban boards with drag and drop, a backlog with sprint planning, releases with release notes, comments with mentions, attachments, links, time tracking, watchers and notifications, a query language, saved filters, bulk changes, an activity feed, and live updates in every open browser.

01Code

Status and code cannot silently disagree.

Connect a GitHub repository and the tracker reads what happens there. An issue key in a branch name, a commit message or a pull request title is enough to tie them together.

A panel headed “Status and code disagree” listing four issues. Under each one an orange line gives the reason: changes were requested in review; code exists, but the issue has not been started; checks are failing; in progress for days with no branch or commit.
Project → Code: four issues whose status does not match their code, each with the reason under it.

Drift

Drift is where an issue’s status and its code tell different stories. In review, but changes were requested. Still to do, though the code exists. Checks are failing. In progress for days with no branch or commit.

The same triangle shows on the board, in the backlog and in search, and drift is not empty is a query like any other.

The code is on the issue

Branches, commits and pull requests appear on the issue they mention, with the state of the review and of the checks. The command that creates the issue’s branch is one click to copy.

An issue, “Card payment through the gateway”, in status In Review: description with acceptance criteria, three subtasks, two linked issues, a Development section with the warning “Changes were requested in review”, an open pull request marked “changes requested” and “checks pass”, its branch and three commits, and a Knowledge base section with four pages that mention the issue.
The page of an issue: subtasks, linked issues, under Development its pull request, branch and three commits with the drift warning above them, and the knowledge-base pages that mention it.

The code moves the issue

A branch starts the issue, a pull request puts it in review, the last merge finishes it. Each rule is set per project and can be “do nothing”. Finished work is not reopened, and a merge finishes an issue only when none of its pull requests is still open.

Commit messages can comment, log time and move issues:

WEB-12 #comment fixed the redirect #time 1h 30m #in-review
A settings panel, “Workflow rules”, with five rows: a branch is created, moves to In Progress; a pull request is opened, moves to In Review; a review requests changes, do nothing; a review approves, do nothing; the last open pull request is merged, moves to Done.
Project settings → GitHub: what happens to an issue when something happens to its code.

02Knowledge and tests

What the team wrote down and what the tests say, on the same issue.

A knowledge base linked both ways

Spaces of Markdown pages in a tree, with history, diff and full-text search. A page that mentions WEB-10 shows up on that issue by itself, and the issue lists its pages.

A task list on a page can become issues. Confluence spaces can be imported as a mirror that is kept up to date.

A knowledge base page, “Pay by bank — notification channel”. On the left the page tree of the space: architecture, payments, decisions, meetings. The text links to issue WEB-10 and to a decision record, and has a table of contents on the right. Below the text: the issue the page mentions, and two pages that link here.
A page in the project’s space. It links to the issue it describes and to the decision record behind it; under the text are the issue it mentions and the pages that link here.

Tests that know which issue they verify

Runs of the e2e testing framework arrive through a reporter, or are started from team-hub. A test that carries an issue key in its title or tags is linked to that issue, so the issue shows whether what it describes actually works.

A failing test on an issue that is marked Done is shown for what it is.

The Tests page of a project. The latest run failed: three tests passed, one failed. Below, a table of eighteen tests, each with the issue it verifies and bars for its recent runs; the first failing test verifies WEB-14, which is marked Done.
Project → Tests: the latest run, then each test with the issue it verifies and its recent history. Here a failing test points at an issue marked Done.

Start the suite from team-hub, then watch the run

A test job has a runner check the project’s repository out, run its suite with recording on, and send everything back. A run opens as a session a person can watch: the recording with each step tied to its moment, pictures of the steps, the screenshots, the error, the trace.

Recordings were verified with videos made by hand in the framework’s format, not yet with a real recorded run.

The session of a failed test, “the board offers to complete the running sprint”. At the top the assertion error: expected the text “Finish the sprint now”, received “Complete sprint”. Below it a player with the recording stopped on the sprint board, a time line with a mark for each step, the list of six steps with their times, the last one failed, and a strip of pictures from the recording.
A failed test as a session: the error, the recording stopped at one of the steps, the steps with their times, and pictures from the recording. The run was posted by a script that plays the runner; its recording was put together from screenshots of the tracker.

03AI agents

An agent proposes, a person decides.

Work on an issue can be handed to an agent from the issue’s page: refine the description, break it into subtasks, review the pull request, implement it in code, or a task in your own words.

A run shows what the agent did, asks when it needs a decision, and ends in proposals: a comment, a status change, subtasks. Nothing changes until someone approves it, unless the project’s administrator chose to trust a kind of change.

The AI agent section of an issue. Buttons to refine the description, write acceptance criteria, break the issue down, summarise, triage, delegate the implementation or give a custom task. Below them a run, “Implement in code”, marked “needs you” and taken by a computer called Alex’s MacBook: what the agent said, and two proposals to decide, a comment that describes the change and a status change from In Progress to In Review, each with a note field and the buttons Approve and Reject. The last line shows the branch, the model, the tokens and the cost.
A run on an issue ends in two proposals, a comment and a status change, each waiting for Approve or Reject. The line at the bottom says what the run cost.

Who carries a run out

The server carries out the runs that need no code, with your own model provider key. Runs that need the repository go to a runner: the desktop app, the cloud runner, the hub command line, or anything that speaks the run contract.

Also an MCP server

A coding agent working in the repository can read its issue, comment, move it and look things up in the knowledge base, with the permissions of the person whose token it uses.

04Runners and schedule

Where the work runs, and when.

Agent runs in code and test jobs need a repository on disk. The server never does either. A runner does: the desktop app on somebody’s computer, using that computer, or the cloud runner, a container next to the server that the whole team shares.

One list

One page lists every runner: what each takes, for which projects, and what it is carrying out now. The desktop app shows the same list.

The Runners page in two groups. The team’s: two cloud runners, each marked “service” and “shared”, connected, taking test suites and agent runs for any project; one of them is carrying out a test job. Yours: one computer, connected, which takes agent runs for any project and test suites only when they are sent to it by name.
Runners: two cloud runners the team shares, one of them at work on a test job, and one person’s computer, which takes test suites only when they are sent to it by name.

Any runner, or one by name

Work can be left to any runner that fits or sent to one by name. It then waits for that runner and is offered to nobody else. A person’s computer takes work by name only from its owner.

The dialog that delegates the implementation of an issue: extra instructions, the repository, and “Where it is carried out” with four choices: any runner that fits, a computer marked “computer”, which is selected, and two cloud runners marked “shared service”. Below them the buttons Cancel and Start.
Delegating an implementation on the web: any runner that fits, your own computer, or one of the cloud runners.

A shared runner holds no keys

Each person stores their own model key and GitHub token (Settings → My keys), and their work on a shared runner runs with those. A key is encrypted at rest, no route gives it back, and it leaves the server in one place only: the answer to a shared runner that claims that person’s work.

A shared runner signs in with an administrator’s API token; it has no identity of its own with narrower rights. The cloud runner has never run on a real host.

Settings, the My keys panel. A paragraph says that a shared runner belongs to the team and has no keys of its own. Below it two keys: a GitHub token, not set, with a field to paste one into; and an Anthropic API key, set, shown by its last four characters, with Replace and Remove buttons.
Settings → My keys: a GitHub token that is not set yet, and an Anthropic API key that is set and shown by its last four characters only.

The schedule

Recurring work of a project, run every morning, after work or on demand. It catches up after downtime instead of losing a run, and a failed attempt keeps the last good result on show.

What can be scheduled comes from the modules. Today: run an agent on the issues a query finds, and run the project’s test suite.

The Schedule page of a project in three groups: Morning with one task, After work with two, On demand with one, each group with its own Run this group now button. A task is a card with a switch, what it runs, its last result and a Run now button. Three tasks run an agent on the issues a query finds. One runs the test suite and carries an orange note: the result from 12:41 is shown, because the attempt at 12:51 failed when the runner stopped answering.
A project’s schedule: one task in the morning, two after work, one on demand, of both kinds. The test suite’s latest attempt failed because its runner stopped answering, so the card keeps showing the result before it.

05Desktop app

Nothing leaves your computer without a click.

A developer’s cockpit for macOS, Windows and Linux. The issues assigned to you become agent threads: an agent works on an issue in your local clone, in a git working tree and branch of its own, and whatever should leave your computer (a comment, a status change, a push, a pull request) waits for your click. The same app is one of the team’s runners, for agent runs delegated on the web and for test suites, with this computer’s processor, memory and disk.

The safety model, in plain words

  • One working tree and branch per thread. Your checkout, index and branch are never touched.
  • The agent’s shell runs in the operating system’s sandbox: no network, writes only inside its working tree. Where the system has no sandbox, the thread gets no shell at all unless you allow one.
  • The agent never holds your token. It lives in the system keychain, and the offline copy of your tracker is encrypted.
  • File tools are tied to the working tree. Credential folders (~/.ssh, ~/.aws, ~/.config/gh, …) and the app’s own state cannot be read.

The whole list, and what was tried against a real model

The desktop app. On the left, three things to decide and one agent thread. In the middle, the thread on the issue “OpenAPI documentation for orders”: its branch, model and cost, then three proposals to decide, a comment with Approve and Reject, a push with “Review and push” and a pull request with “Review and open”, and below them the conversation, in which the agent asks whether to document both versions of the API and the person answers “Only v2.”
A thread on an issue. The agent asked one question, got an answer, committed on its branch and proposed a comment, a push and a pull request. None of them has happened yet. This is the app’s real core against a real server; a scripted stand-in for the model wrote the agent’s lines and the commit.

A push, before it happens

A push shows exactly the commits and the diff, pushes exactly the commit you looked at (a commit added since stays), and is never forced.

It is refused until you confirm by name when the diff touches CI or build files, looks like it holds a secret, or adds a binary, a link or an executable.

A dialog, “Push the branch”: the branch and the remote it goes to, the sentence “Exactly this commit is pushed. Anything the thread commits after you looked stays here”, one commit, the diff of one added file of seventeen lines, and the buttons Cancel and “Push 1 commit”.
The push preview of the same thread: one commit, its diff, and the remote it goes to.

Also a runner, on this computer

Runners opens the tracker’s list of runners in the app’s window, with this computer marked. A new thread says where it runs: this computer (the default), another runner, or any that fits.

Tests opens the project’s test jobs in the same window: it starts a suite and follows the job live. By default the app takes only the test jobs sent to this computer by name: running a suite is running a repository’s code on your machine, so it happens when you asked for it.

On Linux with bubblewrap a suite runs inside the sandbox. On macOS and Windows there is no such wrapper yet: a suite runs as you, with a clean environment.

The Runners view of the desktop app with four runners. The first, marked “This computer”, “computer” and “online”, takes test suites by name only and agent runs for project API, and is carrying out the thread on API-5. Then a second computer of the same person, and two cloud runners marked “shared service”, which take test suites and agent runs for every project.
Runners in the desktop app: this computer, which takes test suites by name only, a second computer, and the two shared cloud runners.
The Tests view of the desktop app. A form, “Run the suite”, with a branch, an optional filter and Where set to “This computer”, and a note that the suite runs with this computer’s processor and memory while the server only stores what comes back. Below it job #1, finished on Cloud runner 1, with the end of its log: three tests passed, one failed, the report is sent. A button opens the session in the browser. At the bottom the list of jobs: #2 failed, #1 finished.
Tests in the app: the form that starts a suite, here set to this computer, and the project’s jobs wherever they ran. The job that is open was carried out on a cloud runner (a script played it); its session opens in the browser, where the recording is.

Download

Installers for macOS, Windows and Linux, and the hub command line alone, are published on the repository’s releases page; 0.5.0 is the current one. You can also build the app from apps/desktop.

The installer does not contain the agent runtime. At its first start the app downloads the Claude Agent SDK with your own npm: about 165 MB on macOS and Windows, about 330 MB on Linux. So it needs Node.js 22.18 or newer, with npm.

The macOS app is signed with an Apple Developer ID and notarized by Apple. The Windows installer and the hub archives are not signed, so Windows warns at the first start. The release notes say how to get past that warning and how to check a download against SHA256SUMS.

Treat 0.5.0 as a preview. The app was written and run on Linux; its window was also run on macOS, in a development build. None of the installers was installed and tried by a person before the release, and the Windows build has never been run at all. The pictures above were taken before 0.2.0 put the tracker into the app’s window.

Release 0.5.0
System File
macOS 13 or newer, Apple silicon team-hub-desktop-0.5.0-macos-arm64.dmg
macOS 13 or newer, Intel team-hub-desktop-0.5.0-macos-x64.dmg
Windows 10 and 11, 64-bit Intel/AMD team-hub-desktop-0.5.0-windows-x64-setup.exe
Debian 12 or newer, Ubuntu 22.04 or newer team-hub-desktop-0.5.0-linux-x64.deb
Fedora team-hub-desktop-0.5.0-linux-x64.rpm
Other Linux (glibc 2.35 or newer) team-hub-desktop-0.5.0-linux-x64.AppImage
The hub command line alone hub-0.5.0-macos-arm64.tar.gz
hub-0.5.0-macos-x64.tar.gz
hub-0.5.0-linux-x64.tar.gz
hub-0.5.0-windows-x64.zip
Checksums of all of the above SHA256SUMS

What it needs besides the installer

Server
the address of a team-hub server and an API token
Node.js
22.18 or newer, with npm; not included
First start
the network, once, and about 400 MB of disk
git
and a local clone of each repository agents should work in
Model
Claude Code signed in, or an Anthropic API key

06Search, reports, plans

A query language, reports and a timeline over the same data.

The query language

Plain words search the text; a bare key opens the issue. Modules add fields of their own: pr and drift come with the code module. A query can be saved as a filter, and its result exported as CSV.

Search folds accents, so zolta finds żółta.

project = WEB AND sprint in openSprints() AND assignee = currentUser()
type = Bug AND priority >= High AND created >= -7d ORDER BY priority DESC
text ~ "kod pocztowy" AND category != done
category = done AND pr = open            -- with the github module
drift is not empty                        -- status and code disagree
The Search page with the query “project = WEB AND drift is not empty ORDER BY priority DESC” and four results in a table: key, title, status, assignee, priority, points and when the issue changed. Buttons above offer to save the filter and to export CSV.
Search: the issues of project WEB whose status and code disagree, highest priority first.

Reports reconstructed from history

Burndown, velocity, cumulative flow, cycle time and workload are computed on request from the issues’ recorded history. Nothing is stored, so a report always agrees with what the history says today.

The Reports page on the cumulative flow tab: a stacked area chart over thirty days with three bands, to do, in progress and done, all growing; twelve, six and eight issues on the last day.
Cumulative flow: how many issues sat at each stage at the end of each day.

A timeline of epics

A project’s epics as bars from start date to due date, with sprints and releases behind them. Drag a bar to plan; an epic nobody has dated shows the span its issues suggest.

The Timeline page in the months view, October to January. Three epics as bars, the filled part showing finished work; the first epic is opened to its ten issues. Behind the bars: two sprints, three release markers and a red line for today.
The timeline with one epic opened: its issues, two sprints, three releases and today’s line.

07Modules and import

Take what you need. Bring what you have.

Modules you can switch off

Everything beyond the tracker is a module: code, knowledge base, timeline, reports, tests, agents, the importers. A module can be switched off for the whole instance or for one project. Its data stays; it shows nothing and receives nothing until it is switched on again.

Or leave it out of the build and name the ones to keep:

$ cargo build --release -p hub-server \
    --no-default-features --features github,wiki

New ones plug in the same way: writing a module

Project settings, Modules: eight modules, each with a one-line description and a switch, all on. GitHub, Knowledge base, Confluence import, Jira import, Timeline, Reports, Tests (e2e) and AI agents (MCP).
Project settings → Modules. A module switched off here keeps its data, but its navigation, its panel on issues and its marks on cards disappear from this project.

Import from Jira and Confluence

Jira Cloud and Server/Data Center over their API, or a CSV export, with the issue keys kept, history, comments, worklogs, sprints, versions and links. Statuses, types and people are mapped in a preview before anything is written, and an imported project can be brought up to date again later.

Confluence spaces come into the knowledge base as a mirror.

Both imports have been tested against local fakes only, not yet against a real Jira or Confluence.

Settings, Import from Jira: a connection form with the Jira address, an e-mail and a token, a note that the token is stored encrypted and that the import only reads from Jira, and a second panel for importing a CSV file.
Settings → Import from Jira: a connection over the API, or a CSV file. The import only reads from Jira.

08How it is built

One binary, one data directory.

Server
Rust. One binary, team-hub: the HTTP API, the live stream, and it serves the built interface.
Data
SQLite in one file under the data directory, with FTS5 for text search. Attachments and the instance key sit next to it; that directory is what you back up.
Runners
Work that needs a repository on disk is not done by the server. Runners do it: the desktop app, or the cloud runner, which is the desktop app’s core run headless in a container. A cloud runner connects outwards only: to the team-hub server, to GitHub, to the model provider.
Interface
React and TypeScript, built with Vite. English and Polish, light and dark.
Modules
One folder each: a Rust crate and its screens, behind a Cargo feature. A module left out of the build has no tables, no routes and no entry in Settings.
Sign-in
Browser sessions are an HttpOnly cookie plus a CSRF token required on every write. Passwords are hashed with Argon2; sign-in attempts are rate limited. API tokens are stored hashed and shown once. Tokens of other systems are encrypted at rest with the instance key and never returned by any route.
Desktop app
A Tauri window over a Rust core that is also the hub command line. An agent’s turn runs through the Claude Agent SDK.
Licence
MIT. Nothing of Anthropic’s is in the desktop app’s installers; the Claude Agent SDK the app downloads at its first start is Anthropic’s, under Anthropic’s terms.
More
docs/architecture.md

09Run it

Three commands, or one container.

Building from source needs Rust (stable) and Node 22; the container needs only Docker.

Open http://localhost:8080. The first visit creates the administrator account, optionally with example projects, a team and a few weeks of history to look around in.

The server binds to 127.0.0.1 by default; put a TLS-terminating proxy in front before exposing it. Wherever the address is reachable by others before you have set the instance up, set TEAM_HUB_SETUP_TOKEN: creating the first account then asks for it.

Agent runs in code and test jobs also need a runner: the desktop app on somebody’s computer, or the cloud runner as a second container (docs/cloud-runner.md).

On Railway the repository deploys as it is: a volume at /data, a public domain and two variables.

From source, in a clone of the repository

$ cargo build --release
$ (cd web && npm install && npm run build)
$ ./target/release/team-hub

In a container

$ docker build -t team-hub .
$ docker run -p 8080:8080 -v team-hub-data:/data \
    -e TEAM_HUB_SETUP_TOKEN=choose-one team-hub

The image holds the server and the built interface, listens on all interfaces, and keeps everything in /data. Back up that directory.

10Not yet

What it does not do yet.

This list is the README’s, not a roadmap with dates. It is here so that you find out now rather than after you have set it up.

Missing, each meant to arrive as a module

  • E-mail notifications
  • Custom fields
  • Automation rules beyond the code-driven ones
  • GitLab as a second code host (the drift rules and badges are host-neutral already)
  • Single sign-on

Known gaps in what is there

  • Tested only against local fakes, never against the real thing: the Jira and Confluence imports, the GitHub API calls, and the server’s own agent runs (a fake model).
  • The desktop app has run on Linux only. Its macOS and Windows sandboxes, the tray, notifications and installers are unverified.
  • A shared runner signs in with an administrator’s API token: it has no identity of its own with narrower rights.
  • Recordings were verified with videos made by hand in the framework’s format, not with a real recorded run. The cloud runner has never run on a real host.
  • The server writes English. The interface puts its errors, notifications and status lines into Polish as they arrive; the descriptions of agent tools, which the agent itself reads, stay English.