/retype

Practice typing with epub books

Primary LanguagePython

retype

GitHub latest release Read the Docs

retype is a free and open-source typing practice application that allows you to type along to epub books. It saves your progress so you can come back where you left off.

https://raw.githubusercontent.com/plu5/retype/main/docs/_static/img/col.png

Source code:https://github.com/plu5/retype
Issue tracker:https://github.com/plu5/retype/issues
Documentation:https://retype.readthedocs.io/

To run retype, you can download the latest build for your operating system, build it yourself, or run it from sources.

  1. Get a local copy of this repository: either clone it or download and extract ZIP of latest
  2. Install the dependencies [pip3 install -r requirements.txt]
  3. Install pyinstaller and setuptools [pip3 install pyinstaller setuptools]
  4. Run python3 setup.py b and help text will print with the build options you can use. For example, python3 setup.py b -k onedir will build retype with pyinstaller in onedir mode.

The output will be in /dist.

  1. Get a local copy of this repository: either clone it or download and extract ZIP of latest
  2. Install the dependencies [pip3 install -r requirements.txt]
  3. Run bin/retype. On Windows, you can simply double-click on bin/retype.pyw. From console, you can run python3 bin/retype.

Required:

  • Python 3.7 or higher
  • PyQt5
  • ebooklib
  • tinycss2

Optional:

  • pywin32 -- Windows-only. This is only used for optionally hiding the System Console window.
  • pytest -- to run tests
  • pyinstaller and setuptools -- to build retype
  • Sphinx and sphinx-rtd-theme -- to build the docs locally

When you launch retype, you should see 5 epub books that it comes with of short classic works. You can begin reading one of them by clicking on its cover or entering >load # into the console, where # is the numerical id of the book which can be seen above the cover.

Type to progress through the book. You can see your current speed in words per minute on the graph above the modeline and your personal best.

Other than typing, you can navigate the book with toolbar buttons and console commands.

You can add more library search paths and customise retype’s operation in the Customisation Dialog, which can be accessed from the menu or by Ctrl+O.

More information on the user interface and available features can be found in the documentation.