Analysis updated 2026-05-18
Shrink a large AI-generated 3D model down to a size suitable for a web or mobile game.
Compress scanned 3D assets before importing them into Three.js, Unity, or Godot.
Compare before and after quality of a compressed model in the side-by-side preview.
| boona13/glb-shrink | money-takers/polymarket-arbitrage-trading-bot | onfable/onfable | |
|---|---|---|---|
| Stars | 119 | 119 | 120 |
| Language | TypeScript | TypeScript | TypeScript |
| Setup difficulty | easy | moderate | easy |
| Complexity | 2/5 | 3/5 | 3/5 |
| Audience | vibe coder | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
GLB Shrink is a web application for compressing 3D model files so they are small enough to use in games, apps, websites, and augmented or virtual reality experiences. A GLB file is a common 3D model format used by game engines, web browsers, and AR platforms. AI-generated and scanned 3D models often come out of creation tools at sizes between 5 and 60 megabytes with millions of triangles, which is too large for real-time use. GLB Shrink reduces them significantly: the example in the README shows a 58-megabyte model compressed to 869 kilobytes, a 99% reduction. The tool runs in a browser. You drag and drop a GLB file, it loads a side-by-side 3D preview, you choose a quality preset (smallest file, balanced, or sharpest), click compress, and then download the smaller result. The preview lets you compare the before and after versions interactively by rotating both models. Behind the scenes, the compression pipeline removes redundant geometry, simplifies the mesh down to fewer triangles, converts textures to the WebP image format, and applies Draco encoding, a format designed for efficient transmission of 3D geometry data. The resulting files work in Three.js, Unity, Unreal Engine, Godot, and other major real-time 3D environments. Running it locally requires Node.js 18 or later. The project uses Vite for the frontend and an Express server for the backend API that handles the actual compression work. The quality presets are designed so you do not need to understand technical parameters. The slider between presets shows plain-language hints to guide your choice. The project was built as part of a Three.js game called ThreeShaders and adapted into a standalone tool. It is released under the MIT license.
A browser tool that shrinks 3D model files down to a fraction of their size for use in games and apps.
Mainly TypeScript. The stack also includes TypeScript, Vite, Express.
Use freely for any purpose, including commercial use, as long as you keep the copyright notice.
Setup difficulty is rated easy, with roughly 5min to a first successful run.
Mainly vibe coder.
This repo across BitVibe Labs
Verify against the repo before relying on details.