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.
Hot right now
Most stars gained in a day · Dec 2
+208OmniRoute
cheaper-inference/OmniRoute · ★ 91.9KOmniRoute 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.
+155rtk
rtk-ai/rtk · ★ 88.6Krtk 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.
headroom
headroomlabs-ai/headroom · ★ 81.3KHeadroom 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.
+93billion-context
ranxianglei/billion-context · ★ 8.9Kbillion-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.
The all-time top
49 projects · by stars
- 91.9K
#1 · cheaper-inference/OmniRouteOmniRoute
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.
- 88.6K
#2 · rtk-ai/rtkrtk
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.
- 81.3K
#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.
- 4

ripgrep
70.5KBurntSushi/ripgrep · Rustripgrep (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.
- 5
DeepSpeed
43.4Kdeepspeedai/DeepSpeed · PythonDeepSpeed 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.
- 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.
- 7

restic
37.3Krestic/restic · Gorestic is a command-line backup program that is fast, secure, and efficient, supporting Linux, macOS, Windows, FreeBSD, and OpenBSD.
- 8

CyberChef
36.6Kgchq/CyberChef · JavaScriptCyberChef 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 - 9

stb
35Knothings/stb · CA 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.
- 10

zstd
28.3Kmeta/zstd · CZstandard (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.
- 11

squoosh
26.2KGoogleChromeLabs/squoosh · TypeScriptSquoosh 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.
- 12

actix-web
25Kactix/actix-web · RustActix Web is a powerful, pragmatic and extremely fast web framework for Rust, used to build web servers, APIs and realtime services.
- 13

timescaledb
23.9Ktimescale/timescaledb · CTimescaleDB 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.
- 14

ws
22.8Kwebsockets/ws · JavaScriptws 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.
- 15

VictoriaMetrics
18.2KVictoriaMetrics/VictoriaMetrics · GoVictoriaMetrics 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 - 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.
- 17

digital_video_introduction
16.4Kleandromoreira/digital_video_introduction · Jupyter NotebookA 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.
- 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.
- 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.
- 20

httpx
15.8Kencode/httpx · PythonHTTPX 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.
- 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.
- 22
brotli
15.1Kgoogle/brotli · TypeScriptBrotli 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.
- 23

libsodium
14.1Kjedisct1/libsodium · CLibsodium 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.
- 24

borg
13.9Kborgbackup/borg · PythonBorgBackup 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.
- 25

PaddleNLP
13KPaddlePaddle/PaddleNLP · PythonPaddleNLP 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.
- 26
redux-persist
13Kendograph/redux-persist · TypeScriptRedux 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.
- 27

lz4
12.8Klz4/lz4 · CLZ4 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.
- 28

wcdb
11.7KTencent/wcdb · CWCDB 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.
- 29
imgproxy
11.2Kimgproxy/imgproxy · Goimgproxy 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 - 30

jszip
10.4KStuk/jszip · JavaScriptJSZip is a JavaScript library for creating, reading, and editing .zip files, usable in both the browser and Node.js.
- 31

warp
10.4Kseanmonstar/warp · Rustwarp is a super-easy, composable web server framework for Rust, promising 'warp speeds'.
- 32
phpredis
10.2Kphpredis/phpredis · CA 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.
- 33

node-mongodb-native
10.2Kmongodb/node-mongodb-native · TypeScriptThe 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.
- 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.).
- 35

billion-context
8.9Kranxianglei/billion-context · TypeScriptbillion-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.
- 36

rsync
5.4KRsyncProject/rsync · CRsync is a fast file copying tool for both remote and local files, syncing directories and backing up data efficiently.
- 37
parameter-golf
5.2Kopenai/parameter-golf · PythonThis 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.
- 38
SimpleMem
3.9Kaiming-lab/SimpleMem · PythonSimpleMem 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.
- 39
hatchzip
3.3Kxevrion/hatchzip · RustHatchZip 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.
- 40

MacPacker
1.5Ksarensw/MacPacker · SwiftMacPacker 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.
- 41

marisa-trie
1.1Kpytries/marisa-trie · CythonStatic, 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.
- 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.
- 43

slimdeer
567heydeer/slimdeer · Rustpngdeer 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.
- 44

Arachnidium
428p2r3/Arachnidium · PythonArachnidium 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.
- 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.
- 46

squeez
237claudioemmanuel/squeez · RustSqueez 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.
- 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.
- 48

dsh-undo-savepoint
207lire1131/dsh-undo-savepoint · JavaScriptdsh-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.
- 49
applesauce
182Dr-Emann/applesauce · RustApplesauce 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.
Related topics
Often tagged together