single-file

Open-source projects categorized as single-file

Top 23 single-file Open-Source Projects

  • doctest

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

    Project mention: Unit testing tool suggestions | /r/learnprogramming | 2023-05-07

    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.

  • 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

    Project mention: What C++ library do you wish existed but hasn’t been created yet? | /r/cpp | 2023-07-08

    I'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

  • 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

  • tomlplusplus

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

  • nanobench

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

    Project mention: The issue of unit tests and performance measurements (Benchmark) | /r/cpp | 2023-05-27

    An alternative is tracking the number of instructions a test executes: https://github.com/martinus/nanobench

  • Argh!

    Argh! A minimalist argument handler. (by adishavit)

  • debugger.lua

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

    Project mention: Layoutbox Icons Do Not Load | /r/awesomewm | 2023-06-08
  • 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.

  • gb

    gb single-file public domain libraries for C & C++ (by gingerBill)

  • 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

    Project mention: Refactoring with C++17 std::optional | /r/cpp | 2023-05-22

    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.

  • semver

    Semantic Versioning for modern C++ (by Neargye)

  • Tina

    Tina is a teeny tiny, header only, coroutine and job library.

  • Appacker

    Tool for making single .exe application packages

  • serializer

    A single header standard C++ serialization framework. (by eyalz800)

  • scope_guard

    A modern C++ scope guard that is easy to use but hard to misuse.

  • 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

  • mojoAL

    An SDL2-based implementation of OpenAL in a single C file.

    Project mention: LÖVE: a framework to make 2D games in Lua | news.ycombinator.com | 2023-09-13

    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.

  • portable-php

    A blog in one HTML file

  • ryde

    ryde is a single person, single file web development library for rust

    Project mention: Ryde is a single person, single file web development library for rust | news.ycombinator.com | 2024-02-29
  • ivfi-php

    IVFi is a directory indexer that aims to make it easy to browse and explore web-accessible directories.

  • Handle Path Oz

    Android Library to handle multiple Uri's(paths) received through Intents.

  • minivorbis

    Single-file port of libogg and libvorbis for decoding ogg sound files.

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2024-02-29.

single-file related posts

Index

What are some of the best open-source single-file projects? This list will help you:

Project Stars
1 doctest 5,544
2 Magic Enum C++ 4,375
3 Nameof C++ 1,933
4 tomlplusplus 1,392
5 nanobench 1,289
6 Argh! 1,269
7 debugger.lua 711
8 gb 527
9 span-lite 483
10 string-view-lite 395
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 103
21 ivfi-php 90
22 Handle Path Oz 61
23 minivorbis 59
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com