Show HN: Brodocs 深度本地知识采集器

1作者: BroTechLead6 个月前
Hi HN, 分享一个本地版本的 Markdown 知识收集和发布工具 <a href="https:&#x2F;&#x2F;brodocs.io" rel="nofollow">https:&#x2F;&#x2F;brodocs.io</a>。它能让你轻松地从多个 Git 仓库(如微服务/纳米服务、Terraform 模块、Ansible 角色、架构文档)搭建内部技术文档门户。 开始使用只需:docker run -it --rm --name brodocs -p20000:20000 ghcr.io&#x2F;brodocsdev&#x2F;brodocs:0.14.0 然后从 Git 仓库初始化一些站点:curl -X POST &#x27;http:&#x2F;&#x2F;localhost:20000&#x2F;api&#x2F;sites&#x2F;init&#x27; -F &quot;repo=<a href="https:&#x2F;&#x2F;github.com&#x2F;brodocsdev&#x2F;docs.git" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;brodocsdev&#x2F;docs.git</a>&quot; 然后访问:http:&#x2F;&#x2F;localhost:20000&#x2F;10b0eb6e1dc27c0babd&#x2F;docs&#x2F;README.html 已实现的功能: - 添加更多仓库进行初始化,使用 -F &quot;repo=url&quot; -F &quot;repo=url2&quot; ... - 如果需要密钥:-F &quot;key=...&quot;,它会被加密存储在容器中 - 每 5 分钟检查一次更改,因此无需设置 CI/CD 管道,只需将其部署在虚拟机或 Kubernetes 上 - 内置 PlantUML 转换,无需提交图片(仍缺少 Mermaid,因为它需要 Chrome,容器大小超过 1GB) - 构建跨团队站点,带有顶部菜单:<a href="https:&#x2F;&#x2F;brodocs.io&#x2F;d248c24a335845277b6&#x2F;docs&#x2F;Multisites%20with%20top%20menu.html" rel="nofollow">https:&#x2F;&#x2F;brodocs.io&#x2F;d248c24a335845277b6&#x2F;docs&#x2F;Multisites%20wit...</a> 欢迎提出关于在 MCP 上公开哪些操作以及如何构建 llm.txt 的建议。
查看原文
Hi HN,<p>Sharing onprem version of markdown knowledge harvester and publisher <a href="https:&#x2F;&#x2F;brodocs.io" rel="nofollow">https:&#x2F;&#x2F;brodocs.io</a>. It should make easy setting up internal tech docs portals from multiple git repos like micro&#x2F;nano services, terraform modules, ansible roles, arch docs.<p>To start just: docker run -it --rm --name brodocs -p20000:20000 ghcr.io&#x2F;brodocsdev&#x2F;brodocs:0.14.0<p>then init some site from git repository: curl -X POST &#x27;http:&#x2F;&#x2F;localhost:20000&#x2F;api&#x2F;sites&#x2F;init&#x27; -F &quot;repo=<a href="https:&#x2F;&#x2F;github.com&#x2F;brodocsdev&#x2F;docs.git" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;brodocsdev&#x2F;docs.git</a>&quot;<p>then go to: http:&#x2F;&#x2F;localhost:20000&#x2F;10b0eb6e1dc27c0babd&#x2F;docs&#x2F;README.html<p>Features already built:<p>- add more repos to init with -F &quot;repo=url&quot; -F &quot;repo=url2&quot; ...<p>- if key is needed: -F &quot;key=...&quot;, it is stored encrypted in container<p>- it will check for changes every 5 minutes, so no need to setup ci&#x2F;cd pipilines, just drop it on vm or k8s<p>- PlantUML conversion built-in, no need to commit image (mermaid still missing since it needs chrome, container size goes over 1GB),<p>- building cross team sites with top menu: <a href="https:&#x2F;&#x2F;brodocs.io&#x2F;d248c24a335845277b6&#x2F;docs&#x2F;Multisites%20with%20top%20menu.html" rel="nofollow">https:&#x2F;&#x2F;brodocs.io&#x2F;d248c24a335845277b6&#x2F;docs&#x2F;Multisites%20wit...</a><p>Any suggestions what operations expose on MCP, how to construct llm.txt, are welcome.