floooh/sokol
minimal cross-platform standalone C headers observed · 2026-08-28
Health v2 · maintenance only
77/100
- Activity 99
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3337
- days_rel: n/a
- days_push: 7
- n_releases_24m: 0
Adoption not part of the score
10242 stars · 662 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Sokol is a collection of minimal, STB-style, cross-platform standalone C header libraries for graphics rendering, audio, input, and app windowing, written in C99 with no external dependencies. It targets desktop platforms and WebAssembly, with official bindings for languages like Zig, Nim, Rust, Odin, and D.
Use cases
- write a cross-platform 2D or 3D graphics application in pure C
- compile a C/C++ game or demo to WebAssembly and run it in the browser
- add audio playback to a C application without pulling in heavy dependencies
- build a small game or emulator with a single-header library approach
- prototype graphics techniques with Dear ImGui on top of a lightweight backend
- port a native app to the web with minimal code changes
When to choose
- you want zero-dependency, single-header C libraries in the style of stb
- you need cross-platform graphics/audio/input with WebAssembly as a first-class target
- you prefer minimal, simple APIs over large frameworks like SDL or Unity
- you are writing a game, demo, emulator, or tool in C or C++
When to avoid
- you need a full game engine with editor, asset pipeline, and scripting
- you require advanced engine features like built-in physics, networking, or scene graphs
- your project depends on a high-level language ecosystem without C interop
Facets
library · maturity stable
graphics audio-processing gui wasm developer-tools graphics cross-platform web-development cross-platform windows wasm cpp c stb-style single-header c99 game-development webgpu opengl metal d3d11 vulkan no-dependencies linux macos
2 sources
- readme: https://github.com/floooh/sokol · fetched 2026-08-28 · a8d5a86e6f88
- homepage: https://floooh.github.io/sokol-html5 · fetched 2026-08-29 · 279acc47e08b
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| floooh/sokol | main | 77 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem