Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mattiasgustavsson/libs
Single-file public domain libraries for C/C++
https://github.com/mattiasgustavsson/libs
Last synced: 25 days ago
JSON representation
Single-file public domain libraries for C/C++
- Host: GitHub
- URL: https://github.com/mattiasgustavsson/libs
- Owner: mattiasgustavsson
- Created: 2015-11-15T09:44:06.000Z (almost 9 years ago)
- Default Branch: main
- Last Pushed: 2024-07-09T18:16:06.000Z (4 months ago)
- Last Synced: 2024-10-01T17:42:59.350Z (about 1 month ago)
- Language: C
- Size: 5.3 MB
- Stars: 1,658
- Watchers: 57
- Forks: 124
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- zero - libs
- awesome-game-engine-dev - Libs - Single-file public domain libraries for C/C++, by [Mattias Gustavsson](https://github.com/mattiasgustavsson). (Libraries / C)
- awesome-audio-plugin-framework - threads.h
- AwesomeCppGameDev - libs - file public domain libraries for C/C++ (Libraries)
README
![build](https://github.com/mattiasgustavsson/libs/actions/workflows/main.yml/badge.svg)
# libs
Single-file public domain libraries for C/C++ (dual licensed under MIT).* [app.h](docs/app.md) - Small cross-platform base framework for graphical apps, for C/C++.
* [assetsys.h](docs/assetsys.md) - File system abstraction to read from zip-files, for C/C++.
* [hashtable.h](docs/hashtable.md) - Cache efficient hash table implementation for C/C++.
* [http.h](docs/http.md) - Basic HTTP protocol implementation over sockets (no https).
* [ini.h](docs/ini.md) - Simple ini-file reader for C/C++.
* [rnd.h](docs/rnd.md) - Pseudo-random number generators for C/C++.
* [strpool.h](docs/strpool.md) - Highly efficient string pool for C/C++.
* [thread.h](docs/thread.md) - Cross platform threading functions for C/C++.# wip libs
More libs, work-in-progress, some are unfinished, some are complete but lacking documentation.* array.h - Dynamic array library for C/C++.
* audiosys.h - Sound mixer library for C/C++.
* buffer.h - Memory buffer with read/write operations, for C/C++.
* crtemu.h - Cathode ray tube emulation shader for C/C++.
* cstr.h - String interning and manipulation library for C/C++.
* dialog.h - Loading and management of dialogs for a custom game dialog system.
* dir.h - Directory listing functions for C/C++.
* frametimer.h - Framerate timer functionality, for C/C++.
* id3tag.h - Read/write ID3 tags from/to mp3 files in C/C++.
* img.h - Image processing functions for C/C++.
* mus.h - Parsing library for MUS music files (as used in DOS games).
* paldither.h - Convert true-color image to custom palette, with dither.
* palettize.h - Median-cut palette generation and remapping for C/C++.
* palrle.h - Run-length encoding of palettized bitmaps, for C/C++.
* pixelfont.h - Custom pixel font format builder and renderer.
* sysfont.h - Simple debug text renderer for C/C++.
* testfw.h - Basic test framework for C/C++.# repackaged libs
Single-file header-only versions of libs written by other people, released under the same license as the original lib.
I recommend using the latest version of these libs - I only repackage them like this to fit my single-file-libs centered
dev paradigm, and if you don't absolutely need that, you are better off using the original multi-file versions.* ftplib.h - FTP client lib for C/C++. *By Thomas Pfau.*
* hoedown.h - Markdown to HTML renderer for C/C++. *By Porte/Marti/Mendez/Torres.*
* libxdiff.h - File Differential Library. *By Davide Libenzi.*
* lzma.h - LZMA data compression/decompression library. *By Igor Pavlov.*
* opl.h - OPL3/SB16 emulation with MIDI interface. *Based on code by Aaron Giles and Mateusz Viste*
* samplerate.h - Sample-rate converter (libsamplerate) for C/C++. *By Erik de Castro Lopo*
* speech.h - Basic text-to-speech synthesizer for C/C++. *By Jari Komppa / Nick Ing-Simmons (et al)*