![Hexo logo](https://raw.githubusercontent.com/hexojs/logo/master/hexo-logo-avatar.png) # Hexo > 一个快速、简单且强大的博客框架,由 [Node.js](https://nodejs.org) 驱动。 [网站](https://hexo.io) | [文档](https://hexo.io/docs/) | [安装指南](https://hexo.io/docs/#Installation) | [贡献指南](https://hexo.io/docs/contributing) | [行为准则](CODE_OF_CONDUCT.md) | [API](https://hexo.io/api/) | [推特](https://twitter.com/hexojs) [![NPM version](https://badge.fury.io/js/hexo.svg)](https://www.npmjs.com/package/hexo) ![Required Node version](https://img.shields.io/node/v/hexo) [![Build Status](https://github.com/hexojs/hexo/workflows/Tester/badge.svg)](https://github.com/hexojs/hexo/actions?query=workflow%3ATester) [![dependencies Status](https://img.shields.io/librariesio/release/npm/hexo)](https://libraries.io/npm/hexo) [![Coverage Status](https://coveralls.io/repos/hexojs/hexo/badge.svg?branch=master)](https://coveralls.io/r/hexojs/hexo?branch=master) [![Gitter](https://badges.gitter.im/hexojs/hexo.svg)](https://gitter.im/hexojs/hexo) [![Discord Chat](https://img.shields.io/badge/chat-on%20discord-7289da.svg)](https://discord.gg/teM2Anj) [![Telegram Chat](https://img.shields.io/badge/chat-on%20telegram-32afed.svg)](https://t.me/hexojs) [![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fhexojs%2Fhexo.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2Fhexojs%2Fhexo?ref=badge_shield) [![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-v2.0%20adopted-ff69b4.svg)](CODE_OF_CONDUCT.md) ## 功能 * 闪电般的生成速度 * 支持 GitHub Flavored Markdown 和大多数 Octopress 插件 * 一键部署到 GitHub Pages、Heroku 等 * 强大的 API,无限可扩展 * 数百个[主题](https://hexo.io/themes/) & [插件](https://hexo.io/plugins/) ## 快速开始 **安装 Hexo** ```bash $ npm install hexo-cli -g ``` 使用 [brew](https://brew.sh/) 在 macOS 和 Linux 上安装: ```bash $ brew install hexo ``` **设置您的博客** ```bash $ hexo init blog $ cd blog ``` **启动服务器** ```bash $ hexo server ``` **创建一篇新文章** ```bash $ hexo new "Hello Hexo" ``` **生成静态文件** ```bash $ hexo generate ``` ## 更多信息 * 阅读[文档](https://hexo.io/) * 访问 [Awesome Hexo](https://github.com/hexojs/awesome-hexo) 列表 * 找到[故障排除](https://hexo.io/docs/troubleshooting.html)中的解决方案 * 在 [Google Group](https://groups.google.com/group/hexo)、[Discord](https://discord.gg/teM2Anj)、[Gitter](https://gitter.im/hexojs/hexo) 或 [Telegram](https://t.me/hexojs) 上参与讨论 * 在 wiki 上查看[插件列表](https://hexo.io/plugins/)和[主题列表](https://hexo.io/themes/) * 关注 [@hexojs](https://twitter.com/hexojs) 获取最新消息 ## 贡献 我们欢迎您加入 Hexo 的开发。请参阅[贡献文档](https://hexo.io/docs/contributing) 。🤗 此外,我们也欢迎向[官方插件](https://github.com/hexojs)提交 PR 或 issue。 ## 贡献者 [![](https://opencollective.com/Hexo/contributors.svg?width=890)](https://github.com/hexojs/hexo/graphs/contributors) ## 支持者 [![Backers](https://opencollective.com/hexo/tiers/backers.svg?avatarHeight=36&width=600)](https://opencollective.com/hexo) ## 赞助商 [![RSS3](https://d1fdloi71mui9q.cloudfront.net/8xxahBqRTnecXgXKObeo_L8ks2KjC31fmM5Nd)](https://linktr.ee/rss3) ## 许可证 [![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fhexojs%2Fhexo.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Fhexojs%2Fhexo?ref=badge_large)