Türkiyeerkamyaman/rust-anything
Rewrite your app in Rust, piece by piece, checked against the original at every step. Works with TypeScript, JavaScript, Python, Go, Ruby, Java, C, PHP, C#, Kotlin and PowerShell.
Featured achievements
The project's latest awards
#1 Repository of the week
#1 Repository of the day
#1 Repository of the week
🦀 Rewrite your app in Rust, one verified piece at a time
Record what your app does today, port it to Rust piece by piece, and prove every step against the recording.
rust-anything, by erKam Yaman, is a Rust crate that records the behavior of your existing Node.js/TypeScript, Python, C, Go, Ruby or Java app, then checks every piece of the Rust rewrite against that recording before moving on, until the app is pure Rust. It covers CLIs, HTTP servers and libraries, and your coding agent (or you) writes the Rust.
✨ Highlights
- Behavior recording: captures what the original app does and replays the recorded cases (38,251 replayed, 0 mismatches) against the rewrite.
- Incremental porting: move one hot path, one module or the whole app, verified at every step.
- Six languages: Node.js and TypeScript, Python, C, Go, Ruby, Java; PHP and C# in preview.
- Agent-ready:
rust-anything setupregisters the MCP server and skill with Claude Code, Codex, Cursor and Gemini CLI; other MCP clients work too. - Easy install:
cargo install rust-anything, prebuilt binaries for macOS, Linux and Windows, ornpm install -g rust-anythingfor JavaScript projects. - Measured speedups: up to 20x faster on real workloads (x18n search over 50,000 keys: 10 ms → 0.5 ms), each with a benchmark in
demo/that first checks identical results. - Honest scope: it can only catch what the recording covers, and the README says so.
💡 Why it matters
Big-bang rewrites fail because nothing proves the new code matches the old. rust-anything flips that: the recording is the oracle, so each ported unit is checked before you move on. It also finds the loop worth moving, since calling Rust once per small function is usually slower than a JIT.
Fits teams with a slow hot path in TypeScript, Python or another supported language who want Rust speed without betting the app on a full rewrite. Ask your agent to rewrite a CLI, profile a search, plan a migration of src/parser/, or bench a port against the original.
#Rust #Performance #Migration #OpenSource #TiniX
Similar Projects
Discover other similar projects and AI models.
A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode,DeepSeek Harness and more. Only official website: ccswitch.io
Reverse engineer anything with agents, from app behavior down to native binaries.
Agent skills that give coding agents taste: art direction, reference images and a browser check instead of generic AI pages
Ship agent-written code you can trust: review, QA, a destructive-command guard and PRs that carry their own evidence, for Claude Code and other coding agents.
Production-grade engineering skills for AI coding agents.
The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.