Home

Awesome

slibs 🐾

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<details><summary>Llama2 for CPU</summary>Llama2, catseye</details>
ggml.hMIT20352Tensor library for machine learning, <details><summary>details</summary>GGML, Llama 2, RedPajama, Stable Diffusion</details>

🎶 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

🎥 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, <details><summary>details</summary>Document, Example</details>
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<details><summary>GLES 3.0 frameworks</summary>Matmul example,LLM example</details>
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<details><summary>clock function for linux</summary>ref.</details>
ht.hMIT330hash table
kbhit.hMIT64<details><summary>kbhit function for linux</summary>ref.</details>
ls.hMIT155<details><summary>making list of files and directories</summary>ref.</details>

🖥 console

librarylicenseLoCdescription
aimage.hpublic domain321Image Viewer for Console
mcurses.hGPL-21481<details><summary>"mcurses" is a minimized version of programming library ncurses</summary>ref.</details>
termbox.hMIT1719<details><summary>Library for writing text-based user interfaces</summary>ref.</details>
qrcodegen.hMIT1413QR Code generator library

📝 parser

librarylicenseLoCdescription
csv.hpublic domain77CSV file parser
ini.hBSD250ini file parser
parg.hCC0551<details><summary>Parser for argv that works similarly to getopt</summary>ref.</details>
parson.hMIT2239<details><summary>Lightweight JSON library</summary>ref.</details>
utf8.hGPL21123<details><summary>UTF8 decoder and encoder library</summary>ref.</details>

📖 References