fj
Handle issues and pull requests without leaving the terminal.
If you use Forgejo or Gitea, every ticket sends you to the browser and interrupts your flow. fj is a minimal command-line client for Forgejo and Gitea: view, create and edit issues and pull requests right in the terminal. fj detects the repository from the git remote and fetches credentials through git credential.
Less browser, better overview.
- Ticket work in the terminal. List, show, create, edit, close and comment on issues, including labels, milestones, deadlines and time tracking. Pull requests can be listed, shown, created, edited and closed. New tickets are written in your editor from a template.
- Overview of the whole instance. With
--global, fj lists issues and pull requests from all repositories your account can see, plus full-text search.fj statussummarises a repository: open tickets, latest release, pre-releases published since then, linked packages and the last Actions run.fj release list(including pre-releases) andfj package listshow releases and packages;fj browseropens the repository, an issue or a pull request in the web browser. - Scriptable and convenient.
--jsonlets you post-process output, for example withjq. Shell completion for bash, zsh and fish also offers live data such as ticket numbers and labels. Invoked asgit-fj, fj becomes a git subcommand (git fj issue list).
For developers and administrators who use Forgejo or Gitea and like to work in the terminal.
Open source (Apache-2.0), version 0.x. The source code is public. The latest published version is 0.5.4 (Linux binary for amd64 and Debian package); for other platforms build it yourself with go install. Planned, not implemented yet (open tickets, no schedule): driving Forgejo Actions (list, run, view), discussion comments in the ticket detail view and a configurable source for workflow templates.
Bring fj to your team.
Would you like to use fj in your team or adapt it to your workflow? Describe your environment – we will discuss deployment and customisation with you.
News
Status: the only version currently listed as a release is 0.5.4; older versions (including 0.5.0 to 0.5.3) exist as git tags.
- — Release v0.5.4
- v0.5.4: new command
fj browser(aliasfj browse) opens the repository, an issue or a pull request in the web browser. Also included since 0.5.0:fj release listlists pre-releases too, andfj statusshows pre-releases since the latest release with their branch, plus the number of commits since the newest version. The release contains a Linux binary (amd64) with signature file; a Debian package 0.5.4-1 is published. - — Release v0.5.0
- v0.5.0: three new commands:
fj release listshows a repository’s releases,fj package listits linked packages, andfj statussummarises a repository at a glance. The release contains a Linux binary (amd64) with signature file; a Debian package 0.5.0-1 is published.