A modern Rust playground powered by rust-analyzer and Monaco Editor, offering code snippet creation and sharing capabilities.
Thanks
- Full rust-analyzer integration for intelligent code completion and analysis
- Monaco Editor for a rich code editing experience
- Create and share code snippets easily
- Built with Astro for optimal performance
- Real-time syntax highlighting and error checking
- Code formatting support
- rust-analyzer-wasm - WebAssembly build of rust-analyzer
- Monaco Editor - Powerful code editor
- Astro - Modern web framework
- Inspired by Rubri project
Visit https://rust-snippet.com to try it out!
- Clone the repository
git clone https://github.com/Frank-III/ra-monaco-astro.git
cd ra-monaco-astro
- Install dependencies
pnpm install
- Start the development server
pnpm dev
This project is almost a combination of these two awesome project:
Special thanks to the rust-analyzer team for creating and maintaining the WebAssembly build of rust-analyzer. Their work forms the backbone of the intelligent code analysis features in this playground. The ability to run rust-analyzer in the browser has been instrumental in providing a rich development experience.
Huge thanks to LyonSyonII for creating Rubri, which served as a significant inspiration for this project.