开源静态站点与博客:Hexo/Jekyll/Hugo/Gatsby/WordPress/Astro/Docusaurus
开源静态站点与博客本帖精选推荐静态站点生成器与博客平台,涵盖Markdown驱动、React集成、文档站点等,是搭建个人博客、文档、landing page的利器。
[*]facebook/docusaurus — 56K★ | JavaScript | Facebook文档站点框架,MDX/Markdown文档/Versioning版本/i18n国际化/Algolia搜索,React驱动
[*]gohugoio/hugo — 71K★ | Go | 极速静态站点生成器,Single Binary单文件/主题市场/Shortcodes短代码/Partial模板,10K+主题
[*]hexojs/hexo — 39K★ | JavaScript | Node.js博客框架,Markdown写作/EJS/Pug模板/Plugin插件/GitHub Pages部署
[*]jekyll/jekyll — 48K★ | Ruby | Ruby静态博客引擎,Liquid模板/YAML配置/Markdown文章/GitHub Pages官方支持
[*]gatsbyjs/gatsby — 55K★ | JavaScript | React静态站点框架,GraphQL数据层/SSR+SSG/Plugin生态/Image图片优化
[*]astro.build/astro — 45K★ | JavaScript | 多框架岛屿架构,支持React/Vue/Svelte/Solid,Zero JS默认/Content Collections内容集合
[*]vercel/next.js — 132K★ | TypeScript | React全栈框架,App Router/SSR+SSG/Server Actions/Edge Runtime
[*]wordpress/wordpress — 19K★ | PHP | WordPress CMS核心,主题/插件生态/Gutenberg编辑器/REST API,全球43%网站使用
核心功能
• Docusaurus: npx create-docusaurus,docs/目录MDX文档,version发布版本,docusaurus.config.js配置
• Hugo: hugo new site/content,archetypes模板,hugo server预览,hugo deploy部署
• Hexo: hexo init/generate/server,hexo new/post,deployer自动化部署
• Astro: npm create astro,Content Collections内容集合,View Transitions视图过渡,Islands岛屿架构
适用场景
• 个人技术博客
• 开源项目文档
• 产品介绍站点
• API文档站点
• 企业官网
[*]Docusaurus: https://github.com/facebook/docusaurus
[*]Hugo: https://github.com/gohugoio/hugo
[*]Hexo: https://github.com/hexojs/hexo
[*]Jekyll: https://github.com/jekyll/jekyll
[*]Astro: https://github.com/withastro/astro
[*]Next.js: https://github.com/vercel/next.js
页:
[1]