Git Stars Git Stars

#single-file Repositories

Discover 16 active open source GitHub repositories tagged with #single-file, accumulating 36,481 total stars (averaging 2,280 stars per project). Leading this topic is doctest/doctest with 6,928 stars.

16
Total Repositories
36,481
Total Stars
2,280
Avg Stars/Repo
1
doctest/doctest

The fastest feature-rich C++11/14/17/20/23 single-header testing framework

doctest
โญ 6,928 C++ ๐Ÿ‘ค doctest Organization ๐Ÿ• Updated 2026-10-18 ๐Ÿ“… Created 2014-08-05
2
Neargye/magic_enum

Static reflection for enums (to string, from string, iteration) for modern C++, work with any enum type without any macro or boilerplate code

Neargye
โญ 6,256 C++ ๐Ÿ‘ค Neargye User ๐Ÿ• Updated 2026-11-21 ๐Ÿ“… Created 2019-03-30
3
braedonsaunders/codeflow

Paste any GitHub URL โ†’ interactive architecture map. See how files connect, find what breaks if you change something. No install, no accounts โ€” runs entirely in your browser.

braedonsaunders
โญ 5,504 HTML ๐Ÿ‘ค braedonsaunders User ๐Ÿ• Updated 2026-10-20 ๐Ÿ“… Created 2025-12-16
4
Neargye/nameof

Nameof operator for modern C++, simply obtain the name of a variable, type, function, macro, and enum

Neargye
โญ 2,368 C++ ๐Ÿ‘ค Neargye User ๐Ÿ• Updated 2026-11-17 ๐Ÿ“… Created 2018-03-17
5
codeplea/genann

simple neural network library in C99

codeplea
โญ 2,302 C ๐Ÿ‘ค codeplea User ๐Ÿ• Updated 2026-08-08 ๐Ÿ“… Created 2016-02-09
6
marzer/tomlplusplus

Header-only TOML config file parser and serializer for C++17.

marzer
โญ 2,188 C++ ๐Ÿ‘ค marzer User ๐Ÿ• Updated 2026-11-15 ๐Ÿ“… Created 2019-11-27
7
codeplea/tinyexpr

tiny recursive descent expression parser, compiler, and evaluation engine for math expressions

codeplea
โญ 1,940 C ๐Ÿ‘ค codeplea User ๐Ÿ• Updated 2026-10-27 ๐Ÿ“… Created 2016-01-21
8
martinus/nanobench

Simple, fast, accurate single-header microbenchmarking functionality for C++11/14/17/20

martinus
โญ 1,751 C++ ๐Ÿ‘ค martinus User ๐Ÿ• Updated 2026-09-07 ๐Ÿ“… Created 2019-10-05
9
gildas-lormeau/single-file-cli

CLI tool for saving a faithful copy of a complete web page in a single HTML file (based on SingleFile)

gildas-lormeau
โญ 1,702 JavaScript ๐Ÿ‘ค gildas-lormeau User ๐Ÿ• Updated 2026-11-18 ๐Ÿ“… Created 2022-05-31
10
adishavit/argh

Argh! A minimalist argument handler.

adishavit
โญ 1,438 C++ ๐Ÿ‘ค adishavit User ๐Ÿ• Updated 2025-01-21 ๐Ÿ“… Created 2016-08-05
11
gsl-lite/gsl-lite

ISO C++ Core Guidelines Library implementation for C++98, C++11 up

gsl-lite
โญ 992 C++ ๐Ÿ‘ค gsl-lite Organization ๐Ÿ• Updated 2026-08-20 ๐Ÿ“… Created 2015-09-24
12
slembcke/debugger.lua

A dependency free, embeddable debugger for Lua in a single file (.lua or .h)

slembcke
โญ 926 Lua ๐Ÿ‘ค slembcke User ๐Ÿ• Updated 2026-01-08 ๐Ÿ“… Created 2012-09-09
13
memvid/claude-brain

Give Claude Code photographic memory in ONE portable file. No database, no SQLite, no ChromaDB - just a single .mv2 file you can git commit, scp, or share. Native Rust core with sub-ms operations.

memvid
โญ 585 TypeScript ๐Ÿ‘ค memvid Organization ๐Ÿ• Updated 2026-01-19 ๐Ÿ“… Created 2025-12-18
14
nonstd-lite/expected-lite

expected lite - C++23 expected objects for C++11 and later in a single-file header-only library

nonstd-lite
โญ 564 C++ ๐Ÿ‘ค nonstd-lite Organization ๐Ÿ• Updated 2026-10-15 ๐Ÿ“… Created 2018-06-03
15
Aureliengmz/clearwater

Real-time, photorealistic shallow water in a single HTML file. WebGL2, no libraries, no build step.

Aureliengmz
โญ 526 HTML ๐Ÿ‘ค Aureliengmz User ๐Ÿ• Updated 2026-09-23 ๐Ÿ“… Created 2026-09-23
16
nonstd-lite/span-lite

span lite - A C++20-like span for C++98, C++11 and later in a single-file header-only library

nonstd-lite
โญ 520 C++ ๐Ÿ‘ค nonstd-lite Organization ๐Ÿ• Updated 2026-10-10 ๐Ÿ“… Created 2018-03-31

Frequently Asked Questions

1

What is the most popular #single-file repository on GitHub?

The top ranked open source #single-file project on GitHub is doctest/doctest with 6,928 stars. The fastest feature-rich C++11/14/17/20/23 single-header testing framework

2

Which programming languages are most used in #single-file repositories?

Among the top ranked #single-file projects on GitHub, the most common programming languages are C++, HTML, C, JavaScript.

3

How is the #single-file repository ranking calculated?

We track 16 active open source repositories tagged with #single-file (500+ stars), totaling 36,481 stars with an average of 2,280 stars per repository. Rankings update daily from the GitHub API.