https://github.com/swanandx/b-rust
💻 Bash script for using Rust Playground 🦀 from your terminal.
https://github.com/swanandx/b-rust
bash bash-script bash-scripting rust rust-lang tools
Last synced: 3 months ago
JSON representation
💻 Bash script for using Rust Playground 🦀 from your terminal.
- Host: GitHub
- URL: https://github.com/swanandx/b-rust
- Owner: swanandx
- License: mit
- Created: 2021-06-29T12:13:42.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-06-29T12:17:03.000Z (about 4 years ago)
- Last Synced: 2025-02-28T20:14:57.350Z (4 months ago)
- Topics: bash, bash-script, bash-scripting, rust, rust-lang, tools
- Language: Shell
- Homepage:
- Size: 31.3 KB
- Stars: 9
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Rust playground in your terminal.
# :bulb: Overview

Want to execute Rust code without installing rust? :crystal_ball: B-Rust can run your local code on :crab: [Rust Playground](https://play.rust-lang.org/) directly from your terminal.
# :pushpin: Installation
Just download the script, no need for any installation, it's that simple. :tada:
- Using cURL - `curl https://raw.githubusercontent.com/swanandx/b-rust/main/b-rust > b-rust && chmod +x ./b-rust`
- Using wget - `wget https://raw.githubusercontent.com/swanandx/b-rust/main/b-rust -O b-rust && chmod +x ./b-rust`> You might need to install `jq` if you don't have it already.
# :construction: Note
This is just a script to make :crab: Rust Playground accessible from terminal. Code gets executed at https://play.rust-lang.org/ .
# :penguin: Contribution
We would appreciate any kind of contribution to b-rust, from fixing typos to making script more efficient or even making a better README. :clipboard: