Vexy SVGO¶
{: .fs-9 }
High-performance SVG optimizer - Native Rust port of SVGO
Get Started Now Try Demo View on GitHub
⚡ 12x Faster than SVGO¶
{: .text-center }
Native Rust performance with full SVGO API compatibility
🚀
Native Performance
Rust-powered optimization
🔄
Drop-in Replacement
Full SVGO compatibility
🌐
WebAssembly Ready
Runs in browsers
Quick Start¶
Try Online Demo¶
Experience Vexy SVGO's power directly in your browser with our interactive WebAssembly demo.
Install Locally¶
# Download pre-built binary
curl -sSL https://github.com/vexyart/vexy-svgo/releases/latest/download/vexy-svgo-macos.tar.gz | tar -xz
# Or build from source
git clone https://github.com/vexyart/vexy-svgo
cd vexy-svgo
cargo build --release
Use as Library¶
use vexy_svgo::{optimize, Config};
let svg = "<svg>...</svg>";
let config = Config::default();
let result = optimize(svg, &config)?;
println!("Optimized: {}", result.data);
Documentation Paths¶
👤 End Users
Getting started with Vexy SVGO CLI and basic usage.
👨💻 Developers
APIs, architecture, and contributing to Vexy SVGO.
Key Features¶
- 🏆 Superior Performance: 12x faster than SVGO on npx, 7x faster on bunx
- 🔗 API Compatible: Drop-in replacement for existing SVGO workflows
- 🧩 50+ Plugins: Full port of SVGO's optimization plugins
- 🌐 WebAssembly: Runs in browsers with native performance
- ⚡ Multi-platform: Native binaries for macOS, Windows, and Linux
- 📦 Multiple Interfaces: CLI, Rust library, and WASM module
- 🛡️ Production Ready: 353/353 tests passing, battle-tested
Performance Comparison¶
Tool | NPX Time | Bunx Time | Native Time |
---|---|---|---|
SVGO | 847ms | 112ms | - |
Vexy SVGO | 71ms | 16ms | 8ms |
Speedup | 12x | 7x | 105x |
Benchmark: 100 complex SVG files, average optimization time
Community & Support¶
- 🐛 Bug Reports: GitHub Issues
- 💬 Discussions: GitHub Discussions
- 📧 Contact: Project Maintainers
- 📖 Documentation: You're reading it!
Vexy SVGO is open source software released under the MIT License.