Topics / #compression

Compression projects on GitHub

Compression techniques for data, media or model sizes.

As of , the most-starred Compression projects on GitHub are OmniRoute (91.9K stars), rtk (88.6K stars) and headroom (81.3K stars). GitHub.Locker tracks 49 Compression repositories with 953.3K stars combined. The fastest-growing on December 2 was OmniRoute, with +208 stars in a day.

49Projects
953.3KStars in total
+908Stars in a day

Hot right now

Most stars gained in a day · Dec 2

The all-time top

49 projects · by stars

  1. #1 · cheaper-inference/OmniRoute

    OmniRoute

    OmniRoute is a free, open-source AI gateway that puts 359 providers and 1200+ models (Kimi, Claude, GPT, Gemini, GLM, DeepSeek, MiniMax, etc.) behind one API endpoint, with quota-aware automatic fallback when a provider runs out.

    91.9K
  2. #2 · rtk-ai/rtk

    rtk

    rtk is a CLI proxy that filters and compresses command outputs before they reach your LLM context, cutting 60-90% of the bash output your coding agent reads and lowering token costs.

    88.6K
  3. #3 · headroomlabs-ai/headroom

    headroom

    Headroom compresses everything an AI agent reads - tool outputs, logs, RAG chunks, files, and conversation history - before it reaches the LLM, cutting tokens while keeping the same answers. It ships as a library, a local proxy, and an MCP server.

    81.3K
  1. 4

    ripgrep

    70.5KBurntSushi/ripgrep · Rust

    ripgrep (rg) is a line-oriented command-line tool that recursively searches directories for a regex pattern, automatically respecting .gitignore rules and skipping hidden and binary files by default.

  2. 5

    DeepSpeed

    43.4Kdeepspeedai/DeepSpeed · Python

    DeepSpeed is a deep learning optimization library that makes distributed training and inference of very large models easy, efficient and effective — it powered models like MT-530B and BLOOM.

  3. 6

    leveldb

    39.6Kgoogle/leveldb · C++

    LevelDB is a fast key-value storage library written at Google that provides an ordered mapping from string keys to string values, supporting Put, Get, Delete and range iteration.

  4. 7

    restic

    37.3Krestic/restic · Go

    restic is a command-line backup program that is fast, secure, and efficient, supporting Linux, macOS, Windows, FreeBSD, and OpenBSD.

  5. 8

    CyberChef

    36.6Kgchq/CyberChef · JavaScript

    CyberChef is a web app that bundles encoding, encryption, compression, hashing and other data-analysis operations ('cyber' operations) into a single drag-and-drop recipe builder that runs entirely in your browser.

    Deploy on Railway
  6. 9

    stb

    35Knothings/stb · C

    A collection of 21 single-file libraries for C/C++ covering image loading, writing and resizing, font rasterizing, audio decoding, containers and more — all released into the public domain, with an MIT option if you need a regular license.

  7. 10

    zstd

    28.3Kmeta/zstd · C

    Zstandard (zstd) is a fast lossless compression algorithm for real-time scenarios, at zlib-level ratios or better. This repo is the reference C implementation plus a CLI; the format is stable and documented in RFC8878.

  8. 11

    squoosh

    26.2KGoogleChromeLabs/squoosh · TypeScript

    Squoosh is a web app from Google Chrome Labs that compresses images into various formats directly in the browser, letting you shrink file sizes without uploading anything to a server.

  9. 12

    actix-web

    25Kactix/actix-web · Rust

    Actix Web is a powerful, pragmatic and extremely fast web framework for Rust, used to build web servers, APIs and realtime services.

  10. 13

    timescaledb

    23.9Ktimescale/timescaledb · C

    TimescaleDB is a PostgreSQL extension for high-performance real-time analytics on time-series and event data — sensor readings, financial ticks, application events. You work with it in regular SQL.

  11. 14

    ws

    22.8Kwebsockets/ws · JavaScript

    ws is a simple to use, blazing fast, thoroughly tested WebSocket client and server implementation for Node.js, with support for the permessage-deflate compression extension.

  12. 15

    VictoriaMetrics

    18.2KVictoriaMetrics/VictoriaMetrics · Go

    VictoriaMetrics is a fast, cost-effective monitoring solution and time series database. It stores metrics long-term and can serve as storage for Prometheus or a drop-in replacement for Prometheus and Graphite in Grafana.

    Deploy on Railway
  13. 16

    upx

    18Kupx/upx · C++

    UPX (Ultimate Packer for eXecutables) is a command-line tool that compresses executable files and DLLs, typically shrinking their size by 50-70% while keeping them runnable without any runtime penalty for most formats.

  14. 17

    digital_video_introduction

    16.4Kleandromoreira/digital_video_introduction · Jupyter Notebook

    A free, hands-on guide that teaches digital video concepts in plain language: how images and color work, how video compression and codecs (H.264, H.265, VP9, AV1) function, and how online streaming works.

  15. 18

    NanaZip

    16.3KM2Team/NanaZip · C++

    An open source file archiver forked from the source code of 7-Zip, rebuilt for the modern Windows experience with a Fluent-style UI, MSIX packaging and extra codecs and hash algorithms.

  16. 19

    FileConverter

    15.8KTichau/FileConverter · C#

    File Converter is a Windows tool that lets you convert and compress files directly from the right-click context menu in Windows Explorer, without opening a separate app.

  17. 20

    httpx

    15.8Kencode/httpx · Python

    HTTPX is a fully featured HTTP client library for Python 3, with a broadly requests-compatible API, HTTP/1.1 and HTTP/2 support, and both sync and async interfaces. It also ships with an integrated command-line client.

  18. 21

    duplicati

    15.2Kduplicati/duplicati · C#

    Duplicati is a free, open-source backup client that stores encrypted, incremental, and compressed backups on cloud storage services and remote file servers.

  19. 22

    brotli

    15.1Kgoogle/brotli · TypeScript

    Brotli is Google's general-purpose lossless compression algorithm, combining a modern LZ77 variant, Huffman coding and 2nd order context modeling. It runs at about deflate's speed but compresses denser.

  20. 23

    libsodium

    14.1Kjedisct1/libsodium · C

    Libsodium is an easy-to-use software library providing cryptographic operations like encryption, decryption, digital signatures, and secure password hashing. It is a portable, cross-compilable fork of NaCl that keeps API compatibility while improving usability.

  21. 24

    borg

    13.9Kborgbackup/borg · Python

    BorgBackup is a deduplicating backup program that supports optional compression and authenticated encryption. It's designed to let you run efficient, secure daily backups since it only stores changed data.

  22. 25

    PaddleNLP

    13KPaddlePaddle/PaddleNLP · Python

    PaddleNLP is a large language model (LLM) and small language model (SLM) development toolkit built on the PaddlePaddle deep learning framework, offering efficient training, lossless compression, and high-performance inference for large models.

  23. 26

    redux-persist

    13Kendograph/redux-persist · TypeScript

    Redux Persist is a library that saves (persists) your Redux store to storage and automatically rehydrates it when your app reloads, so state survives page refreshes or app restarts.

  24. 27

    lz4

    12.8Klz4/lz4 · C

    LZ4 is an open-source lossless compression algorithm and its reference C implementation, built for extreme speed: 500+ MB/s compression per core, a multi-GB/s decoder, scaling across CPU cores.

  25. 28

    wcdb

    11.7KTencent/wcdb · C

    WCDB is a cross-platform database framework built by WeChat on top of SQLite and SQLCipher, providing ORM, encryption, corruption recovery and other database features for mobile and desktop apps.

  26. 29

    imgproxy

    11.2Kimgproxy/imgproxy · Go

    imgproxy is a fast, standalone server that resizes, crops, converts, and optimizes images on the fly by fetching them from a source URL you provide.

    Deploy on Railway
  27. 30

    jszip

    10.4KStuk/jszip · JavaScript

    JSZip is a JavaScript library for creating, reading, and editing .zip files, usable in both the browser and Node.js.

  28. 31

    warp

    10.4Kseanmonstar/warp · Rust

    warp is a super-easy, composable web server framework for Rust, promising 'warp speeds'.

  29. 32

    phpredis

    10.2Kphpredis/phpredis · C

    A PHP extension that gives PHP a fast API for talking to the Redis key-value store. It also works with Valkey, Dragonfly, and KeyDB, and is released under the PHP License 3.01.

  30. 33

    node-mongodb-native

    10.2Kmongodb/node-mongodb-native · TypeScript

    The official MongoDB driver for Node.js — a client library that Node.js apps use to connect to a MongoDB server and run queries, CRUD operations and index management against it.

  31. 34

    meshoptimizer

    8.9Kzeux/meshoptimizer · C++

    meshoptimizer is a C/C++ library of algorithms that optimize 3D meshes so they render faster on the GPU and take up less storage (vertex cache, overdraw, vertex fetch, quantization, simplification, etc.).

  32. 35

    billion-context

    8.9Kranxianglei/billion-context · TypeScript

    billion-context is a context-compression proxy that sits between any coding agent and its model API, rewriting Anthropic/OpenAI streams so a 100K context window is enough and a single session can run for months across billions of tokens.

  33. 36

    rsync

    5.4KRsyncProject/rsync · C

    Rsync is a fast file copying tool for both remote and local files, syncing directories and backing up data efficiently.

  34. 37

    parameter-golf

    5.2Kopenai/parameter-golf · Python

    This is OpenAI's 'Model Craft Challenge: Parameter Golf' - a competition to train the best language model that fits in a 16MB artifact and trains in under 10 minutes on 8xH100 GPUs, scored by bits-per-byte compression on the FineWeb validation set.

  35. 38

    SimpleMem

    3.9Kaiming-lab/SimpleMem · Python

    SimpleMem is a lifelong memory stack for LLM agents that stores, compresses, and retrieves long-term memories across text, image, audio, and video, so agents keep context without reprocessing redundant history.

  36. 39

    hatchzip

    3.3Kxevrion/hatchzip · Rust

    HatchZip is a free, open-source archive extractor for ZIP, 7z, RAR, tar and split archives that extracts files 'in place', consuming the archive as it goes so you only need free space for the output, not for the archive and the output combined.

  37. 40

    MacPacker

    1.5Ksarensw/MacPacker · Swift

    MacPacker is a free, open source archive manager for macOS that lets you browse archives like folders, preview files without extracting, and drag out only the files you need. It's meant as a native 7-Zip replacement for the Mac.

  38. 41

    marisa-trie

    1.1Kpytries/marisa-trie · Cython

    Static, memory-efficient trie-like data structures for Python, built on the marisa-trie C++ library. Strings stored inside can take up to 50x-100x less memory than in a standard Python dict, with comparable lookup speed and fast prefix search.

  39. 42

    pyrowave

    842Themaister/pyrowave · C++

    An intra-only video codec — effectively a still-image codec — that runs entirely on the GPU as Vulkan compute shaders: under ~0.1 ms per frame at 1080p and ~0.2 ms at 4K. It is built for local-network game streaming.

  40. 43

    slimdeer

    567heydeer/slimdeer · Rust

    pngdeer is a lossy PNG compressor that automatically searches palette sizes from 2 to 256 colors and dithering options, scoring each result with a perceptual metric (SSIMULACRA2), then keeps the smallest file that still looks right. There's no quality slider to set yourself.

  41. 44

    Arachnidium

    428p2r3/Arachnidium · Python

    Arachnidium is a self-hosted HTTP(S) optimization and compression proxy powered by mitmproxy, meant to run on a spare computer at home and be reached by your devices through a WireGuard VPN tunnel.

  42. 45

    TurboBench

    377powturbo/TurboBench · C++

    TurboBench is a data compression benchmark: a single executable that tests 100+ compressors in memory and shows which ones win on speed and compression ratio.

  43. 46

    squeez

    237claudioemmanuel/squeez · Rust

    Squeez is a hook-based token compressor for seven AI coding CLI hosts (Claude Code, Copilot CLI, OpenCode, Gemini CLI, Codex CLI, Pi, Hermes) that intercepts tool output and shrinks bash results by up to 95% without losing exact identifiers.

  44. 47

    steam2_downloader

    234extremebleem/steam2_downloader · C#

    A desktop browser and downloader for the 'terarelease' Steam2 content leak - a dump of 10,876 depots and 116,339 files totaling 13.3 TB. It shows what the archive holds, works out which files a given depot version actually needs, downloads them, verifies them with sha256, and unpacks them.

  45. 48

    dsh-undo-savepoint

    207lire1131/dsh-undo-savepoint · JavaScript

    dsh-undo-savepoint is a crash-rescue plugin for DeepSeek Harness (DSH) that snapshots your config and plugin code so you can undo, redo, or roll back to any version, plus an offline CLI/GUI/WebUI that keeps working even when DSH itself won't boot.

  46. 49

    applesauce

    182Dr-Emann/applesauce · Rust

    Applesauce is a Rust command-line tool that compresses, decompresses, and inspects files using macOS's transparent HFS+/APFS file compression — a modernized replacement for the older afsctool.

Often tagged together