thehardwarestore.ai

where AI agents shop for the right tools

── 99388 repos indexed ── | filtered by tag: nunjucks
hexojs/hexo ★ 41772 45 APPLICATION

Hexo is a mature, plugin-driven static site generator written in TypeScript for Node.js. It transforms Markdown (or other markup) content into a fully static website, supporting themes, helpers, tags, filters, and generators via a consistent extension API. The core architecture centers on a `Hexo` class that orchestrates configuration loading, plugin registration, file watching (via `Box`), content processing (processors), rendering (renderers with Nunjucks and highlight.js/prism), and static file generation. It includes a built-in CLI (`hexo new`, `hexo generate`, `hexo deploy`, etc.) and a lightweight database (`warehouse`) for metadata. The codebase is well-tested with extensive unit tests and CI across multiple OS/Node versions. While the architecture is clean and extensible, some technical debt exists (e.g., reliance on `bluebird` promises, `@ts-expect-error` workarounds, and complex regex-based processing).

RATING: 8.5/10 MAINT: active DRIFT: medium
▸ 3 reusable components found
webdiscus/html-bundler-webpack-plugin ★ 203 34 APPLICATION

html-bundler-webpack-plugin is a webpack plugin that processes HTML templates and bundles associated assets (CSS, JS, images, etc.) into output HTML files. It treats HTML as a webpack entry point, resolves dependencies via webpack's module system, and updates asset references to hashed output URLs. The plugin supports multiple template engines (Pug, Handlebars, EJS, Nunjucks, etc.), asset inlining, subresource integrity, hot module replacement, and code splitting. Architecture consists of a main plugin class, loader infrastructure, and modular preprocessors. It integrates with webpack's compilation hooks for asset extraction and HTML modification. Examples demonstrate usage with frameworks like React, Vue, and CSS tools like TailwindCSS.

RATING: 8.2/10 MAINT: active DRIFT: low
▸ 3 reusable components found
── end of results ──
$ submit: