Jekyll Stats Plugin
nesbitt.ioΒ·1w
Preview
Report Post

Jekyll doesn’t have a built-in way to see how many words you’ve written, so I made jekyll-stats.

There are existing plugins like jekyll-posts-word-count which use Liquid tags, and Raymond Camden wrote about generating stats with JSON and Vue.js. I wanted something simpler: a CLI command that just prints stats, with optional JSON output for a pure Liquid page.

Example output:

πŸ“Š Site Statistics
───────────────────────────────────
Posts: 28 (34,583 words, ~2h 53m read time)
Avg: 1235 words | Longest: "Package Management Papers" (5,788 words)
First: 2017-02-24 | Last: 2025-12-21 (8.8 years)
Frequency: ...

Similar Posts

Loading similar posts...