HUB
Sign inSign up
flint logo

yusoltsev/flint

By yusoltsev

•Updated 6 days ago

Self-hosted issue tracker and Markdown wiki for teams that run Gitea

Image
0

2.4K

yusoltsev/flint repository overview

⁠Flint

Build Status Codecov GitHub Release npm package Docker Image (docker.io) Docker Image (ghcr.io) Docker Image Size

An issue in Flint with its pull request, branch, commit and passing CI check

Flint is a self-hosted issue tracker and Markdown wiki for teams on Gitea⁠. People sign in with their Gitea accounts, and any branch, commit or pull request that mentions ENG-12 shows up on that issue with its CI checks. A CLI does everything the UI does, so coding agents can work in Flint too.

  • Issues: lists and boards per project and across projects in My issues, labels, checklists, keyboard shortcuts and a Cmd+K command menu that remembers recent issues and pages. An issue opens in a side panel beside the list or as a full page, as you choose in Preferences.
  • Wiki: nested pages with revision history, Mermaid diagrams and issue links, listed in a tree you can fold and filter.
  • Search: full text, plus optional semantic search through an embeddings API.
  • Live: edits and comments reach every open tab. A teammate's comment waits behind a pill while you are writing a reply or reading further up, a notice says when their change moves an issue out of your view, the header shows when the connection drops and Flint reconnects, and avatars in the issue and project headers show who else has them open.
  • Phone to 4K: every page fits a 393 px phone, and wide screens put the list next to the full issue layout and give wiki diagrams and tables more room.

⁠Quick start

You need Bun⁠ and Docker Compose 2.24.0 or newer. Docker runs the dependencies; Flint runs with bun run dev, locally and in Codespaces⁠.

git clone https://github.com/yegor-usoltsev/flint.git && cd flint
bun install
cp .env.example .env
bun run bootstrap
bun run dev                   # leave it running
bun run demo                  # in a second terminal

Open http://localhost:4700⁠, choose Continue with Gitea and sign in as alice with the password password (or bob, or carol). The demo fills the Acme Corp workspace with issues, comments and wiki pages, and opens a pull request in Gitea (http://localhost:4701⁠) that shows up on ENG-5. Without it, Flint first asks for a workspace, and Include demo data there adds a Getting started project and wiki page.

For another device, set PUBLIC_HOST in .env to this machine's IP or host name and PUBLIC_HOST_BIND=0.0.0.0, rerun bun run bootstrap, restart bun run dev and open http://<PUBLIC_HOST>:4700. This exposes Gitea, PostgreSQL, S3 and its console with fixed development credentials: use a trusted network only. docker compose down -v deletes all data.

⁠Self-hosting

Run the yusoltsev/flint image next to Gitea, PostgreSQL and an S3 bucket, as docs/self-hosting.md⁠ describes.

⁠CLI and coding agents

$ npm install -g @yusoltsev/flint-cli
$ flint login --url https://flint.example.com
$ flint issue branch ENG-5
alice/ENG-5-format-prices-for-the-customer-s-locale

npx skills add yegor-usoltsev/flint teaches a coding agent to use it. More in cli/README.md⁠.

⁠Limitations

  • Gitea only, and every workspace member sees links from every repository on the instance, private ones included.
  • No notifications by email or in the app.
  • Fixed statuses: Backlog, Todo, In Progress, In Review, Done and Canceled.
  • 1,000 issues per list: past that, a list or board loads the first issues of every status and says "Showing N of M" under each status it cuts; filters run on the server, so narrowing them shows issues past the cut, still up to 1,000 per list. flint issue list pages with --offset.
  • One container per database: live updates and presence avatars reach only tabs connected to the container that made the change.
  • Offline edits: unsaved issue and page text stays in the browser as a draft, which signing in as another user clears. An open editor whose save failed on a network error, rate limit or server error retries once on reconnect, and a conflict asks you to choose. Drafts restored after a reload, closed editors and rolled-back property edits do not retry.
  • Images: only static JPEG, PNG and WebP are scaled down and stripped of metadata; GIF, AVIF, HEIC, APNG and animated WebP are stored as uploaded.

⁠Development

docs/development.md⁠ covers worktrees, Codespaces and releases; AGENTS.md⁠ holds the checks and code conventions.

⁠License

MIT⁠

Tag summary
Recent tags
Content type
Image
Digest
sha256:873c72921…
Size
65.8 MB
Last updated
6 days ago
docker pull yusoltsev/flint:latest