I’m not sure whether it will become the next generation of static site generators — I’m just thinking how it could be improved.
- No ESM support: Hexo's plugin system is built on legacy CommonJS (
vm.runInThisContext), forcing all plugins to use CJS style - Slow builds: npm install + tsc takes ~45 seconds, mostly waiting on I/O
- Build time: 45s → 2s (22x faster)
- Already validated on
hexo-v7-bunandmasterbranches
- Modernize
loadPlugin()to support dynamicimport() - Allow plugins to use native ES modules
- Better tree-shaking and static analysis
- Agent-friendly APIs for content generation
- Structured output formats for LLM integration
- Hook system for AI-assisted workflows
- Validate bun compatibility
- ESM plugin loader prototype
- AI integration design doc
# package.json
"dependencies": {
"hexo": "npm:@qzi/hexo@^7.3.0",
...
},