Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
R

rama

> 编程语言
Open source

modular service framework to move and transform network packets

1.1K stars0 likes1 views
WebsiteGitHub

About

modular service framework to move and transform network packets

Crates.io Docs.rs MIT License Apache 2.0 License rust version Build Status Lines of Code

rama® (ラマ) is a modular service framework for the Rust language that provides a cohesive foundation for building network clients, servers, proxies, and combinations thereof.

The framework is intentionally explicit. Your network stack is built from services, layers, transports, protocols, and state that you compose yourself. That makes the shape of the system visible in the code, instead of hidden behind framework magic or configuration.

This makes Rama a good fit not only for proxies, but for network services where the stack itself matters: how traffic enters, how it is decoded, where state lives, what gets inspected, what gets transformed, and where it goes next.

Whether you're inspecting traffic for security analysis, writing a web service, emulating clients with custom user agents, controlling connection behavior for advanced testing, or building high-performance proxies, Rama provides a clean and composable Tokio-native foundation for network services in Rust.

Rama is used in production for network security, data extraction, API gateways, routing, and other networked systems. Commercial support and partner offerings are available at ramaproxy.com.

This framework is developed and maintained by Plabayo, a European software studio based in Gent, Belgium, focused on building resilient, interoperable, and secure digital infrastructure.

Start here

The book explains the ideas, the examples show working stacks, and the Rust docs are the API reference.

If you want to... Go here
Understand why Rama exists Why Rama
Learn the core model Intro to Rama
Run working code Examples
Build a proxy Intro to proxies and proxy examples
Operate advanced proxy stacks Operate Proxies
Build an HTTP service Web servers and HTTP service examples
Build an HTTP client HTTP clients and http_high_level_client.rs
Use Rama from the terminal rama CLI
Look up APIs docs.rs or edge docs
Get commercial support ramaproxy.com

What can you build?

Rama is built for programmable network services: software that accepts, opens, inspects, transforms, routes, proxies, or generates network traffic.

Area Capabilities and building blocks
Proxies reverse proxies, TLS termination proxies, HTTP(S) proxies, SOCKS5 proxies, SNI proxies, MITM proxies, transparent proxies, distortion proxies, network proxies, HAProxy PROXY protocol
Web applications and APIs path and matcher routing, async handlers with typed request extractors and shared state, typed HTML, JSON, and streaming responses, forms and streaming file uploads, static and embedded assets, and authentication, CSRF, CORS, compression, timeouts, tracing, and other middleware
Clients and connector stacks high-level and blocking HTTP(S) clients, WebSocket clients, gRPC clients, ttRPC clients, ICAP clients, FastCGI clients, DNS clients, custom connector stacks across transport, DNS, proxy, TLS, and HTTP stages, custom connection pools and reuse policies, request and response middleware, client and proxy HTTP/TLS User-Agent emulation with real-browser profiles, custom services and layers
Servers and ingress controls HTTP/1.1 and HTTP/2 servers with automatic protocol detection, WebSocket servers, SSE and Datastar streams, gRPC servers, ttRPC servers, ICAP servers, TCP, UDP, QUIC, and Unix transport stacks, TLS termination, dynamic certificates, mTLS, and ACME, protocol inspection and routing, User-Agent parsing and classification, JA3, JA4, and PeetPrint TLS fingerprinting, JA4H and Akamai HTTP/2 fingerprinting, authentication, CSRF, CORS, rate and body limits, timeouts, and tracing middleware
Application protocols and gateways WebSockets, SSE, Datastar, gRPC, ttRPC, FastCGI, RSS and Atom feeds
Proxy routing and discovery explicit routes, route plans, and ordered fallback, HTTP(S) and SOCKS5 upstream proxies, proxy environment variables and NO_PROXY, native system-proxy discovery, PAC fetching, caching, evaluation, generation, and system integration, bypass rules, route failure caching
Content adaptation ICAP clients, servers, HTTP adaptation layers, and Preview support
Runtime and interoperability async services, blocking service adapters, blocking HTTP(S) clients, blocking WebSocket clients, Tower interoperability, graceful shutdown
TLS and identity Rustls, BoringSSL, TLS termination, dynamic certificates, mTLS, ACME, certificate pinning
Traffic inspection protocol inspection, HAR recording and replay, curl export, diagnostics
Data processing [streaming HTML rewriting](https://ramaproxy.org/docs/rama/

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Rusthttphttpsmitmnetwork

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言