hexo README

The project's README from github.com/hexojs/hexo. As one markdown file: README.md.

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

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

hexo (hexojs/hexo)

Searching Database…

41.8K ·GitHub
这是干什么的?Hexo 是一个基于 Node.js 的博客框架,快速、简单而且功能强大:你用 Markdown 写文章,它会生成一个完整的静态博客网站。
它是在线运行的服务,还是装在我自己电脑上的工具?是装在你自己电脑上的工具——一个 Node.js 命令行程序,生成静态文件后你随便放到哪里托管都行;不需要运行或维护任何服务器端的东西。
我怎么创建并跑起来我的第一个博客?安装 Hexo(macOS 和 Linux 用 brew,或者用 npm),初始化你的博客,启动本地服务器预览,新建一篇文章,然后生成静态文件。
开始之前我需要先装好 Node.js 吗?需要——包的元数据要求 Node.js 20.19.0 或更高版本;这个工具通过 npm 安装,macOS 和 Linux 也提供了 brew 的快捷方式。
我可以在哪些系统上运行它?README 重点介绍了 macOS 和 Linux(brew install);由于它只是一个普通的 Node.js 命令行程序,没有依赖特定操作系统的东西,所以在 Windows 上也能运行。
Hexo 本身是用什么写的?代码库用 TypeScript 编写,用 tsc 编译,用 mocha 做测试;它运行在 Node.js 20.19+ 上,插件通过它的 API 与核心交互。
Hexo 博客能支持多种语言的内容吗?可以——国际化功能内置在核心里:hexo-i18n 是 Hexo 的核心依赖之一,主题会用它来本地化站点上的文字。
Creator
hexojs
Size
7.1 MB
Stars
41.8K
Age
14y
Commits · 90 Days