Topics / #compression
Compression projects on GitHub
Compression techniques for data, media or model sizes.
As of , the most-starred Compression projects on GitHub are rtk (83.8K stars), OmniRoute (78.1K stars) and headroom (75.9K stars). GitHub.Locker tracks 48 Compression repositories with 924.2K stars combined. The fastest-growing on October 18 was OmniRoute, with +428 stars in a day.
Hot right now
Most stars gained in a day · Oct 18
OmniRoute
diegosouzapw/OmniRoute · ★ 78.1KOmniRoute 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.
headroom
headroomlabs-ai/headroom · ★ 75.9KHeadroom 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.
+134billion-context
ranxianglei/billion-context · ★ 1.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.
rtk
rtk-ai/rtk · ★ 83.8Krtk 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.
The all-time top
48 projects · by stars
- 83.8K
#1 · 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.
- 78.1K
#2 · diegosouzapw/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.
- 75.9K
#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
69.2KBurntSushi/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.2Kdeepspeedai/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.5Kgoogle/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
36.6Krestic/restic · Gorestic is a command-line backup program that is fast, secure, and efficient, supporting Linux, macOS, Windows, FreeBSD, and OpenBSD.
- 8

CyberChef
36.2Kgchq/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.
- 9

stb
34.9Knothings/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.1Kfacebook/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
26KGoogleChromeLabs/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
24.9Kactix/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.7Ktimescale/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

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.
- 16

VictoriaMetrics
17.9KVictoriaMetrics/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.
- 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
15.9KM2Team/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

httpx
15.6Kencode/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.
- 20

FileConverter
15.4KTichau/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.
- 21

duplicati
15.1Kduplicati/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
14.9Kgoogle/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
14Kjedisct1/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
12.9Kendograph/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

guetzli
12.9Kgoogle/guetzli · C++Guetzli is a perceptual JPEG encoder from Google that produces JPEG files 20-30% smaller than libjpeg at the same visual quality by optimizing for human perception instead of simple pixel metrics.
- 28
RxTool
12.3KTamsiree/RxTool · KotlinA toolbox of utility classes for everyday Android development: payments, QR/barcode scanning, dialogs, GPS location, compression and a stack of custom views, packaged as a Kotlin library.
- 29

lz4
12.2Klz4/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.
- 30

wcdb
11.6KTencent/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.
- 31
imgproxy
11.1Kimgproxy/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.
- 32

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

warp
10.4Kseanmonstar/warp · Rustwarp is a super-easy, composable web server framework for Rust, promising 'warp speeds'.
- 34
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.
- 35

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.
- 36
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.
- 37
SimpleMem
3.8Kaiming-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.
- 38

billion-context
1.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.
- 39

MacPacker
1.3Ksarensw/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.
- 40
libdragon
1.3KDragonMinded/libdragon · CLibdragon is an open-source SDK for homebrew Nintendo 64 development, giving you a modern C11 toolchain plus graphics, audio, filesystem and debugging libraries to build real N64 ROMs.
- 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
767Themaister/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

Arachnidium
398p2r3/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.
- 44

TurboBench
374powturbo/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.
- 45

steam2_downloader
229extremebleem/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.
- 46

squeez
217claudioemmanuel/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

dsh-undo-savepoint
181lire1131/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.
- 48
applesauce
170Dr-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