{"by":"esubaalew","descendants":39,"id":45475528,"kids":[45476300,45478061,45477842,45476081,45480052,45480166,45476026,45483544,45479517,45476161],"score":96,"text":"Hi HN — I’m learning Rust and decided to build a universal CLI for running code in many languages. The tool, Run, aims to be a single, minimal dependency utility for: running one-off snippets (from CLI flags), running files, reading and executing piped stdin, and providing language-specific REPLs that you can switch between interactively.<p>I designed it to support both interpreted languages (Python, JS, Ruby, etc.) and compiled languages (Rust, Go, C&#x2F;C++). It detects languages from flags or file extensions, can compile temporary files for compiled languages, and exposes a unified REPL experience with commands like :help, :lang, and :quit.<p>Install: cargo install run-kit (or use the platform downloads on GitHub). Source &amp; releases: <a href=\"https:&#x2F;&#x2F;github.com&#x2F;Esubaalew&#x2F;run\" rel=\"nofollow\">https:&#x2F;&#x2F;github.com&#x2F;Esubaalew&#x2F;run</a><p>I used Rust while following the official learning resources and used AI to speed up development, so I expect there are bugs and rough edges. I’d love feedback on: usability and UX of the REPL, edge cases for piping input to language runtimes, security considerations (sandboxing&#x2F;resource limits), packaging and cross-platform distribution.<p>Thanks — I’ll try to answer questions and share design notes.","time":1759602853,"title":"Show HN: Run – a CLI universal code runner I built while learning Rust","type":"story","url":"https://github.com/Esubaalew/run"}