Acidham Posted May 19, 2022 Share Posted May 19, 2022 (edited) Bionic Reading is a new method facilitating the reading process by guiding the eyes through text with artificial fixation points. As a result, the reader is only focusing on the highlighted initial letters and lets the brain center complete the word. In a digital world dominated by shallow forms of reading, Bionic Reading aims to encourage a more in-depth reading and understanding of written content. See Bionic Reading Webpage for more information Requirements Python 3 Requests library pip install requests API Key: https://rapidapi.com/bionic-reading-bionic-reading-default/api/bionic-reading1/, please enter API Key in Workflow settings. Usage The Bionic Reading Workflow is implemented as an Universal Action and accessible via keyword bio Universal Action Mark an URL and enter Universal action → search for Bionic Reading in Universal Action Keyword Just type bio and enter the text Download on GIT: https://github.com/Acidham/alfred-bionic-reading/releases Edited May 19, 2022 by Acidham Link to comment
bambalados Posted May 23, 2022 Share Posted May 23, 2022 Nice stuff! Very excited to test it out! Really liked how easy you made it for users to enter their API_keys! Unfortunately I couldn't get it running. Has probably something to do with the python path on Mac. The debugger shows: [15:26:40.642] Bionic Reading[Keyword] Processing complete [15:26:40.646] Bionic Reading[Keyword] Passing output 'hello' to Run Script [15:26:40.647] Bionic Reading[Keyword] Passing output 'hello' to Run Script [15:26:40.802] ERROR: Bionic Reading[Run Script] Traceback (most recent call last): File "bionic.py", line 7, in <module> import requests ModuleNotFoundError: No module named 'requests' [15:26:40.804] Bionic Reading[Run Script] Processing complete [15:26:40.805] Bionic Reading[Run Script] Passing output '' to Run Script Already tried changing the python path at the very beginning of the bionic.py file, but can't seem to get your workflow working properly. (requests-library has been installed via bot pip install requests and pip3 install requests) would be great if anyone has a solution for this! Link to comment
bambalados Posted May 23, 2022 Share Posted May 23, 2022 Found the solution to gain access to importing requests: for usr/bin/python, run in Terminal: python -m pip install requests for usr/bin/python3, run in Terminal: python3 -m pip install requests Link to comment
Acidham Posted May 23, 2022 Author Share Posted May 23, 2022 Thx I will change documentation to ensure requests is installed for python3...Thank you! bambalados 1 Link to comment
bambalados Posted May 23, 2022 Share Posted May 23, 2022 In can anyone is wondering how it'd look like, from https://www.reuters.com/world/biden-meets-japanese-emperor-start-visit-launch-regional-economic-plan-2022-05-23/: Acidham 1 Link to comment
modusop Posted May 23, 2022 Share Posted May 23, 2022 @Acidham Thank you for this workflow - the concept sounds great. Unfortunately when I run bio some text I get a qlmanage window which looks like this ... I wondered whether it might be down to me using Brave as my default browser, I changed that back to Chrome but got the same result. Any thoughts please? Link to comment
bambalados Posted May 23, 2022 Share Posted May 23, 2022 @modusop looks like my output prior to installing the requests library for python on your computer. have you tried the debugger in Alfred to find out where the problem is? Link to comment
afridho Posted May 23, 2022 Share Posted May 23, 2022 8 hours ago, modusop said: @Acidham Thank you for this workflow - the concept sounds great. Unfortunately when I run bio some text I get a qlmanage window which looks like this ... I wondered whether it might be down to me using Brave as my default browser, I changed that back to Chrome but got the same result. Any thoughts please? change python3 bionic.py $query to /usr/local/bin/python3 bionic.py $query will fix your problem Link to comment
modusop Posted May 24, 2022 Share Posted May 24, 2022 Thanks @afridho - I'm using Homebrew so changing the command to /opt/homebrew/bin/python3 bionic.py $query worked for me. Thanks for your help Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now