Closed giovannicoppola closed 6 months ago
Doesn’t look like the screenshots were taken with the correct method. The shadows are cut and too close to the edges.
sorry! I was being lazy
The new screenshots also have issues, there’s a distracting blur at each of the four corners. I tried fixing those but it takes an inordinate amount of time and isn’t perfect. Please use one of the main themes, such as Alfred Modern
, for the screenshots. That way I can also help with missing screenshots, like I could with ZotHero because I had all necessary details.
Other issues:
I have added new images. The hotkey disappears when searching labels, I have added an example without labels.
It’s not clear from looking at the workflow which steps takes one from !r
to that #
section. What’s missing between those? Also, in testing I bumped into this:
Code 1: /Users/vm/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.8C289541-5026-4923-97BD-CF23B631B5F5/lib/requests/__init__.py:102: RequestsDependencyWarning: urllib3 (1.26.15) or chardet (5.1.0)/charset_normalizer (2.0.12) doesn't match a supported version!
warnings.warn("urllib3 ({}) or chardet ({})/charset_normalizer ({}) doesn't match a supported "
Traceback (most recent call last):
File "/Users/vm/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.8C289541-5026-4923-97BD-CF23B631B5F5/readwise-query.py", line 17, in <module>
from readwise_fun import refreshReadwiseDatabase, makeLabelList
File "/Users/vm/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.8C289541-5026-4923-97BD-CF23B631B5F5/readwise_fun.py", line 19, in <module>
from PIL import Image, ImageDraw, ImageFont
ModuleNotFoundError: No module named 'PIL'
Does this require a Homebrew Python instead of the one which ships with macOS? That’s important to mention. And is a library missing? pillow
can be installed with Homebrew, perhaps that’s what you did?
sorry I added this feature upon a user request and I forgot to add this library to requirements.txt
. However I just tried and it fails, so it will take a little while to figure it out. Also, I am happy to share my readwise token so you can test.
However I just tried and it fails, so it will take a little while to figure it out.
The conversation at https://github.com/alfredapp/gallery-edits/issues/2 might be relevant.
Also, I am happy to share my readwise token so you can test.
That would help, thank you. No rush, whenever you feel this is ready for me to take another look.
Thank you. Will be live today at http://alfred.app/workflows/giovanni/readwise/.
Preflight
The submitted workflow:
Homepage
https://github.com/giovannicoppola/alfred-readwise
Alfred Forum page
https://www.alfredforum.com/topic/20208-introducing-alfred-readwise-%F0%9F%93%9A/
Gallery page content
List, search, and open your Readwise highlights This workflow requires a Readwise account.
Usage
List and search your highlights via the![alfred-readwise](https://github.com/alfredapp/gallery-edits/assets/5774411/107c8e3d-15d3-4e7e-b9ec-a9411a949e5b)
!r
keyword#
will prompt a label search which can be added to the standard search, multiple labels supportedCreate new highlights by selecting text in any app via the Universal Action![universalAction](https://github.com/alfredapp/gallery-edits/assets/5774411/34603073-1c2c-4b3b-93fa-e0f4839c44ff)
Tags
readwise, quotes
Test data
No response
Homebrew dependencies
Pillow
Bundled libraries
requests