Hexo Static Site Generator

8.1.1 · active · verified Sun Apr 19

Hexo is a fast, simple, and powerful blog framework for Node.js, designed for generating static websites. The current stable version is 8.1.1, with minor and patch releases occurring frequently, typically every few weeks to months, and major versions bringing significant changes roughly annually. It features blazing-fast content generation, robust support for GitHub Flavored Markdown, and compatibility with most Octopress plugins. Key differentiators include its one-command deployment capabilities to platforms like GitHub Pages and Heroku, a highly extensible API for plugin development, and a rich ecosystem boasting hundreds of themes and plugins. Hexo primarily targets developers and bloggers who prefer a static site approach with a command-line interface.

Common errors

Warnings

Install

Imports

Quickstart

This sequence of commands installs the Hexo CLI globally, initializes a new Hexo blog in 'my-blog' directory, creates a new post, generates the static files, and starts a local development server.

npm install hexo-cli -g
hexo init my-blog
cd my-blog
npm install # Install dependencies for the new blog
hexo new "My First Post"
hexo generate
hexo server

view raw JSON →