CLI Command Reference

Complete reference for reedle-cli v0.3.0. All commands support --json and --no-color global flags.

Auth

CommandDescription
auth token <rdk_xxx>Set your Personal Access Token (get from Settings → Integrations)
auth whoamiShow currently authenticated user
auth logoutRemove stored credentials

Save content to library

CommandFlagsDescription
save <url>-t <tag> (repeatable)Save a web article. Processing is async — article appears in inbox within seconds.
save-youtube <url>--lang <code>, -l <list_id>Save a YouTube video with its transcript. Pass URL or video ID.
save-bilibili <url>--cookie <str> (required), --page <n>, -l <list_id>Save a Bilibili video transcript. Cookie required — get from browser devtools.

Read without saving

CommandFlagsDescription
read <url>--youtube, --bilibili, --llm, --save, --lang, --cookieExtract content from a URL without saving to library. Costs credits. Output goes to stdout for piping.
Examples
reedle read https://arxiv.org/abs/2310.06825 | glow
reedle read https://youtu.be/dQw4w9WgXcQ --youtube | less

Library navigation

CommandFlagsDescription
list-t <tag>, -l <list_id>, -s <status>, --starred, -n <limit>, --offset <n>List articles in your library
show <id>Show article metadata: title, URL, site, status, tags, highlights count
cat <id>Output full article content to stdout. Pipe-friendly: reedle cat <id> | glow
open <id>Open article in browser (web app)
search <query>--semantic, -n <limit>Search by keyword or AI semantic search
tagsList all tags with counts
listsList all reading lists

Actions

CommandDescription
star <id>Star an article
unstar <id>Unstar an article
archive <id>Archive an article (per-user, doesn't affect others)
unarchive <id>Unarchive an article
delete <id> --forceSoft-delete an article. --force required to prevent accidents.
tag <id> <tag>Add a tag to an article
untag <id> <tag>Remove a tag from an article

Interactive TUI

CommandFlagsDescription
browse-t <tag>, --starred, -l <list_id>Open 3-pane TUI: sidebar / article list / preview. No external tools required. See Browse TUI →

TUI keyboard shortcuts

Quick reference for reedle browse key bindings.

KeyContextAction
j / kAny paneNavigate up / down
Tab3-pane viewCycle focus: sidebar → list → preview
1 / 2 / 33-pane viewJump to sidebar / list / preview
EnterList or previewOpen fullscreen reader
/3-pane viewLive search (title, site, tags)
sList paneToggle star
aList paneToggle archive
d dList paneDelete (press twice to confirm)
tList paneAdd tag (opens prompt)
oList / readerOpen in browser
r3-pane viewRefresh from API
b / EscReaderBack to 3-pane view
qReaderExit reader (back to list)
q3-pane viewQuit TUI

Scripting examples

Scripting
# Get all starred articles as JSON, extract titles
reedle list --starred --json | jq '.[].title'

# Save all URLs from a file
cat urls.txt | xargs -I{} reedle save {}

# Extract and render article in terminal
reedle cat $(reedle list --json | jq -r '.[0].id') | glow

# Search and get first result ID
reedle search "LLM reasoning" --json | jq -r '.[0].id'

# Archive all failed articles
reedle list --status failed --json | jq -r '.[].id' | xargs -I{} reedle archive {}