OneFile
OneFile is a collection of open-source projects that consist of only one file, making them easy to run and understand. Including games, compilers, servers, tools, utility libraries, and more. With just copy and run functionality, you can view the source code and try them out online with a single click.
Name | Language | Description |
---|---|---|
tinyhttpd.c | C | 不到 500 行的超轻量型 HTTP Server,可以用来理解服务器程序的原理和本质 |
si78c.c | C | 用 C 语言实现的《太空侵略者》命令行游戏 |
minilisp.c | C | 用 C 语言写的 Lisp 解释器。实现了整数、符号、局部变量、条件语句、宏和垃圾回收等功能 |
cJSON.c | C | 标准 C(C89) 实现的超轻量的 JSON 解析库 |
filedb.c | C | 基于 B-tree 的文件数据库 |
threadpoll.h | C++ | 一个简单的 C++11 线程池实现 |
looptap.html | HTML | 消磨时间的小游戏,把球停在有颜色区域 |
minesweeper.html | HTML | 扫雷游戏 |
2048.html | HTML | 2048 游戏 |
ascii-cam.html | HTML | 把视频图像转成 ascii |
the-super-tiny-compiler.js | JavaScript | 人人都能看懂的微型编译器 |
pico.js | JavaScript | 200 行实现的面部识别库 |
parsedown.php | PHP | 一个小而美的 PHP 的 Markdown 解析库 |
httpstat.py | Python | 用更优雅的方式展示 curl 结果的命令行工具 |
py2sec.py | Python | 一款轻量级跨平台 Python “加密”、加速的脚本工具 |
tomato-clock.py | Python | Python 写的命令行番茄工作法定时器 |
share.py | Python | 基于 HTTP 协议的文件分享工具 |
web-server.py | Python | 一个简单的 Web 框架 |
OneFile is an open source project where you can find interesting and easy-to-run programs. It's also a programming challenge where you can submit a single file to take on the challenge.ClickJoin the OneFile programming challenge and write some interesting code with just one file!