hexo is a free, open source blogging & personal sites project written in TypeScript and released under MIT. It has 41,770 GitHub stars, 42 forks and 75 open issues, and was last pushed 20 days ago. On this registry it ranks #6 of 25 tracked projects in Blogging & Personal Sites, with 5 head-to-head comparisons available. It gained 1 stars over the last 3 tracked days.

What is hexo?

What it is

Hexo is a static site generator for blogs, built on Node.js and distributed as the hexo package through npm. The project is written in TypeScript, licensed under MIT, and lives in the Node.js and JavaScript ecosystem alongside the broader set of static site generators tracked under the static-site-generator topic. It has been published for roughly 14 years, carries about 41,766 stars, and points users to a dedicated website and documentation set at hexo.io.

The problem it solves is the gap between writing posts in plain files and publishing a finished website. Instead of running a database-backed content management system, a writer initialises a project, creates posts as Markdown files, and runs a command that renders those files into static output. Generation is described as fast, and the resulting files can be deployed to GitHub Pages, Heroku, or similar hosts with a single command. Extensibility is handled through a documented API plus community themes and plugins, so the framework covers the pipeline from source text to published pages without requiring a server-side application.

Key capabilities

  • Fast static file generation from Markdown source.
  • Support for GitHub Flavored Markdown and most Octopress plugins.
  • One-command deployment to GitHub Pages, Heroku, and similar targets.
  • A documented API for building extensions.
  • Hundreds of community themes listed on the project wiki.
  • Hundreds of community plugins listed on the project wiki.
  • Distributed through npm, with a Homebrew formula available for macOS and Linux.

Who uses it and how

  • Personal bloggers who write posts in Markdown and publish generated HTML rather than maintaining a CMS.
  • Writers migrating existing Octopress content, since most Octopress plugins are supported.
  • Developers who deploy the generated output to GitHub Pages or Heroku using the built-in deploy command.
  • Theme and plugin authors who build against the published API and distribute work through the community listings.
  • Contributors taking part in Hacktoberfest, which the repository topic list explicitly names.

Getting started

Install the command line tool globally with npm install hexo-cli -g, or use brew install hexo on macOS and Linux. Then

project readme (upstream, from github) — read inline
Hexo logo

Hexo

A fast, simple & powerful blog framework, powered by Node.js.

Website | Documentation | Installation Guide | Contribution Guide | Code of Conduct | API | Twitter

NPM version Required Node version Build Status dependencies Status Coverage Status Gitter Discord Chat Telegram Chat FOSSA Status Contributor Covenant

Features

  • Blazing fast generating
  • Support for GitHub Flavored Markdown and most Octopress plugins
  • One-command deploy to GitHub Pages, Heroku, etc.
  • Powerful API for limitless extensibility
  • Hundreds of themes & plugins

Quick Start

Install Hexo

$ npm install hexo-cli -g

Install with brew on macOS and Linux:

$ brew install hexo

Setup your blog

$ hexo init blog
$ cd blog

Start the server

$ hexo server

Create a new post

$ hexo new "Hello Hexo"

Generate static files

$ hexo generate

More Information

Contributing

We welcome you to join the development of Hexo. Please see contributing document. 🤗

Also, we welcome PR or issue to official-plugins.

Contributors

Backers

Backers

Sponsors

Sponsors

License

FOSSA Status

Frequently asked questions

Is hexo free to use?

hexo is open source under the MIT licence. There is no licence fee and no seat count — you can self-host it or, where the project offers one, pay a vendor for a managed version instead.

What does hexo do?

A fast, simple & powerful blog framework, powered by Node.js.

What is hexo written in?

hexo is primarily written in TypeScript. Its source is publicly available at https://github.com/hexojs/hexo, and it has 41,770 GitHub stars.