Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/giovannicoppola/alfred-readwise

An Alfred Workflow for your Readwise account
https://github.com/giovannicoppola/alfred-readwise

alfred alfred-workflow kindle quotes readwise

Last synced: 3 months ago
JSON representation

An Alfred Workflow for your Readwise account

Awesome Lists containing this project

README

        

# alfred-readwise
## An Alfred Workflow for your [Readwise](https://readwise.io/) account

Downloads

![](images/alfred-readwise.png)

![](images/alfred-readwise.gif)

- [Motivation](#motivation)
- [Setting up](#setting-up)
- [Basic Usage](#usage)
- [Known Issues](#known-issues)
- [Acknowledgments](#acknowledgments)
- [Changelog](#changelog)
- [Feedback](#feedback)

Motivation โœ…

- Quickly list, search, and open your Readwise highlights
- Add new highlights to your account through Alfred

Setting up โš™๏ธ

### Needed
- Alfred 5 with Powerpack license
- A [Readwise](https://readwise.io) license
- Python3 (howto [here](https://www.freecodecamp.org/news/python-version-on-mac-update/))
- Download `alfred-readwise` [latest release](https://github.com/giovannicoppola/alfred-readwise/releases/latest)

## Default settings
- In Alfred, open the 'Configure Workflow' menu in `alfred-readwise` preferences
- set the keyword for the workflow (default: `!r`)
- set the keyword to force refresh (default: `readwise:refresh`)
- set the Readwise API token (login into your account, then copy it [here](https://readwise.io/access_token))
- set what to show in results: `books`, `tweets`, `supplementals`, `articles`, `podcasts`
- set refresh rate (in days). Default: `30`
- set 'book' name from highlights entered via Alfred. Default: `Highlights from Alfred`
- set search scope:
- `Highlight`: search highlight text only
- `Book`: search book titles only
- `Both` (default): search across highlights and book titles

Basic Usage ๐Ÿ“–

## Searching your Readwise database ๐Ÿ”
- launch with keyword (default: `!r`), or custom hotkey
- standard search will be through highlight text and book titles. Multiple word (fragments) supported
- typing `#` will prompt a label search which can be added to the standard search, multiple labels supported
- `enter` โ†ฉ๏ธ will show the highlight in large font and copy to clipboard
- `shift-enter` โ‡งโ†ฉ๏ธ will show the highlight in large font and copy to clipboard without closing Alfred
- `command-enter` โŒ˜โ†ฉ๏ธ will open the source URL if available (typically for tweets)
- `ctrl-enter` ^โ†ฉ๏ธ will open the highlight on Readwise
- `shift-ctrl-enter` โ‡ง^โ†ฉ๏ธ will open all highlights from that book on Readwise
- `shift` alone: Quicklook of your highlight.

## Entering new highlights โญ
- Universal Action: new highlights can be created by selecting text in any app, then launching Universal Actions and selecting `Create a new Readwise highlight`. The corresponding text will be assigned to a 'book' titled as set in `alfred-readwise` preferences (default: `Highlights from Alfred`).

## Database refresh ๐Ÿ”„
- will occur according to the rate in days set in `alfred-readwise` preferences, or...
- `readwise:refresh` to force database refresh

Limitations & known issues โš ๏ธ

- None for now, but I have not done extensive testing, let me know if you see anything!

Acknowledgments ๐Ÿ˜€

- Thanks to the [Alfred forum](https://www.alfredforum.com) community!
- Icons:
- https://www.iconarchive.com/show/multipurpose-alphabet-icons-by-hydrattz/Letter-R-violet-icon.html
- https://www.flaticon.com/free-icon/book_3145755?term=book&related_id=3145755
- https://www.flaticon.com/free-icon/podcast_2628834?term=podcast&page=1&position=8&origin=search&related_id=2628834
- https://www.flaticon.com/free-icon/twitter_3670151?term=tweet&page=1&position=3&origin=search&related_id=3670151
- https://www.flaticon.com/free-icon/additional_9710962?term=additional&page=1&position=12&origin=search&related_id=9710962
- https://www.flaticon.com/free-icon/tags_1374863?term=label&page=1&position=19&origin=search&related_id=1374863
- https://www.flaticon.com/free-icon/checkbox_1168610?term=done&page=1&position=18&origin=search&related_id=1168610
- https://www.flaticon.com/free-icon/operating-system_10294204?term=update&page=1&position=30&origin=search&related_id=10294204

Changelog ๐Ÿงฐ

- 04-04-2023: version 0.1

Feedback ๐Ÿง

Feedback welcome! If you notice a bug, or have ideas for new features, please feel free to get in touch either here, or on the [Alfred](https://www.alfredforum.com) forum.