Awesome
slibs 🐾
🐱 Single file libraries for C/C++.
💎 AI (llm, Stable Diffusion)
library | license | LoC | description |
---|---|---|---|
catseye_llm.h | MIT | 1874 | <details><summary>Llama2 for CPU</summary>Llama2, catseye</details> |
ggml.h | MIT | 20352 | Tensor library for machine learning, <details><summary>details</summary>GGML, Llama 2, RedPajama, Stable Diffusion</details> |
🎶 audio (aplay+)
library | license | LoC | description |
---|---|---|---|
alsa.h | public domain | 138 | ALSA library |
uaac.h | RPSL | 13438 | AAC audio decoder |
uflac_enc.h | LGPL-2.1 | 2843 | FLAC audio encoder |
wav.h | public domain | 61 | Wave format |
wave.h | public domain | 304 | utility for wave format |
minimp3.h | LGPL | 2671 | MP3 decoder |
🎥 video
library | license | LoC | description |
---|---|---|---|
v4l2.h | public domain | 614 | video for linux |
mp4parser.h | LGPL-3.0 | 6015 | mp4 parser |
jo_mpeg.h | public domain | 317 | MPEG1/2 encoder |
🖼 image (img2vec)
library | license | LoC | description |
---|---|---|---|
imgp.h | public domain | 441 | mini image processing library |
potracelib.h | GPL | 2466 | Transforming bitmaps into vector graphics, <details><summary>details</summary>Document, Example</details> |
pssub.h | unknown | 1153 | Postscript library |
svg.h | Apache-2.0 | 348 | SVG library |
🎮 OpenGL
library | license | LoC | description |
---|---|---|---|
kms-glsl.h | MIT | 2426 | OpenGL using the DRM/KMS |
📈 math
library | license | LoC | description |
---|---|---|---|
fft.h | public domain | 136 | Fast Fourier Transform |
ifft.h | unknown | 550 | Fixed-point in-place Fast Fourier Transform |
fmath.h | public domain | 142 | Fast math library |
random.h | public domain | 33 | XOR128 random function |
📈 math / GEMM / GPGPU (waifu2x-glsl)
library | license | LoC | description |
---|---|---|---|
sgemm_sse.h | public domain | 451 | Fast GEMM function for SSE |
sgemm_ocl.h | public domain | 662 | Fast GEMM function for OpenCL |
sgemm_gl.h | public domain | 110 | Fast GEMM function for OpenGL4 |
gpgpu_glsl.h | public domain | 399 | GLSL frameworks |
gpgpu_gles.h | public domain | 443 | <details><summary>GLES 3.0 frameworks</summary>Matmul example,LLM example</details> |
gpgpu_gles3.h | public domain | 264 | GLES 3.0 frameworks with TransformFeedback |
gpgpu_gl4.h | public domain | 170 | OpenGL compute shader frameworks |
ocl.h | public domain | 190 | OpenCL frameworks |
🔧 utils
library | license | LoC | description |
---|---|---|---|
alloc.h | MIT | 116 | Safety alloc |
clock.h | MIT | 31 | <details><summary>clock function for linux</summary>ref.</details> |
ht.h | MIT | 330 | hash table |
kbhit.h | MIT | 64 | <details><summary>kbhit function for linux</summary>ref.</details> |
ls.h | MIT | 155 | <details><summary>making list of files and directories</summary>ref.</details> |
🖥 console
library | license | LoC | description |
---|---|---|---|
aimage.h | public domain | 321 | Image Viewer for Console |
mcurses.h | GPL-2 | 1481 | <details><summary>"mcurses" is a minimized version of programming library ncurses</summary>ref.</details> |
termbox.h | MIT | 1719 | <details><summary>Library for writing text-based user interfaces</summary>ref.</details> |
qrcodegen.h | MIT | 1413 | QR Code generator library |
📝 parser
library | license | LoC | description |
---|---|---|---|
csv.h | public domain | 77 | CSV file parser |
ini.h | BSD | 250 | ini file parser |
parg.h | CC0 | 551 | <details><summary>Parser for argv that works similarly to getopt</summary>ref.</details> |
parson.h | MIT | 2239 | <details><summary>Lightweight JSON library</summary>ref.</details> |
utf8.h | GPL2 | 1123 | <details><summary>UTF8 decoder and encoder library</summary>ref.</details> |