Reade is a LaunchBar action to interact with the Readwise and Reader APIs. It can add highlights to Readwise, save URLs and text to Reader, and list Reader items.
Open Reade in LaunchBar, hit the spacebar, enter an action or command, then hit return.
add TEXT
: Create a new highlight in Readwise with the enteredTEXT
and return its URL.add
: Create a new highlight in Readwise with text from the clipboard and return its URL.
Highlights created with the add
action will be saved in a Readwise book titled “Highlights saved by Reade.” This is configurable with the title
config option.
save URL [TAGS]
: Save a URL to Reader. Any words after theURL
(comma-delimited) will be added as tags, e.g.,tag one, tag two
.save
: Save to Reader using a URL or text from the clipboard. The clipboard can contain raw HTML, text, or Markdown. If the clipboard contains Markdown, it will be converted to HTML. This mode doesn’t support adding tags.
list [CATEGORY] [LOCATION]
: List recent Reader items, optionally filtered byCATEGORY
and/orLOCATION
(which can be specified in either order).CATEGORY
can be one of:article
,email
,epub
,highlight
,note
,pdf
,rss
,tweet
,video
.LOCATION
can be one of:new
,later
,shortlist
,archive
,feed
.
For example, to list all archived RSS items enter list rss archive
into Reade.
The list
action only returns 100 items (that’s enough, right?). Items are sorted by “recently saved” (but is different from all sort options in the Reader app). It doesn't appear possible to change the order of items returned by the API.
After the list displays, you can type to filter the list on title matches, like any LaunchBar list.
Output includes:
- Icon indicating the category of the content, e.g., ✉️ for email items.
- Title.
- Subtitle.
- Reading progress %.
- Publication date.
Keyboard shortcuts for selected item:
↵
(return) Open the item in Reader.⌘ ↵
(command + return) Open the source URL in your browser.⌃ ↵
(control + return) Open the source URL in Quick Look (also with⌘ Y
).⇧ ↵
(shift + return) Insert the source URL at the cursor’s current position in any app.
Commands are used to manage Reade itself:
help
: Display a short user guide.config list
: Show current configuration settings.config reset
: Reset all configuration options to default.config set OPTION VALUE
: Set the configurationOPTION
toVALUE
, e.g.,config set default_action alert
.version
: Display Reade version and check if a new version is available.
Prerequisites:
- You must have LaunchBar installed.
- You must have a Readwise account and an API token.
- Create a Readwise account.
- Get an API token.
- Download
Reade.lbaction.zip
from releases. - Unzip it, and double-click the resulting
Reade.lbaction
file to install (or manually move it into~/Library/Application Support/LaunchBar/Actions/
). - (optional) If you get this warning message, run the following command in Terminal.app to remove the Gatekeeper quarantine attribute:
xattr -d com.apple.quarantine ~/Library/Application\ Support/LaunchBar/Actions/Reade.lbaction
- Open LaunchBar and type
reade
to invoke Reade. - Hit the spacebar, type
config set token YOURTOKENHERE
, and hit return to save your API key in LaunchBar:
(Alternatively, you can use export READWISE_TOKEN="…"
in your shell profile.)
Now you’re ready to use Reade!
- Run the
version
command to check for new versions. - Download the new
Reade.lbaction.zip
file from releases, unzip it, and double-click it to install. - Read the changelog on the release page, which may have special instructions such as a requirement to run
config reset
after updating.
The following options can be changed using the config set OPTION VALUE
command.
To view currently-set values, send the config list
command.
To reset all configuration options to default, send the config reset
command.
token
: Your Readwise API key (default: empty or imported from$READWISE_TOKEN
).title
: The title used for highlights, by default: “Highlights saved by Reade”.timeout
: How many seconds to wait for a response from the API (default:10
).
Contact me on Mastodon, or create a GitHub issue.
Do you find this free software useful? Say thanks with a coffee!