Get Started
Rama is a powerful, modular service framework for Rust that helps you build proxies, servers, and clients with full control over your network stack.
Built for Modularity
Rama's architecture is built around the Tower-like service model, enabling services to be stacked, branched, and composed. This design allows for:
- Flexible middleware (Layers) and service composition
- Custom service implementations using your preferred libraries
- Easy integration with existing Rust ecosystem crates
Want to use curl or hyper for HTTP? Prefer OpenSSL or GnuTLS for TLS? Rama's modular design lets you build custom services while still benefiting from its core features.
Our built-in services are intentionally minimal, making them easy to extend or modify. The entire codebase is open for you to use as inspiration, adapt, and build upon.
Framework Properties
π¦ Proxies
Build powerful network proxies including reverse proxies, TLS termination proxies, HTTP(S) proxies, SOCKS5 proxies, MITM proxies, and distortion proxies. Perfect for load balancing, security, and network analysis.
π Web Services
Create high-performance web servers, REST APIs, and static content servers. Built on Tokio for maximum performance and reliability.
π§βπ» HTTP Clients
Build sophisticated HTTP clients with user-agent emulation, proxy support, and advanced request/response handling. Perfect for web scraping and API interactions.
π Modular Architecture
Pick and choose components from TCP/UDP to HTTP and TLS. Build your perfect stack with Rama's service-oriented architecture.
π Telemetry
Built-in support for tracing and metrics using tracing and OpenTelemetry. Monitor and debug your services with ease.
π Fingerprinting
Advanced fingerprinting capabilities for HTTP and TLS layers to help with emulation and security testing.
π Async-First
Built from the ground up with asynchronous programming in mind, Rama uses Tokio as its one and only runtime for maximum performance and concurrency.
π‘οΈ Type-Safe
Leverage Rust's powerful type system to build robust and maintainable network services. Catch errors at compile time.
π¦ Binary
Download and use Rama as a standalone binary CLI tool. No need to build from source or integrate into your Rust project to benefit from Rama's capabilities.
Get Started with Rama
Choose your preferred installation method. Either add Rama as a framework dependency to your Rust project for maximum flexibility and control, or install the pre-built Rama CLI binary for immediate use as a standalone tool without writing code:
Batteries Included
Transports
- β TCP
- β UDP
- β Unix (UDS)
- β Middleware
HTTP
- β Auto
- β HTTP/1.1
- β H2
- ποΈH3 2
- β Middleware
Web Server
- β FS
- β Router
- β Dyn Router
- β Static Router
- β Handler Extractors
- β K8s Healthcheck
HTTP Client
- β Easy Client
- β High Level API
- β BoringSSL Connect
- β Rustls Connect
- β HTTP Proxy Connect
- β Socks5 Proxy Connect
- βChromium Http(s) 3
DNS
- β DNS Resolver
Proxy Protocols
- β PROXY Protocol
- β HTTP Proxy
- β HTTPS Proxy
- β SOCKS5 Proxy
Web Protocols
- β SSE
- β Datastar
- β Web Sockets
- βWeb Transport 3
- βgRPC 2
Async-Method Trait Services
- β Service
- β Layer
- β Extensions
- β Dynanmic Dispatch
- β Middleware
Telemetry
- β Tracing
- β OpenTelemetry
- β HTTP Metrics
- β Transport Metrics
Diagnostics
- β Curl Export
- β HAR
Upstream Proxies
- β MemoryProxyDB
- β Username Config
- β Proxy Filters
User Agent (UA)
- β Http Emulation
- β Tls Emulation
- β UA Parsing
Fingerprinting
- β Ja3
- β Ja4
- β Ja4H
- ποΈAkamai passive h2 1
- β Peetprint (tls)
Utilities
- β Error Handling
- β Graceful Shutdown
- β Connection Pooling
- ποΈIP2Loc 1
- β Tower Adapter
Graphical Interface
- ποΈTraffic Logger 2
- ποΈTUI Implementation 2
- βTraffic Intercept 3
- βTraffic Replay 3
Binary
- β Prebuilt Binaries
- ποΈProxy Config 2
- β HTTP Client
- βWASM Plugins 3
ποΈ Footnotes
- 1 Part of v0.3.0 milestone (ETA: 2025 Q4)
- 2 Part of v0.4.0 milestone (ETA: 2025 Q4)
- 3 No immediate plans, but on our radar. Please open an issue to request this feature if you have an immediate need for it. Please add sufficient motivation/reasoning and consider becoming a sponsor to help accelerate its priority.
Supported by
Partnership
Rama is a project of Plabayo, offering professional services and partnership opportunities for organizations looking to integrate or extend Rama in their infrastructure. We provide service contracts for custom development, integration support, and maintenance of Rama-based solutions.
For partnership inquiries, please contact us at partner@ramaproxy.org or become a business sponsor to help sustain our work, request features and get some of the benefits of a commercial partner.
ποΈ If you like Rama, you might also like Netstack.FM
Netstack.FM is a podcast about networking, Rust, and everything in between β exploring the stack from protocols and packet flows to the people and projects building the modern internet.
Visit Netstack.FM for more information about the podcast and all its episodes.