RepositoryRustTRTürkiye
erkamyaman

erkamyaman/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.

13.0kstars
1.1kforks
18issues
31views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: migration

#1 Repository of the week

1
TINIX TRENDING·Topic: pyo3

#1 Repository of the day

1
TINIX TRENDING·Country: TR

#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 setup registers 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, or npm install -g rust-anything for 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.

RepositoryRust
farion1231/cc-switch

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode,DeepSeek Harness and more. Only official website: ccswitch.io

158.7k
Dec 2, 2026
RepositoryTypeScript
morluto/rea

Reverse engineer anything with agents, from app behavior down to native binaries.

487.0k
Dec 2, 2026
RepositoryJavaScript
Leonxlnx/taste-skill

Agent skills that give coding agents taste: art direction, reference images and a browser check instead of generic AI pages

124.6k
Nov 26, 2026
RepositoryTypeScript
garrytan/gstack

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.

143.2k
Dec 1, 2026
RepositoryJavaScript
addyosmani/agent-skills

Production-grade engineering skills for AI coding agents.

122.0k
Nov 24, 2026
RepositoryTypeScript
paperclipai/paperclip

The open-source app everyone uses to manage agents at work

118.9k
Dec 2, 2026
RepositoryJavaScript
affaan-m/ECC

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

315.1k
Dec 1, 2026
RepositoryJavaScript
DietrichGebert/ponytail

Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.

203.5k
Nov 22, 2026
RepositoryPython
NousResearch/hermes-agent

The agent that grows with you

267.7k
Dec 2, 2026