awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
nothings avatar

nothings/stb

0
View on GitHub↗
33,970 stars·8,062 forks·C·35 viewstwitter.com/nothings↗

Stb

This project is a collection of portable, header-only C functions designed for integration into software projects without complex build dependencies or external linking requirements. It provides a suite of low-level utilities for graphics, audio, and data management, focusing on direct memory manipulation and zero-dependency portability. By utilizing a single-header distribution model, the library simplifies dependency management while allowing developers to maintain full control over memory allocation and binary size through compile-time configuration.

The library distinguishes itself by offering specialized tools for resource-constrained environments, including custom memory allocators and diagnostic utilities for tracking heap usage. It provides comprehensive support for graphics asset processing, such as loading, resizing, and compressing image data, alongside a text rendering engine capable of rasterizing font files or generating vertex data. These capabilities are complemented by procedural generation functions for creating deterministic noise patterns and audio decoding tools for processing compressed streams into raw data.

Beyond its core graphics and audio features, the library includes fundamental programming primitives for managing dynamic data structures, such as arrays and hash maps, and provides portable string formatting and text editing management. These utilities are designed to operate directly on raw memory buffers, ensuring consistent performance and predictable behavior across different hardware architectures.

The entire library is contained within single source files that can be included directly into a project, requiring only standard C library functions for operation.

Features

  • Single-Header Libraries - Provides portable, header-only C functions designed for easy integration without complex build dependencies.
  • Text Rendering - A collection of utilities for rasterizing font files and generating vertex data to display high-quality text within custom graphics applications.
  • Compression and Archiving - Real-time DXT compressor.
  • Build Systems - A collection of single-file libraries for various tasks.
  • Data Structures - Typesafe dynamic arrays and hash tables.
  • Font Rendering Libraries - Single-header library to parse, decode, and rasterize TrueType fonts.
  • Frameworks - Collection of single-file libraries for various tasks.
  • Game Engine Components - Grid reachability, tile map generation, and editors.
  • General Utilities - Range of single-file libraries for C/C++.
  • Graphical User Interfaces - Small, single-file graphics library.
  • Graphics and Rendering - Voxel rendering engine and utilities.
  • Language Utilities - Fast sprintf and snprintf implementation.
  • Memory Management - Malloc/free leak checking.
  • Standard Library Extensions - Collection of single-file libraries for various tasks.
  • User Interface Frameworks - Text editor implementation primitives.
  • Audio Processing - Audio waveform synthesizer and Ogg Vorbis decoder.
  • Graphics and Games - Single-file public domain graphics libraries.
  • Image Processing - Single-header image loading library.
  • Windows Environments - Listed in the “Windows Environments” section of the Awesome C awesome list.
  • Image Optimization Tools - Decodes common image file formats into raw pixel data for use in graphics applications.
  • Process and Memory Management - The library allows users to provide custom memory allocators or pre-allocated buffers to maintain full control over heap usage in resource-constrained environments.
  • System Debugging - Tracks heap allocations and deallocations to identify and report memory leaks at program termination.
  • Language Specifications - The code relies exclusively on standard C library functions to ensure maximum portability across different operating systems and hardware architectures.
  • Font Rasterizers - Rasterizes TrueType font files into bitmaps by calculating metrics and parsing font data.
  • Font Renderers - Converts font files into bitmap or vertex data for custom graphics engines.
  • Text Input Managers - Manages multi-line text editing, cursor navigation, and clipboard operations for custom user interface input fields.
  • Procedural Generation - Creates deterministic random patterns like terrain or textures using mathematical noise functions.
  • Asset Pipelines - Loads, resizes, and compresses image files for high-performance rendering.
  • Conditional Compilation Utilities - The library uses preprocessor macros to toggle specific features or platform-specific implementations during the build process to minimize binary size.

Star history

Star history chart for nothings/stbStar history chart for nothings/stb

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Projects sharing features with Stb

These projects share indexed features with Stb. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • keybuk/libnihkeybuk avatar

    keybuk/libnih

    92View on GitHub↗

    NIH Utility Library

    C
    View on GitHub↗92
  • pixijs/pixijspixijs avatar

    pixijs/pixijs

    47,416View on GitHub↗

    PixiJS is a high-performance 2D rendering engine designed for building interactive visual content and browser-based games. It provides a hardware-accelerated graphics library that leverages WebGL and WebGPU backends to execute complex scenes, utilizing a hierarchical scene graph to manage object transformations and display order. The project distinguishes itself through a sophisticated architecture that decouples rendering logic from hardware APIs, allowing for consistent performance across diverse browser environments. It features a robust, asynchronous asset pipeline that handles loading, c

    TypeScriptcanvascanvas2ddata-visualization
    View on GitHub↗47,416
  • immediate-mode-ui/nuklearImmediate-Mode-UI avatar

    Immediate-Mode-UI/Nuklear

    10,884View on GitHub↗

    Nuklear is a minimal, header-only graphical user interface toolkit written in C. It utilizes an immediate-mode rendering model, where the interface is reconstructed and drawn directly within the application loop each frame. This approach eliminates the need for persistent widget state or complex synchronization between the interface and underlying application data. The library is designed for portability and integration into resource-constrained environments. It requires the host application to manage memory manually, allowing it to function in systems that lack standard library support. By d

    Ccc89gui
    View on GitHub↗10,884
  • wolkykim/qlibcwolkykim avatar

    wolkykim/qlibc

    1,018View on GitHub↗

    qLibc is a simple and yet powerful C library providing generic data structures and algorithms.

    C
    View on GitHub↗1,018
Compare all 30 related projects→

Frequently asked questions

What does nothings/stb do?

This project is a collection of portable, header-only C functions designed for integration into software projects without complex build dependencies or external linking requirements. It provides a suite of low-level utilities for graphics, audio, and data management, focusing on direct memory manipulation and zero-dependency portability. By utilizing a single-header distribution model, the library simplifies dependency management while allowing developers to maintain full…

What are the main features of nothings/stb?

The main features of nothings/stb are: Single-Header Libraries, Text Rendering, Compression and Archiving, Build Systems, Data Structures, Font Rendering Libraries, Frameworks, Game Engine Components.

Which projects share features with nothings/stb?

Projects with overlapping indexed features include: keybuk/libnih — NIH Utility Library. pixijs/pixijs — PixiJS is a high-performance 2D rendering engine designed for building interactive visual content and browser-based… immediate-mode-ui/nuklear — Nuklear is a minimal, header-only graphical user interface toolkit written in C. It utilizes an immediate-mode… wolkykim/qlibc — qLibc is a simple and yet powerful C library providing generic data structures and algorithms. floooh/sokol — Sokol is a C hardware abstraction layer and cross-platform graphics library designed for managing windowing, input,… antirez/sds — sds is a C dynamic string library that provides a memory management wrapper for heap-allocated strings. It implements…