Skip to content

What is Ruby Anything

Ruby Anything migrates an app written in TypeScript, JavaScript, Python, Go, Java/Spring Boot, Kotlin, C#, PHP, Rust or Swift to Ruby on Rails 8 with Hotwire (Turbo + Stimulus), Tailwind CSS and daisyUI. It does it one piece at a time, and it proves every piece behaves like the original.

Your coding agent writes the Ruby. Ruby Anything gives it ground truth: the original's recorded behavior is the spec, not its tests and not anyone's reading of the code.

What it does, and what it doesn't

Ruby Anything does not translate code. It supplies what an agent cannot guess:

  • a plan: analyze lists languages, frameworks, routes, templates and functions in waves, every dependency with its Rails equivalent, and the decisions to settle with you;
  • a recording: record runs the original's functions on generated and given inputs, and app record saves what every HTTP request (or CLI invocation) answers, side effects included;
  • a running app: the front door puts Rails in front of the original and proxies every route Rails does not own yet, so the app keeps working the whole time;
  • a verdict: diff and app replay compare the Rails port to the recording, and a piece is done only when gate passes.

What counts as done

Behavior, not your tests. A piece is done when gate passes: every recorded case matches, and the checks for edited recordings, stubs, recorded answers pasted into the port, unrecorded error paths, fewer tests than before, rubocop and brakeman all pass. Your own bin/rails test runs too.

Where things live

Everything it writes lives in <repo>/rails/: the Rails app, and rails/port/ with the plan, decisions, glossary, rules, recorded cases and the port map. The original is never modified.

Next

Edit this page on GitHub →