Proposal: Compressing DevDocs with a Low-Level C Core
维护者通常 2 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 18/100
- Issue 类型
- 重构
- 描述清晰度
- 需要澄清
- 活跃度
- 冷清
- 技术栈
- c, docker, javascript, ruby, wasm
调研方向
该提案涵盖搜索引擎、HTML 管道和本地服务器,包括 Ruby/JS、Nokogiri、Sinatra、C、WebAssembly 和 Docker。在评估这三个替换项是否可以分离之前,先梳理现有实现及其测试。完成标准包括已达成一致的迁移范围、兼容性要求,以及对搜索、docset 处理和本地托管的验证。
由索引模型根据 Issue 内容生成。
描述
I’ve been using DevDocs for years—it’s a lifesaver when AI fails on niche cases. I have a lot of respect for the work done so far, but the current Ruby/JS stack feels like it’s holding the project back from being as fast and straight-forward as it could be
What i am asking is if I can rewrite the core server and processing logic in C? Specifically:
-
The Search Engine: Moving the indexing and fuzzy matching from JS to a C codebase that is compiled to a wasm module to kill the memory lag
-
The HTML Pipeline: Replacing the Ruby/Nokogiri filters with a fast C-based parser for cleaning docsets
-
The Local Server: Swapping the Ruby/Sinatra backend for a lightweight C static server to remove the heavy runtime requirements for local hosting
Due to such changes around 30% of the project may be reduced including the definite removal of something as useless as docker, which will be replaced with simple statically-compiled servers for each OS that people can just download (or build themselves since C is available on all platforms) and launch the server without any unnecessary dependencies
I'm happy to handle the heavy lifting and resolve any issues that pop up with this new setup. Are you guys open to adding this C-based paradigm to the official repo? I truly believe this would make the project much leaner and easier to maintain long-term
I truly hope that you will accept this crazy request to rebuild the core of the project in a language that most of your contributors probably dont use and I hope I get the chance to work with you on this
- 主要语言
- Ruby
- 星标
- 39.7k
- 派生
- 2.7k
- 平均合并
- 5 天 10 小时
- 30 天内合并 PR
- 13
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
freeCodeCamp/devdocs 的其他 Issue
-
docs/improvement
难度 2/5 1-3 小时 新手友好度 62/100
freeCodeCamp/devdocs#1989 · 4 条评论 · 4 个 reaction ·
维护者通常 2 天内回复
-
Documentation versions report for November 2026可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 5/5 一周以上 新手友好度 35/100
freeCodeCamp/devdocs#2794 · 2 条评论 ·
维护者通常 2 天内回复
-
难度 4/5 3-5 天 新手友好度 32/100
freeCodeCamp/devdocs#2780 ·
维护者通常 2 天内回复
-
sidebar未关闭feature
难度 4/5 3-5 天 新手友好度 22/100
freeCodeCamp/devdocs#2776 ·
维护者通常 2 天内回复
-
难度 1/5 1 小时以内 新手友好度 8/100
freeCodeCamp/devdocs#2746 ·
维护者通常 2 天内回复
查看 freeCodeCamp/devdocs 的全部 Issue
相似的 Issue
-
Suggest link: Destiny Verify (MIT zero-dependency pre-commit security, citation & link hygiene CLI)未关闭
难度 1/5 1 小时以内 新手友好度 68/100
-
难度 1/5 1 小时以内 新手友好度 86/100
TheOdinProject/curriculum#31585 ·
维护者通常 1 天内回复
-
enhancement P2 v1.6.0
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
No test checks that judges print creates nested output directories (lib/judges/commands/print.rb:62)可能已有人在做 @sherenkov 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 82/100
yegor256/judges#1360 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
zold-io/wts.zold.io#654 ·
维护者通常 1 天内回复