GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - 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.

BranchesTags
Open more actions menu

Latest commit

 

History

772 Commits
772 Commits

Folders and files

NameName
Last commit message
Last commit date
.agents/plugins
.agents/plugins
 
 
.claude-plugin
.claude-plugin
 
 
.githooks
.githooks
 
 
.github
.github
 
 
demo
demo
 
 
directory
directory
 
 
docs
docs
 
 
evals
evals
 
 
npm/rust-anything
npm/rust-anything
 
 
plugin
plugin
 
 
scripts
scripts
 
 
skills/rust-anything
skills/rust-anything
 
 
src
src
 
 
tests
tests
 
 
website
website
 
 
.coderabbit.yaml
.coderabbit.yaml
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
.mcp.json
.mcp.json
 
 
ACCESSIBILITY.md
ACCESSIBILITY.md
 
 
CHANGELOG.md
CHANGELOG.md
 
 
CLAUDE.md
CLAUDE.md
 
 
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
Cargo.lock
Cargo.lock
 
 
Cargo.toml
Cargo.toml
 
 
DECISIONS.md
DECISIONS.md
 
 
LICENSE-APACHE
LICENSE-APACHE
 
 
LICENSE-MIT
LICENSE-MIT
 
 
README.md
README.md
 
 
SECURITY.md
SECURITY.md
 
 
action.yml
action.yml
 
 
hk.pkl
hk.pkl
 
 
mise.toml
mise.toml
 
 
server.json
server.json
 
 

Repository files navigation

The Rust Anything crab

Rust Anything

crates.io version npm version GitHub stars Discord MIT or Apache-2.0 license
Total downloads, crates.io and npm crates.io downloads npm downloads

Migrate your app to Rust, and prove it still behaves the same.

erkamyaman/rust-anything: #1 Rust repository of the day on Trendshift erkamyaman/rust-anything: #1 Rust repository of the week on Trendshift

Documentation: https://rustanything.ai/

🌐 Other languages

Moving a codebase to Rust? I offer consulting for Rust migrations: [email protected]

Sponsors

Made in Türkiye 🇹🇷 by erKam Yaman
Rust Anything is free and open source. If it helps your work, sponsoring keeps it going.

Your safety comes first: sponsors get a logo and a link here, nothing more. No paid recommendations and no setup guides for third-party AI API resellers, so nothing here steers your code, keys or data somewhere you didn't choose.

Company sponsor: CodeRabbit

Domain sponsor: Atak Domain

Sponsors: Santosh Yadav, Hakan Soytürk, Ali Yilmaz, Ashley Hunter, Fatih Uzuntaş, bugrcvi

Become a sponsor Buy me a coffee

Sponsoring as a company, or anything else? [email protected]

Moving a codebase to Rust? I offer consulting for Rust migrations: [email protected]

Quick start

Paste this into your coding agent:

Install Rust Anything with npm i -g rust-anything, then run rust-anything setup. Run rust-anything go -- <slow command of this app> and finish the port until rust-anything gate passes.

Or install it yourself:

cargo install rust-anything   # or: npm install -g rust-anything
rust-anything setup           # adds it to Claude Code, Codex, Cursor, Gemini CLI and OpenCode

Tip

Agents: read rustanything.ai/llms.txt for the install steps, every command and the porting workflow.

How it works

analyze plans what to port; rust-anything go bridges, records, lets your agent port and gates it, looping until every recorded case matches; enable then switches callers to Rust

What counts as done. Behavior, not your tests. record runs the original on generated and given inputs and saves what each call returns, throws and prints. A port is done when gate passes: every recorded case matches, and fmt, clippy, cargo test, the unsafe check, the stub check and the check for recorded answers pasted into the port all pass. Your own tests run too.

Report or migrate, you pick. analyze and profile only report: a ranked plan of what to port, and what is hot under a real workload. They are plain commands, so the report costs no tokens. go migrates one unit: it bridges the hottest function, records it, hands the port to your agent, then builds, diffs and gates it, and switches it on only when everything matches (TS/JS, Python and PowerShell; disable switches it back off).

How long a run takes. One go run ports one unit, with at most --rounds agent turns (3 by default): one for the port, then one per failing diff or gate. A whole app is one run per unit, so you can stop after any of them.

Cheap model for the plan, strong model for the port. The plan needs no model. For the port, pass any agent command: rust-anything go --agent "claude --model <model>" -- <workload>.

Agents. rust-anything setup adds it to Claude Code, Codex, Cursor, Gemini CLI and OpenCode. Any other MCP client can run rust-anything mcp, and the skill also installs on its own with npx skills add erkamyaman/rust-anything (see install).

License

Licensed under either of MIT or Apache-2.0, at your option. © Erkam Yaman. Ports and generated code in your repository are yours.

Unless you explicitly state otherwise, any contribution you intentionally submit for inclusion in rust-anything, as defined in the Apache-2.0 license, is dual licensed as above, without any additional terms or conditions.

About

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.

rustanything.ai

Topics

agent-skillsclaude-codeclicode-migrationcodexffigolangjavajavascriptmcpmigrationnapiperformanceportingpyo3pythonrewriterubyrusttypescript

Resources

Readme

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy

Accessibility

Accessibility
Activity

Stars

11.0k stars

Watchers

31 watching

Forks

894 forks
Report repository

Releases

Sponsor this project

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.