Skip to content

A lightweight and customizable Reading Progress Bar plugin for Publii. This plugin adds a smooth, responsive progress indicator at the top of your posts, showing readers how far they’ve scrolled through an article.

License

Notifications You must be signed in to change notification settings

freaks-dev/publii-reading-progress-bar-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📖 Reading Progress Bar – Publii Plugin

A lightweight and customizable Reading Progress Bar plugin for Publii.
This plugin adds a smooth, responsive progress indicator at the top of your posts, showing readers how far they’ve scrolled through an article.

This Plugin is in no way affiliated with Publii and is developed independently by the developer, the name Publii in this file is only used to indicate that the plugin is made to be used in Publii App.


✨ Features

  • Adjustable bar height (1–50px)
  • Beautiful gradient color customization (start & end)
  • Optional shadow for depth
  • Custom content selector support
  • Option to enable in Preview Mode
  • Simple, fast, and works on all posts automatically

⚡ Example Screenshots

Screenshot 1

Screenshot 2


⚙️ Installation

Option 1: Through Publii Interface

  1. Open Publii.
  2. Go to Menu → Plugins.
  3. Click Add New Plugin.
  4. Select the downloaded ZIP file (readingProgressBar.zip).
  5. Click Install.

Option 2: Manual Installation

  1. Extract the plugin ZIP file.
  2. Copy the entire folder named readingProgressBar to: [Your Publii Site Directory]/plugins/
  3. Restart Publii and enable the plugin from the Plugins section.

🧠 Usage

Once installed and activated:

  1. Open Plugin Settings.
  2. Adjust height, gradient colors, and shadow as desired.
  3. (Optional) Change the Content Selector if your theme uses a different post content class.
  4. Save and republish your site to see the progress bar in action.

🧩 Configuration Options

Setting Description Default
Progress Bar Height (px) Controls the bar thickness 5
Gradient Start Color Starting color of the bar #00c6ff
Gradient End Color Ending color of the bar #0072ff
Shadow Color Optional shadow below bar #00c6ff
Content Selector Main content container .content__entry
Enable in Preview Mode Show progress bar in preview false

📦 Folder Structure

readingProgressBar/ ├── plugin.json ├── main.js ├── thumbnail.svg └── LICENSE


🧑‍💻 Contributing

Pull requests and feature suggestions are always welcome!
If you find a bug or have an idea for improvement, open an issue.


🧾 License

Licensed under the GNU General Public License v3.0.
See LICENSE for details.


🕓 Changelog

v1.0.1

  • Initial release 🎉

About

A lightweight and customizable Reading Progress Bar plugin for Publii. This plugin adds a smooth, responsive progress indicator at the top of your posts, showing readers how far they’ve scrolled through an article.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published