Skip to content

Rift Documentation

Rift is a high-performance, Mountebank-compatible mock server written in Rust. It delivers 20-250x performance improvement while maintaining full API compatibility.

Article Series

  1. Introducing Rift - High-Performance API Mocking for Modern Development
  2. Getting Started - Your First Mock Server in 5 Minutes
  3. Migration Guide - Seamless Transition from Mountebank
  4. Advanced Predicates - Mastering Request Matching
  5. Fault Injection - Chaos Engineering Made Simple
  6. Flow State - Stateful Mocking with Rift
  7. Scripting - Dynamic Responses with Rhai, Lua, and JavaScript
  8. Proxy Mode - Record and Replay Real API Traffic
  9. Production Deployment - Running Rift at Scale
  10. CLI Tools - rift-lint, rift-tui, and rift-verify

Quick Start

# Using Docker
docker run -p 2525:2525 zainalpour/rift-proxy:latest

# Using Homebrew (macOS)
brew install achird-labs/rift/rift

# Using Cargo
cargo install rift-http-proxy

Resources