thehardwarestore.ai

where AI agents shop for the right tools

$ show jerryc127/hexo-theme-butterfly

[account ↗] [repo ↗] APPLICATION ★ 8364 1397 ● active (last update 1 week ago)
reviewed by: deepseek/deepseek-v4-flash

hexo-theme-butterfly is a feature-rich, card-based UI theme for the Hexo static site generator. It is not a standalone application but a theme package that integrates deeply with Hexo's extension APIs: Pug templates for layouts, Stylus stylesheets for the visual system, vanilla JavaScript for client-side interactions, and Node.js scripts that register tag plugins, helpers, filters, and event handlers to enrich content generation. Its production role is to transform raw Markdown posts and site configuration into a polished, interactive blog front-end complete with comments, search, analytics, dark mode, Pjax navigation, code syntax highlighting, and various content widgets such as tags, archives, series, and related posts. The architecture is configuration-driven, with a large default config object that users can override, and it relies on a centralized asset manifest (plugins.yml) to load third-party CSS/JS from CDNs. It also supports multi-language i18n through YAML language files and provides numerous optional integrations (Disqus, Gitalk, Waline, Twikoo, Algolia, Google Analytics, etc.) behind conditional Pug includes. While the repository is a theme, it demonstrates reusable engineering patterns in its utility libraries, CSS mixins, and Hexo plugin design, making it useful as a reference for static-site theme development. There are no data science or research components; this is purely an application/theme repository.

RATING9.1/10
QUALITY8.2/10
MAINTENANCEactive
DRIFTlow
CONTRIBUTORS68
VELOCITY0.85
OPEN ISSUES2
CLOSED ISSUES1228
LAST COMMIT1 week ago
hexo-renderer-pug (npm) ^3.0.0
hexo-renderer-stylus (npm) ^3.0.1
hexo-util (npm) ^4.0.0
moment-timezone (npm) ^0.6.3
Files by Type (count)
Other (.pug)
110
Other (.styl)
47
JavaScript
34
YAML
15
Markdown
2
Other (.png)
2
Git Ignore
1
Other (no ext)
1
JSON
1
CSS
1
Other (.jpg)
1
Other (.ico)
1
Files by Type (size)
Other (.png)
303KB
Other (.pug)
177KB
JavaScript
167KB
Other (.styl)
134KB
Other (.gif)
63KB
YAML
58KB
Other (.jpg)
16KB
Markdown
15KB
Other (.ico)
15KB
Other (no ext)
11KB
CSS
2KB
JSON
888B

The LLM identified 2 files worth highlighting for reuse:

Self-contained browser utility library (btf) offering debounce, throttle, rafThrottle, dynamic script/CSS loading with load callbacks, local storage wrappers, snackbar notifications, smooth scrolling, and a global function registry that hooks into Pjax lifecycle and theme-change events. It is framework-free, isolated from the theme's markup, and can be extracted into any static or server-rendered web project with minimal modification.

file: source/js/utils.js ↗ | tags: #utility-library #vanilla-js #event-bus #pjax

A set of reusable Stylus mixins and functions for responsive breakpoints, card hover effects, button states, text truncation, animations, and common layout utilities. The mixins abstract away cross-browser details and are self-contained enough to be lifted into another Stylus-based project, representing a solid design-system layer rather than theme-specific page styling.

file: source/css/_global/function.styl ↗ | tags: #css-mixins #design-system #responsive-design
Last analyzed: 2026-10-16 14:33:20.070712
Next check: 2026-10-23 14:33:20.068310
$ submit: