slibs ๐Ÿพ

July 25, 2025 ยท View on GitHub

GitHub Repo stars GitHub code size in bytes Lines of code

๐Ÿฑ Single file libraries for C/C++.

Logo

๐Ÿ’Ž AI (llm, Stable Diffusion)

librarylicenseLoCdescription
catseye_llm.hMIT1874
Llama2 for CPULlama2, catseye
ggml.hMIT20352Tensor library for machine learning,
detailsGGML, Llama 2, RedPajama, Stable Diffusion

๐ŸŽถ audio (aplay+)

librarylicenseLoCdescription
alsa.hpublic domain138ALSA library
uaac.hRPSL13438AAC audio decoder
uflac_enc.hLGPL-2.12843FLAC audio encoder
wav.hpublic domain61Wave format
wave.hpublic domain304utility for wave format
minimp3.hLGPL2671MP3 decoder
adpcm.hpublic domain320ADPCM
uwma.hGPL5045wma
dsd.hpublic domain413DSD(DSF)

๐ŸŽฅ video

librarylicenseLoCdescription
v4l2.hpublic domain614video for linux
mp4parser.hLGPL-3.06015mp4 parser
jo_mpeg.hpublic domain317MPEG1/2 encoder

๐Ÿ–ผ image (img2vec)

librarylicenseLoCdescription
imgp.hpublic domain441mini image processing library
potracelib.hGPL2466Transforming bitmaps into vector graphics,
detailsDocument, Example
pssub.hunknown1153Postscript library
svg.hApache-2.0348SVG library

๐ŸŽฎ OpenGL

librarylicenseLoCdescription
kms-glsl.hMIT2426OpenGL using the DRM/KMS

๐Ÿ“ˆ math

librarylicenseLoCdescription
fft.hpublic domain136Fast Fourier Transform
ifft.hunknown550Fixed-point in-place Fast Fourier Transform
fmath.hpublic domain142Fast math library
random.hpublic domain33XOR128 random function

๐Ÿ“ˆ math / GEMM / GPGPU (waifu2x-glsl)

librarylicenseLoCdescription
sgemm_sse.hpublic domain451Fast GEMM function for SSE
sgemm_ocl.hpublic domain662Fast GEMM function for OpenCL
sgemm_gl.hpublic domain110Fast GEMM function for OpenGL4
gpgpu_glsl.hpublic domain399GLSL frameworks
gpgpu_gles.hpublic domain443
GLES 3.0 frameworksMatmul example,LLM example
gpgpu_gles3.hpublic domain264GLES 3.0 frameworks with TransformFeedback
gpgpu_gl4.hpublic domain170OpenGL compute shader frameworks
ocl.hpublic domain190OpenCL frameworks

๐Ÿ”ง utils

librarylicenseLoCdescription
alloc.hMIT116Safety alloc
clock.hMIT31
clock function for linuxref.
ht.hMIT330hash table
kbhit.hMIT64
kbhit function for linuxref.
ls.hMIT155
making list of files and directoriesref.

๐Ÿ–ฅ console

librarylicenseLoCdescription
aimage.hpublic domain321Image Viewer for Console
mcurses.hGPL-21481
"mcurses" is a minimized version of programming library ncursesref.
termbox.hMIT1719
Library for writing text-based user interfacesref.
qrcodegen.hMIT1413QR Code generator library

๐Ÿ“ parser

librarylicenseLoCdescription
csv.hpublic domain77CSV file parser
ini.hBSD250ini file parser
parg.hCC0551
Parser for argv that works similarly to getoptref.
parson.hMIT2239
Lightweight JSON libraryref.
utf8.hGPL21123
UTF8 decoder and encoder libraryref.

๐Ÿ“– References