Hexo Word Counter

screenshot of Hexo Word Counter
hexo

:hourglass_flowing_sand: Word count and time to read of articles for Hexo, written in Rust

Overview

The Hexo Word Counter is an innovative plugin designed specifically for Hexo blogs, offering a seamless way to count words and estimate reading time for articles. Built on the robust Rust programming language, this plugin boasts remarkable speed compared to other similar tools, making it an ideal choice for bloggers looking to enhance the reading experience for their audience.

With its accurate word counting based on the Unicode® Standard, it ensures that content in multiple languages is counted precisely. This aspect is particularly beneficial for multilingual posts, providing writers with reliable metrics that can impact engagement and readability.

Features

  • Accurate Word Counting: Utilizes the Unicode® Standard Annex #29 to deliver precise word counts even for multilingual content.
  • Speed and Performance: Built with Rust, this plugin operates faster than most Hexo plugins, contributing to better blog performance.
  • Customizable Reading Speed: Allows users to set Words Per Minute (WPM) values based on their audience, enhancing time-to-read accuracy.
  • Code Block Exclusion: Offers an option to exclude text within code blocks for a more accurate word count, especially important for technical posts.
  • Theme Integration: Easily integrates with the NexT theme, enabling developers to customize settings directly within their theme configuration.
  • User-Friendly Configuration: Configurable through Hexo's _config.yml, making it simple for users to adjust settings without advanced technical knowledge.
  • Benchmarking Data: Provides users with performance metrics, allowing for a comparison of this plugin’s speed against other popular Hexo plugins.
  • Versatile Syntax Support: Compatible with various templating engines including Nunjucks, Ejs, and Pug, which facilitates easy integration into different themes.
hexo
Hexo

Hexo is a static site generator built with Node.js that enables developers to create fast and efficient websites using Markdown, EJS, and Stylus. It offers features such as server-side rendering, plugin support, and easy deployment to hosting services like GitHub Pages and Netlify.

eslint
Eslint

ESLint is a linter for JavaScript that analyzes code to detect and report on potential problems and errors, as well as enforce consistent code style and best practices, helping developers to write cleaner, more maintainable code.