Build With Rama
Rama is a modular service framework for Rust that helps you build proxies, web servers, and HTTP clients with full control over your network stack.
Use Rama as a Rust framework inside your own codebase, or run the Rama CLI as a standalone network tool for inspection, scraping, debugging, and automation. If you need help designing, integrating, or operating Rama based systems, we also offer professional services and service contracts.
Built for Modularity
Rama is built around a service model where services are fallible async methods that can be stacked, branched, and composed. You can wire together transport, TLS, HTTP, proxy logic, and telemetry as a set of reusable building blocks instead of a single large framework.
- Flexible middleware layers and service composition
- Custom service implementations using your preferred Rust libraries or custom code
- Easy integration with existing crates, tools, and infrastructure
You can keep using your existing HTTP or TLS stack, such as curl or OpenSSL, and attach Rama only where you need it. Or you can start from the built in Rama services and swap out parts of the stack as your needs grow.
If you are a developer, you get a composable toolkit for building proxies, servers, and clients that fit your codebase. If you are an organisation, you can treat Rama as a platform component and rely on our professional services for design, integration, and long term maintenance.
Our built in services are intentionally minimal, which makes them easy to extend or modify. The entire codebase is open for you to use as inspiration, adapt to your own environment, or harden for production workloads.
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
- β 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: 2026 Q1)
- 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.