{"id":21070080,"url":"https://github.com/parthasdey2304/rust-coderunner","last_synced_at":"2025-03-14T02:41:04.910Z","repository":{"id":208618108,"uuid":"722060806","full_name":"parthasdey2304/rust-coderunner","owner":"parthasdey2304","description":"This is a code runner for linux terminal to run rust codes.....","archived":false,"fork":false,"pushed_at":"2024-01-03T14:00:26.000Z","size":11,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-11T14:55:18.461Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/parthasdey2304.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-11-22T10:57:15.000Z","updated_at":"2023-12-06T07:34:05.000Z","dependencies_parsed_at":"2024-01-03T15:25:56.170Z","dependency_job_id":"adc7092d-97da-4953-bf10-d10ff828ba7a","html_url":"https://github.com/parthasdey2304/rust-coderunner","commit_stats":null,"previous_names":["parthasdey2304/rust-coderunner"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parthasdey2304%2Frust-coderunner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parthasdey2304%2Frust-coderunner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parthasdey2304%2Frust-coderunner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parthasdey2304%2Frust-coderunner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/parthasdey2304","download_url":"https://codeload.github.com/parthasdey2304/rust-coderunner/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243513353,"owners_count":20302935,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-19T18:41:50.943Z","updated_at":"2025-03-14T02:41:04.883Z","avatar_url":"https://github.com/parthasdey2304.png","language":"Shell","readme":"\u003cimg height=\"100px\" width=\"100px\" src=\"https://skillicons.dev/icons?i=rust\" alt=\"rust icon\"\u003e\n\u003ch1\u003eRust CodeRunner\u003c/h1\u003e\nI made this Script for myself to get my rust scripts compiled and executed in a single line on Linux\n\n# Pre-Requisites\n+ `git` must be installed on your system!!\n\n# Installation\n+ Clone the repo `rust-coderunner` :\n``` sh\ngit clone https://github.com/parthasdey2304/rust-coderunner.git\n```\n\n+ Open the repo :\n``` sh\ncd rust-coderunner\n```\n\n+ Directory structure :\n``` sh\n$ tree\n.\n├── LICENSE\n├── README.md\n├── remove.sh\n├── rrun\n└── setup.sh\n\n1 directory, 5 files\n```\n\n+ Make the `setup.sh` script executable :\n``` sh\nchmod +x setup.sh\n```\n\n+ Run the `setup.sh` script :\n``` sh\n./setup.sh\n```\n\n### The Rust CodeRunner is successfully installed on your system!\n\n# Usage\n+ First write the code with .rs extension, suppose `file_name.rs` :\n``` rs\n// cat file_name.rs\nfn main() {\n  println!(\"Hello world!\");\n}\n```\n\n+ Use the command `rrun` followed by the filename :\n``` sh\nrrun file_name.rs\n```\n\n+ See the output :\n``` sh\n┌──(partha㉿xiaomi)-[/mnt/d/programming/learning/rust]\n└─$ rrun file_name.rs\nCompilation successful. Running the program:\nHello world!\n```\n\n# Screenshots \n+ Running the `setup.sh` script, installing the rrun script :\n\u003cimg width=\"456\" alt=\"image\" src=\"https://github.com/parthasdey2304/rust-coderunner/assets/131694386/2346a26a-a4c8-49a8-a9f6-364c0aa62cb1\"\u003e\n\n\n+ Running the code with `rrun` :\n\u003cimg width=\"319\" alt=\"image\" src=\"https://github.com/parthasdey2304/rust-coderunner/assets/131694386/4ca60cde-61d1-445c-ae9e-3a328b09a053\"\u003e\n\n\n+ Removing the `rrun` script :\n\u003cimg width=\"403\" alt=\"image\" src=\"https://github.com/parthasdey2304/rust-coderunner/assets/131694386/419808eb-dcea-443d-a28a-2bf2ac86146a\"\u003e\n\n\n# Contributing\nWe welcome contributions from the community! We welcome your contributions to improve the project. If you'd like to contribute to rust-coderunner, please read the following guidelines on how to contribute:\n+ Fork the repository and create a new branch for your changes.\n+ Make your changes to the code.\n+ Test your changes thoroughly.\n+ Commit your changes with a clear and descriptive message.\n+ Push your changes to your fork.\n+ Create a pull request and wait for me to verify and then merge it to the main branch.\n\n# THANK YOU COMMUNITY!!!!\n \n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparthasdey2304%2Frust-coderunner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fparthasdey2304%2Frust-coderunner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparthasdey2304%2Frust-coderunner/lists"}