| Crates.io | speedreader |
| lib.rs | speedreader |
| version | 0.1.2 |
| created_at | 2025-05-05 06:32:09.067956+00 |
| updated_at | 2025-05-05 09:06:39.619112+00 |
| description | A command-line speed reading tool |
| homepage | |
| repository | https://github.com/fcasibu/speedreader |
| max_upload_size | |
| id | 1660263 |
| size | 82,081 |
A CLI tool for speed reading text with AI comprehension evaluation.
cargo install speedreader
git clone https://github.com/fcasibu/speedreader.git
cd speedreader
cargo build --release
target/release/speedreaderRead a file at the default speed (258 WPM):
speedreader --file path/to/text.txt
Read at a specific WPM:
speedreader --file path/to/text.txt --wpm 300
Read from stdin:
cat path/to/text.txt | speedreader
# or through a clipboard (example is what I use)
xclip -selection clipboard -o | speereader
SpeedReader supports a configuration file for customizing various settings. To generate a default configuration file:
speedreader --init-config
This creates a configuration file at ~/.config/speedreader/config.toml (Linux/macOS) or %APPDATA%\speedreader\config.toml (Windows).
The configuration file allows you to customize:
Example configuration:
# Words per minute
wpm = 258
# Step to adjust WPM when using + and - keys
wpm_step = 5
# AI model to use for summary evaluation
model = "deepseek/deepseek-r1:free"
# Keybindings configuration
[keys]
# Key to quit
quit = "q"
# Key to pause/resume
pause = " "
# Key to increase WPM
increase_wpm = "+"
# Key to decrease WPM
decrease_wpm = "-"
Default keybindings (can be customized in the config file):
After finishing reading, you'll be prompted to enter a summary of what you read. The summary will be analyzed by an AI model and you'll receive feedback on your comprehension.
For this feature to work, you must have an OpenRouter API key set as an environment variable:
export OPEN_ROUTER_API_KEY=your_api_key_here
Options:
-f, --file <FILE> Path of the text file to speed read
--wpm <WPM> Words per minute
--init-config Generate a default config file
-h, --help Print help
OPEN_ROUTER_API_KEY environment variable.Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License. See the LICENSE file for details.