A Hexo plugin that injects the ChatHexo chat widget into your blog pages.
npm i hexo-chathexo- Node.js >= 14
- Peer dependency:
hexo ^7.0.0
Add this to your Hexo site _config.yml:
chathexo:
enable: true
api: /api_chat_hexo/chathexo-api/chat
title: Blog Q&A
subtitle: AI assistant powered by your blog knowledge base
assetsPath: chathexo
indexFile: chathexo/index.jsonFrontend assets are injected automatically during hexo generate.
The backend service must be started and configured separately in the chathexo-server project.
Backend configuration: https://github.com/Telogen/chathexo-server
After the backend is running and the reverse proxy is configured, run:
hexo clean && hexo generate