readremaining
Security covered
Tell your readers how long they'll need to get through all of your gibberish, with this clever module. With ReadRemaining.js,
TL;DR is a thing of the past.
The module implements the ReadRemaining.js library and shows a small, non-annoying gauge with the estimated remaining reading time on the content types you choose.
Requirements
- Drupal 11 or 12
- The ReadRemaining.js library (MIT) — installed automatically via Composer (see below)
Installation
Recommended (Composer): add the library's package definition to the repositories section of your root composer.json (full snippet in the module's README.txt), then run:
composer require drupal/readremainingThis fetches the library into /libraries/readremaining automatically. You can also install the library manually: download version 1.0.x, rename the folder to readremaining, and place it in /libraries/.
Configuration
- Enable the module.
- Go to Administration » Configuration » System » ReadRemaining (
/admin/config/system/readremaining). - Select the content types it should be active on.
- Optionally tweak the DOM selector, look & feel, and JavaScript settings.
- Save, then view a node of a selected content type.