reader

command module
v0.0.0-...-65166b9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 28, 2025 License: MIT Imports: 9 Imported by: 0

README

reader - Readwise Reader CLI

A command-line interface for interacting with the Readwise Reader API.

Installation

go install github.com/tcnksm/go-readwise-reader/cmd/reader@latest

Configuration

Set your Readwise access token as an environment variable:

export READWISE_ACCESS_TOKEN="your-token-here"

You can get your access token from: https://readwise.io/access_token

Usage

List Documents

List all documents in your "new" location:

reader list

Output is pretty-printed JSON array of documents.

Create Document

Add a new document by URL:

reader create https://example.com/blog/interesting-article

Returns the created document as pretty-printed JSON.

Update Document

Update existing document properties:

reader update --title "New Title" 01k0g64pkqq9w6vh6mz7jtwbvv
reader update --location later --category article 01k0g64pkqq9w6vh6mz7jtwbvv

At least one field must be specified. Returns updated document as JSON.

Delete Document

Remove a document by ID:

reader delete 01k0g64pkqq9w6vh6mz7jtwbvv

Returns success confirmation or error message.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址