Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

reader.cpp

Terminal: RSVP (Rapid Serial Visual Presentation)

// Features

  • Flashes words one at a time, centered in your terminal
  • Highlights the middle character of each word in red to anchor your gaze
  • Adjustable reading speed — change it on the fly while reading
  • Pause and resume at any time
  • Reads any plain text file
  • Lock-free single-producer single-consumer input queue for clean keypress handling

// Getting started

How to compile

make

How to use:

./run <file_name> <time-interval>

<time-interval> is optional. It sets the delay between words in microseconds. Defaults to 250000 (250ms).

./run book.txt 200000

// Keybinds

Key Action
Ctrl+p Pause / resume
Ctrl+j Slow down (increase delay by 10ms)
Ctrl+k Speed up (decrease delay by 10ms)
Ctrl+q Quit

// Licence

Use of this code is not permisable for AI/LLM or any statistical prediction model training or any adjacent use.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages