Skip to content

Instantly share code, notes, and snippets.

@fundon
Last active November 3, 2021 02:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fundon/6fd43abbda281fc1b4da05be63852599 to your computer and use it in GitHub Desktop.
Save fundon/6fd43abbda281fc1b4da05be63852599 to your computer and use it in GitHub Desktop.
Docs 构建引擎

特点

  • 代码复制
  • 版本搜索
  • 多版本搜索
  • 实时搜索
  • 快速更新索引
  • 文档站点 TOC
  • 页面 TOC
  • MarkdownLint

方案对比

Search Engine 特点
Algolia 付费服务,有免费限额,Algolia 爬虫会定期爬取页面,构建/更新 indexes
MeiliSearch 对标的是 Algolia,但是可以自由搭建,搜索服务需要自行维护,Rust
tinysearch 集合所有文章编译生成一个 WASM 文件,搜索快,但如果文章多,WASM 会很大
sonic 自建搜索服务,类似 MeiliSearch
tantivy 自行构建
typesense 自行构建, C++
Static Site Generator 基于
Gatsby React
Vuepress Vue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment