git-bug/git-bug

▲ 55 stars today★ 10,606⑂ 331

Distributed, offline-first bug tracker integrated in git

About git-bug/git-bug

git-bug/git-bug is an open-source project on GitHub, mainly written in Go. Distributed, offline-first bug tracker integrated in git It currently holds 10,606 stars and 331 forks with 154 open issues, and was last pushed on 2026-09-26 (repository created 2018-07-12).

Project Overview

Git Homed tracks it on the Today's Trending board, currently at rank #40 with 55 new stars today.

GitHub Repository Details

Repository git-bug/git-bug · default branch trunk · size 36261 KB · watchers 78 · source: GitHub REST API and repository README

README

git-bug

[![Build Status][ci/badge]][ci/url] [![Backers on Open Collective][backers/badge]][oc] [![Sponsors on Open Collective][sponsors/badge]][oc] [![GPL v3 License][license/badge]][license/url] [![GoDoc][godoc/badge]][godoc/url] [![Matrix][matrix/badge]][matrix/url]

[Issues] - [Documentation][doc] - [Discussions][discuss]

git-bug is a bug tracker that:

Installation

See [INSTALLATION.md][doc/install] for the complete guide, including how to build from source and verify your install.

Workflows

There are multiple ways to use git-bug. See [the workflow documentation][doc/usage/workflows] for the details.

Native workflow

https://github.com/git-bug/git-bug/blob/HEAD/Native workflow

This is the pure git-bug experience. In a similar fashion as with code, use git bug push and git bug pull to push and pull your bugs between git remotes and collaborate with your teammate.

Bridge workflow

https://github.com/git-bug/git-bug/blob/HEAD/Bridge workflow

As git-bug has bridges with other bug-trackers, you can use it as your personal local remote interface. Sync with git bug bridge pull and git bug bridge push, work from your terminal, integrate into your editor, it's up to you. And it works offline!

Web UI workflow (WIP)

https://github.com/git-bug/git-bug/blob/HEAD/Web UI workflow

Often, projects need to have their bug-tracker public and accept editions from anyone facing a problem. To support this workflow, git-bug aims to have the web UI accept external OAuth authentication and act as a public portal. However the web UI is not up to speed for that yet. Contributions are very much welcome!

CLI usage

Create a new identity:

git bug user create

Create a new bug:

git bug add

Your favorite editor will open to write a title and a message.

You can push your new entry to a remote:

git bug push []

And pull for updates:

git bug pull []

List existing bugs:

git bug ls

Filter and sort bugs using a [query][doc/usage/query]:

git bug ls "status:open sort:edit"

Search for bugs by text content:

git bug ls "foo bar" baz

