SaaSHub helps you find the best software and product alternatives Learn more →
Top 23 single-file Open-Source Projects
-
Magic Enum C++
Static reflection for enums (to string, from string, iteration) for modern C++, work with any enum type without any macro or boilerplate code
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
Nameof C++
Nameof operator for modern C++, simply obtain the name of a variable, type, function, macro, and enum
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
span-lite
span lite - A C++20-like span for C++98, C++11 and later in a single-file header-only library
-
string-view-lite
string_view lite - A C++17-like string_view for C++98, C++11 and later in a single-file header-only library
-
expected-lite
expected lite - Expected objects in C++11 and later in a single-file header-only library
-
ring-span-lite
ring-span lite - A C++yy-like ring_span type for C++98, C++11 and later in a single-file header-only library
-
ivfi-php
IVFi is a directory indexer that aims to make it easy to browse and explore web-accessible directories.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
I have never used "tools" for unit-tests, only web sites that show the results of the tests or code coverage. For C++ I prefer https://github.com/doctest/doctest but most companies I worked for use Catch2.
Project mention: What C++ library do you wish existed but hasn’t been created yet? | /r/cpp | 2023-07-08I'm not sure this is quite what you're asking for, but this library has been super helpful to me in the past : https://github.com/Neargye/magic_enum
Project mention: The issue of unit tests and performance measurements (Benchmark) | /r/cpp | 2023-05-27An alternative is tracking the number of instructions a test executes: https://github.com/martinus/nanobench
Or nonstd::expected. Personally, I would rather use output parameters and an enum result or a std::variant over std::optional, because at the very least you have the option for more specific error diagnostics.
Ah, I think I've missed this commit when testing a while ago: https://github.com/icculus/mojoAL/commit/47b22d002ae4d02d758...
It says "AL_PITCH support in MojoAL should still be considered experimental!" though.
Project mention: Ryde is a single person, single file web development library for rust | news.ycombinator.com | 2024-02-29
single-file related posts
- Refactoring with C++17 std::optional
- Me arme una pagina para chequear cuantos días faltan para el próximo feriado
- Me arme una pagina para chequear cuantos días faltan para el próximo feriado
- Is there a std::string::split or something similar?
- Story: Game rot... One day I have 60fps, then another day it is 5fps without any changes on my end what-so-ever.
- Pack files in one executable (exe file)
- Scenes Solution [library]
-
A note from our sponsor - SaaSHub
www.saashub.com | 20 Apr 2024
Index
What are some of the best open-source single-file projects? This list will help you:
Project | Stars | |
---|---|---|
1 | doctest | 5,553 |
2 | Magic Enum C++ | 4,390 |
3 | Nameof C++ | 1,937 |
4 | tomlplusplus | 1,396 |
5 | nanobench | 1,301 |
6 | Argh! | 1,273 |
7 | debugger.lua | 712 |
8 | gb | 527 |
9 | span-lite | 486 |
10 | string-view-lite | 397 |
11 | expected-lite | 346 |
12 | semver | 283 |
13 | Tina | 248 |
14 | Appacker | 217 |
15 | serializer | 185 |
16 | scope_guard | 160 |
17 | ring-span-lite | 147 |
18 | mojoAL | 142 |
19 | portable-php | 104 |
20 | ryde | 106 |
21 | ivfi-php | 90 |
22 | Handle Path Oz | 61 |
23 | minivorbis | 59 |
Sponsored