LinuxCommandLibrary

pocket

TLDR

Add URL to Pocket

$ pocket add [url]
copy
List saved items
$ pocket list
copy
Archive an item
$ pocket archive [item_id]
copy
Search saved items
$ pocket search [query]
copy

SYNOPSIS

pocket command [options] [args]

DESCRIPTION

pocket is a command-line client for the Pocket read-later service. It allows managing your Pocket list from the terminal, including adding, listing, and organizing saved articles.

PARAMETERS

add url

Add URL to Pocket.
list
List saved items.
archive id
Archive an item.
delete id
Delete an item.
search query
Search saved items.
favorite id
Favorite an item.

EXAMPLES

$ # Add article
pocket add https://example.com/article

# List unread items
pocket list

# Archive item
pocket archive 12345

# Search for tag
pocket search --tag programming

# Export list
pocket list --format json > pocket.json
copy

AUTHENTICATION

$ # First run requires authentication
pocket auth

# Uses OAuth to get access token
# Token stored in config file
copy

CAVEATS

Requires Pocket account and API authentication. Third-party CLI client - features may vary by implementation.

HISTORY

Pocket CLI clients are community-developed tools for interacting with the Pocket service (originally Read It Later), acquired by Mozilla in 2017.

SEE ALSO

curl(1), wget(1), wallabag(1)

Copied to clipboard