You can now use commands like show, comment, open or close to display and modify bugs. For more details about each command, you can run git bug --help or read the [command's documentation][doc/cli].

Interactive terminal UI

An interactive terminal UI is available using the command git bug termui to browse and edit bugs.

Termui recording

Web UI

You can launch a rich Web UI with git bug webui. Browse, search and filter issues, open new ones, comment, and edit titles, labels and status. It also doubles as a code browser for your repository, with a file tree, syntax-highlighted files, commit history and diffs.

https://github.com/git-bug/git-bug/blob/HEAD/An issue with its comments and timeline

https://github.com/git-bug/git-bug/blob/HEAD/Browsing the repository code

The web UI is packed inside the same go binary and served by a local http server. It talks to the backend through a GraphQL API, whose schema is available [here][gql-schema].

Bridges

git-bug can import from and export to Github, Gitlab, Jira and Launchpad. See the [feature matrix][doc/feature-matrix] for what each bridge supports, and the [bridge documentation][doc/usage/bridges] for the full guide.

Interactively configure a new bridge:

git bug bridge new

Or manually:

git bug bridge new \
    --name= \
    --target=github \
    --url=https://github.com/git-bug/git-bug \
    --login= \
    --token=

Import bugs:

git bug bridge pull []

Export modifications:

git bug bridge push []

Delete a bridge:

git bug bridge rm []

Internals

Interested in how it works? Have a look at the [data model][doc/design/model] and the [internal bird-view][doc/design/arch].

The on-disk format is formally specified in the [git-bug spec][spec], covering the DAG entity format, identities and the bug entity. Read that if you want to write another implementation or a tool that reads git-bug data directly.

Or maybe you want to make your own distributed data-structure in git?

See also all the [docs][doc].

Misc

Planned features

The [feature matrix][doc/feature-matrix] gives a good overview of what is planned, without being exhaustive.

Additional planned features:

Contribute

PRs accepted. Drop by the [Matrix room][matrix/url] for a chat, look at the [feature matrix][doc/feature-matrix] or browse the [issues] and [discussions][discuss] to see what is worked on or discussed.

See [CONTRIBUTING.md][contrib] to get a development environment going, build the project and run the tests. To work on the web UI, have a look at its dedicated README.

Contributors :heart:

This project exists thanks to all the people who contribute.

Backers & sponsors

Thank you to all our backers and sponsors! 🙏 [[Become a backer or sponsor][oc]]

https://github.com/git-bug/git-bug/blob/HEAD/Backers

https://github.com/git-bug/git-bug/blob/HEAD/Sponsors

License

Unless otherwise stated, this project is released under the [GPLv3][license/url] or later license © Michael Muré.

The git-bug logo by [Viktor Teplov][gh/vandesign] is released under the [Creative Commons Attribution 4.0 International (CC BY 4.0)][license/logo] license © Viktor Teplov.

[backers/badge]: https://opencollective.com/git-bug/backers/badge.svg [ci/badge]: https://github.com/git-bug/git-bug/actions/workflows/trunk.yml/badge.svg [ci/url]: https://github.com/git-bug/git-bug/actions/workflows/trunk.yml [contrib]: ./CONTRIBUTING.md [discuss]: https://github.com/git-bug/git-bug/discussions [doc]: ./doc [doc/cli]: ./doc/md/git-bug.md [doc/design/arch]: ./doc/design/architecture.md [doc/design/model]: ./doc/design/data-model.md [doc/feature-matrix]: ./doc/feature-matrix.md [doc/install]: ./INSTALLATION.md [doc/usage/bridges]: ./doc/usage/third-party.md [doc/usage/query]: ./doc/usage/query-language.md [doc/usage/workflows]: ./doc/usage/workflows.md [gh/vandesign]: https://github.com/vandesign [godoc/badge]: https://godoc.org/github.com/git-bug/git-bug?status.svg [godoc/url]: https://godoc.org/github.com/git-bug/git-bug [gql-schema]: ./api/graphql/schema [issues]: https://github.com/git-bug/git-bug/issues [license/badge]: https://img.shields.io/badge/License-GPLv3+-blue.svg [license/logo]: ./misc/logo/LICENSE [license/url]: ./LICENSE [matrix/badge]: https://img.shields.io/badge/chat%20on%20matrix-%23238636 [matrix/url]: https://matrix.to/#/#git-bug:matrix.org [oc]: https://opencollective.com/git-bug [spec]: https://github.com/git-bug/spec [sponsors/badge]: https://opencollective.com/git-bug/sponsors/badge.svg

GitHub Stars & Activity

10,606Stars
331Forks
154Open issues
GoLanguage

GitHub Popularity

GitHub stars10,606
Forks331
Open issues154
Primary languageGo
LicenseGPL-3.0
Stars gained today55
Created2018-07-12
Last pushed2026-09-26

Trending History

Daily boardrank #40 · ▲ 55 stars

Related GitHub Projects

1

golang / go

Go★ 139,060⑂ 20,752▲ 30 stars
→
2

kubernetes / kubernetes

Go★ 128,061⑂ 45,499▲ 36 stars
→
3

microsoft / TypeScript

Go★ 111,249⑂ 15,184▲ 19 stars
→
4

junegunn / fzf

Go★ 83,282⑂ 3,943▲ 21 stars
→
5

mudler / LocalAI

Go★ 49,304⑂ 4,474▲ 20 stars
→
6

trufflesecurity / trufflehog

Go★ 28,148⑂ 2,601▲ 53 stars
→
7

putyy / res-downloader

Go★ 20,268⑂ 2,520▲ 68 stars
→
8

Billionmail / BillionMail

Go★ 15,702⑂ 1,721▲ 26 stars
→

More Trending Repositories