bio-read
Bionic reading in terminal.
🚀 Installation
If you have cargo-binstall, you can install this tool by running:
Otherwise, you can install it from source:
📖 Usage
[!NOTE] The following asciinema recording is for demonstration purposes only. It may be outdated and may not reflect the latest version of
bio-read.
For simple usage, run br with the file you want to read:
Alternatively, pipe the text you want to read into br:
|
To set fixation points, use the -f flag, which is a shorthand for --fixation-point:
|
📝 Notes
Although this tool aims to be as close to the original bionic reading as possible, it is not exactly the same. Notably, the behavior differs when a word is too long, and it handles special characters differently. However, this tool is open-source, and guarantees linear time complexity and and constant memory usage.
On some terminals, you may need to configure emphasized text style to be "bold" for displaying ansi styles properly. Taking Windows Terminal for example, you'll need to set profiles.defaults.intenseTextStyle to "bold" or "all" in the settings.json file, or configure it in the settings UI.