floooh/sokol ? reverse-engineered prompt

Reverse engineered prompt

Build me a lightweight set of single file C headers for making cross platform apps and simple games.

I want a small library that gives me a window and app entry point, input handling, timing, simple logging, audio playback, async file and HTTP fetching, and a graphics layer that can work across the common desktop and web backends. It should feel easy to drop into an existing C or C++ project without a big build system.

Also add a few optional helper headers for common things like Dear ImGui support, simple text rendering, shapes, colors, and a basic debug view for graphics resources. Keep it clean, portable, and minimal, with examples or tests that show how to use each piece.

If you need to, look up current docs online for any backend details, but keep the implementation straightforward and practical.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab