C++ OpenSource List

  • 2016-stb: single-file public domain (or MIT licensed) libraries for C/C++

  • 2018-LCUI : A small C library for building user interfaces with C, XML and CSS.

  • 2018-libui : Simple and portable (but not inflexible) GUI library in C that uses the native GUI technologies of each platform it supports.

  • 2018-libui-node : Node bindings for libui, an awesome native UI library for Unix, OSX and Windows.


  • 2016-MyTinySTL : 基于 C++11 的 tinySTL,这是我的第一个项目,使用了中文文档与中文注释,有不规范或不当的地方还请海涵。刚开始是作为新手练习用途,直到现在已经发布了 2.x.x 版本。实现了大部分 STL 中的容器与函数,但仍存在许多不足与 bug 。从 2.x.x 版本开始,本项目会进入长期维护的阶段,即基本不会增加新的内容,只修复发现的 bug。如发现错误,还请在 Issues 中指出,欢迎 Fork 和 Pull requests 改善代码,谢谢!

  • 2018-cpp-httplib : A C++ header-only HTTP/HTTPS server and client library.

  • 2018-json-tutorial : 也许有很多同学上过 C/C++ 的课后,可以完成一些简单的编程练习,又能在一些网站刷题,但对于如何开发有实际用途的程序可能感到束手无策。本教程希望能以一个简单的项目开发形式,让同学能逐步理解如何从无到有去开发软件。

  • 2020-tinytetris : This is the 80x23 version. You control it with a (left), d (right), w (rotate), s (drop), and q (quit). It depends on curses.h (so you’ll need to compile with -lcurses, and install curses if you don’t already have it) and requires C++11.

  • 2020-sudoku : C++实现的跨平台数独游戏,命令行操作易上手,可以在开发间隙用来放松身心。数百行代码,初学者也可以轻松掌握。



  • 2018-Google Test : This repository is a merger of the formerly separate GoogleTest and GoogleMock projects. These were so closely related that it makes sense to maintain and release them together.

  • 2020-Catch2 : A modern, C++-native, header-only, test framework for unit-tests, TDD and BDD - using C++11, C++14, C++17 and later (or C++03 on the Catch1.x branch)


  • palanteer : High performance visual profiler, debugger, tests enabler for C++ and Python.

  • libtree : ldd as a tree with an option to bundle dependencies into a single folder


  • Cello : Cello is a library that brings higher level programming to C. By acting as a modern, powerful runtime system Cello makes many things easy that were previously impractical or awkward in C.

  • gc : Simple, zero-dependency garbage collection for C.

Common Library

  • 2004-Boost : Boost provides free peer-reviewed portable C++ source libraries.

  • 2017-Abseil : The repository contains the Abseil C++ library code. Abseil is an open-source collection of C++ code (compliant to C++14) designed to augment the C++ standard library.

  • 2017-Folly : Folly (acronymed loosely after Facebook Open Source Library) is a library of C++14 components designed with practicality and efficiency in mind. Folly contains a variety of core library components used extensively at Facebook. In particular, it’s often a dependency of Facebook’s other open source C++ efforts and place where those projects can share code.


  • ck : Concurrency primitives, safe memory reclamation mechanisms and non-blocking (including lock-free) data structures designed to aid in the research, design and implementation of high performance concurrent systems developed in C99+.

  • 2020-oneTBB : oneTBB is a flexible C++ library that simplifies the work of adding parallelism to complex applications, even if you are not a threading expert.

GUI Framework

  • 2017-webview : Tiny cross-platform webview library for C/C++/Golang. Uses WebKit (Gtk/Cocoa) and Edge (Windows).

  • 2022-Yocto/GL ![code](https://ng-tech.icu/assets/code.svg : Yocto/GL is a collection of small C++17 libraries for building physically-based graphics algorithms released under the MIT license. Yocto/GL is written in a deliberately data-oriented style for ease of development and use. Yocto/GL is split into small libraries to make code navigation easier. See each header file for documentation.

Web Framework

  • 2020-cpp-httplib : A C++11 single-file header-only cross platform HTTP/HTTPS library.


  • watcher : Filesystem watcher. Works anywhere. Simple, efficient and friendly.

  • fmt : {fmt} is an open-source formatting library providing a fast and safe alternative to C stdio and C++ iostreams.