finds.dev← search

// the find

521xueweihan/OneFile

★ 1,382 · Shell · updated May 2024

只有一个文件!

A Chinese-language link index of small, single-file open source projects worth reading start to finish — things like a 500-line HTTP server, a Lisp interpreter, cJSON, a thread pool, plus a few browser games. It's aimed at people learning by reading complete, runnable implementations rather than navigating a full project tree.

Every linked entry is genuinely self-contained and short enough to read in one sitting (tinyhttpd, minilisp, cJSON are good examples of real implementations without the scaffolding of a full repo. Zero build friction for most entries — copy the file, run it, done. Decent spread across languages and problem domains (parsers, servers, games, concurrency) so it doubles as a self-study list rather than a single trick.

Everything is in Chinese with no English version — the README even lists 'English descriptions' as a future TODO that hasn't moved since. It's mostly a markdown table of links to other people's repos, not original content; the actual code lives behind a mix of GitHub links and a third-party hellogithub.com code-viewer link, so there's no consistent way to pull the code. Last push was May 2024 and submissions come through an external Yuque form with only a PR template for structure — no visible review bar or CI checking that entries are still accurate or that links still resolve. The CC BY-NC-ND license on a repo that's essentially an index of other projects' MIT/BSD-licensed code is confusing — unclear what it's actually restricting.

View on GitHub → Homepage ↗

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →