Repolode
hexojs

hexojs/hexo

A fast, simple Node.js blog framework that generates static sites from Markdown posts.

Open-source alternative to:WordPress

Stars
41,778
Forks
51
Open issues
83
Last commit
8 hours ago

What is it?

Hexo is a static site generator built on Node.js for creating blogs. You write posts in Markdown, and Hexo turns them into a static website that can be hosted on services such as GitHub Pages.

The project provides a command-line tool to initialize a blog, start a local preview server, create new posts, and generate static files. Deployment can be done with a single command to platforms like GitHub Pages and Heroku.

Hexo supports GitHub Flavored Markdown and offers a plugin API for extending behavior. A large ecosystem of themes and plugins is available for customizing the site's look and functionality.

Key features

  • 01Generates static HTML from Markdown posts
  • 02Supports GitHub Flavored Markdown
  • 03One-command deployment to GitHub Pages, Heroku and similar platforms
  • 04Local preview server with new-post scaffolding
  • 05Plugin API for extending the generator

Use cases

  • Running a personal technical blog hosted on GitHub Pages
  • Publishing a documentation or project site from Markdown files
  • Building a custom blog with community themes and plugins

Quick start

  1. 1

    Install the Hexo CLI globally with npm

    npm install hexo-cli -g
  2. 2

    Initialize a new blog folder and enter it

    hexo init blog
  3. 3

    Start the local development server

    hexo server

Things to know

  • Requires Node.js to run.

Topics

FAQ

What is hexo?
A fast, simple Node.js blog framework that generates static sites from Markdown posts. Hexo is a static site generator built on Node.js for creating blogs. You write posts in Markdown, and Hexo turns them into a static website that can be hosted on services such as GitHub Pages.
Is hexo free to use? What license does it have?
hexo is open source under the MIT license. Check the license terms before using it in commercial products.
Is hexo still maintained?
Actively maintained. The last commit to hexo was on Oct 21, 2026.
What can I use hexo for?
Running a personal technical blog hosted on GitHub Pages Publishing a documentation or project site from Markdown files Building a custom blog with community themes and plugins
How do I install hexo?
Install the Hexo CLI globally with npm: npm install hexo-cli -g Initialize a new blog folder and enter it: hexo init blog Start the local development server: hexo server
Where can I get hexo?
The source code and installation instructions are on GitHub: https://github.com/hexojs/hexo

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects