Your Redmine issues, in a terminal.

A keyboard-first client that asks the tracker only for what’s on screen.

$ npm install -g redline-tui

Needs Node 24 or later.

$ brew tap odonckers/redline \
    https://github.com/odonckers/redline
$ brew install redline

Get started Source on GitHub

Redline in a terminal. A sidebar lists a Redmine provider, its views and projects. The list shows eight issues with status and age. The open item, a bug called Timeline view with dependencies, shows its status, priority, assignee, milestone and due date. The status line reads NORMAL.
The real app, showing an issue in a local Redmine.

Quiet on the network.

Redline loads the page on screen and nothing else. Every request goes through four steps.

  1. Cache

    Answers stay on disk. A stale one shows at once and refreshes in the background.

  2. Pacer

    60 requests a minute and 2 at once per provider, by default. A burst of 8, then evenly spaced. What you wait for goes first.

  3. Backoff

    A 429 or 503 pauses every request to that tracker for as long as Retry-After says.

  4. Budget

    When the tracker reports the requests you have left, the status line shows them.

How the pacer works

One query language for every tracker.

The provider runs what it can on the server. Redline filters the rest and marks the list with ≈.

Redline after the query kind:bug status:any sort:-updated. The list shows nineteen issues with status, title, assignee and age. Rejected and closed items are dimmed.
The query kind:bug status:any sort:-updated in the real app.
s assignee:me status:open updated:>-7d login page
  ^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^
  |           |           |            free text in titles and descriptions
  |           |           changed in the last seven days
  |           not done or canceled
  assigned to you
assignee:me
assigned to you
status:open
not done or canceled
updated:>-7d
changed in the last seven days
login page
free text in titles and descriptions

Every term in the query language

Two Redmines, one list.

Add a provider for each tracker. A view without a provider covers them all.

  • Config lives in ~/.config/redline/config.toml, following XDG.
  • Tokens come only from environment variables. A provider with no token still shows, with the line to add.
  • Any string can read ${VAR} from the environment.

Every setting

config.toml
default = "work"

[providers.work]
kind = "redmine"
url = "https://redmine.example.com"
token_env = "REDLINE_WORK_TOKEN"

[providers.home]
kind = "redmine"
url = "${HOME_REDMINE_URL}"
token_env = "HOME_REDMINE_KEY"

[[views]]
name = "Bugs this week"
query = "kind:bug updated:>-7d status:open"

Vim keys. Arrows work too.

You only type in text fields. The status line says NORMAL, or INSERT while a text field has the keys.

jk
Move down and up
hl
Sidebar, list, item
/
Filter what’s loaded, no requests
s
Query the tracker
c
Comment on the item
t
Change its status
a
Assign it to you
:
Command line
?
Show every key

All keys and commands

Install it, export a token, run redline.

$ npm install -g redline-tui
$ export REDLINE_URL="https://redmine.example.com"
$ export REDLINE_TOKEN="your-api-key"
$ redline

Read the getting started guide