Skip to content

By language

Top C++ projects

The most-starred MIT projects written mainly in C++.

How it's ranked: Sorted by GitHub stars, using GitHub's primary-language detection. Data from GitHub as of 2026-11-02.

  1. 1llama.cppRuns large language models locally in plain C/C++, on CPUs and many kinds of GPUs.ggml-org · C++★ 133k
  2. 2React NativeA framework for building native Android and iOS apps using React and JavaScript.react · C++★ 127k
  3. 3ElectronA framework for building desktop apps for macOS, Windows, and Linux using JavaScript, HTML, and CSS.electron · C++★ 124k
  4. 4GodotFree, open-source engine for making 2D and 3D games across desktop, mobile, web and consoles.godotengine · C++★ 119k
  5. 5Windows TerminalThe modern Windows terminal app, plus the original Windows console host, in one repository.microsoft · C++★ 105k
  6. 6Bitcoin CoreSoftware that runs a full Bitcoin node: it downloads and checks the whole Bitcoin network's history itself.bitcoin · C++★ 90.6k
  7. 7GPT4AllDesktop app and Python package for running open-source language models locally on your computer.nomic-ai · C++★ 77.3k
  8. 8Dear ImGuiA lightweight C++ library for building immediate-mode graphical user interfaces, mainly for tools and games.ocornut · C++★ 76.9k
  9. 9whisper.cppFast C/C++ port of OpenAI's Whisper speech-to-text model, runs locally on CPU or GPU.ggml-org · C++★ 54.9k
  10. 10JSON for Modern C++A single-header C++ library for reading, writing and manipulating JSON data.nlohmann · C++★ 50.8k
  11. 11DuckDBAn in-process analytical SQL database that runs inside your app with no server to manage.duckdb · C++★ 42.7k
  12. 12bitnet.cppOfficial C++ inference framework for running 1.58-bit (ternary) LLMs fast on CPUs and GPUs.microsoft · C++★ 41.4k
  13. 13FaissA C++ library with Python bindings for fast similarity search over large sets of vectors.facebookresearch · C++★ 41.2k
  14. 14StrataRuns a local AI chat and coding model on your own computer, with an OpenAI/Anthropic-style API on localhost.Niko1221 · C++★ 38.1k
  15. 15The Algorithms - C++A large collection of algorithms implemented in C++ for learning.TheAlgorithms · C++★ 34.8k
  16. 16WSLRuns Linux command-line tools and apps directly on Windows, without a full virtual machine.microsoft · C++★ 34.3k
  17. 17XiaoZhiOpen-source firmware that turns ESP32 boards into a voice chatbot controllable through MCP.78 · C++★ 32.5k
  18. 18SRSA real-time media server that receives and delivers live video over many streaming protocols.ossrs · C++★ 29.4k
  19. 19MLXAn array framework for machine learning on Apple silicon, with a NumPy-style Python API.ml-explore · C++★ 29k
  20. 20WinGetWindows command-line tool for finding and installing software packages from a single command.microsoft · C++★ 26.6k
  21. 21Modern C++ TutorialA free, book-style tutorial covering C++11 through C++26 new language features.changkun · C++★ 25.9k
  22. 22{fmt}A C++ library for fast, type-safe text formatting, as a safer alternative to printf and iostreams.fmtlib · C++★ 25.9k
  23. 23ONNX RuntimeA cross-platform library for running and training machine learning models quickly.microsoft · C++★ 22.2k
  24. 24LightGBMA fast gradient boosting library for tree-based machine learning on tabular data.lightgbm-org · C++★ 18.9k
  25. 25YogaA layout engine that positions boxes on screen using flexbox rules, usable from many languages.react · C++★ 18.9k

More rankings