Your Redmine issues, in a terminal.
A keyboard-first client that asks the tracker only for what’s on screen.
$ npm install -g redline-tuiNeeds Node 24 or later.
$ brew tap odonckers/redline \
https://github.com/odonckers/redline
$ brew install redline
Quiet on the network.
Redline loads the page on screen and nothing else. Every request goes through four steps.
Cache
Answers stay on disk. A stale one shows at once and refreshes in the background.
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.
Backoff
A
429or503pauses every request to that tracker for as long asRetry-Aftersays.Budget
When the tracker reports the requests you have left, the status line shows them.
One query language for every tracker.
The provider runs what it can on the server. Redline filters the rest and marks the list with ≈.
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
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.
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
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