Use this file to discover all available pages before exploring further.
The Matter CLI lets you manage your library from the terminal. It works in two modes: CLI mode for scripting and automation (JSON output by default), and an interactive TUI for browsing your library visually.
# Opens browser to copy your API tokenmatter login# Or pass a token directlymatter login mat_yourtoken# Piped input (for automation)echo "$MATTER_TOKEN" | matter login
Your token is stored at ~/.config/matter/config.json. See Authentication for how to generate a token.
# Check your accountmatter account --plain# List your queuematter items list --status queue --plain# Save a URLmatter items save --url "https://paulgraham.com/greatwork.html"# Get a specific item with full detailsmatter items get itm_r9f3a# List annotations on an itemmatter annotations list --item itm_r9f3a# Tag an itemmatter tags add --item itm_r9f3a --name "essays"# Archive an itemmatter items update itm_r9f3a --status archive
# First pagematter items list --limit 10# Next page (use next_cursor from previous response)matter items list --limit 10 --cursor <cursor># Fetch all pages at oncematter items list --all