{"id":21070065,"url":"https://github.com/parthasdey2304/c-coderunner","last_synced_at":"2025-03-14T02:40:59.264Z","repository":{"id":215275649,"uuid":"738543130","full_name":"parthasdey2304/c-coderunner","owner":"parthasdey2304","description":"This is just a command line tool to help me run C and C++ programs easily with one click.","archived":false,"fork":false,"pushed_at":"2024-02-24T06:43:22.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-11T14:55:16.150Z","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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-01-03T13:22:05.000Z","updated_at":"2024-01-03T14:19:07.000Z","dependencies_parsed_at":"2024-11-19T18:44:40.795Z","dependency_job_id":"e0da244d-88f3-4c40-9ac6-81738e38e112","html_url":"https://github.com/parthasdey2304/c-coderunner","commit_stats":null,"previous_names":["parthasdey2304/c-coderunner"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parthasdey2304%2Fc-coderunner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parthasdey2304%2Fc-coderunner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parthasdey2304%2Fc-coderunner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parthasdey2304%2Fc-coderunner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/parthasdey2304","download_url":"https://codeload.github.com/parthasdey2304/c-coderunner/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243513346,"owners_count":20302933,"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:43.399Z","updated_at":"2025-03-14T02:40:59.243Z","avatar_url":"https://github.com/parthasdey2304.png","language":"Shell","readme":"\u003cimg height=\"100px\" width=\"100px\" src=\"https://skillicons.dev/icons?i=c\" alt=\"rust icon\"\u003e\n\u003ch1\u003eC CodeRunner\u003c/h1\u003e\nI made this Script for myself to get my C programs 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 `c-coderunner` :\n``` sh\ngit clone https://github.com/parthasdey2304/c-coderunner.git\n```\n\n+ Open the repo :\n``` sh\ncd c-coderunner\n```\n\n+ Directory structure :\n``` sh\n$ tree\n.\n├── LICENSE\n├── README.md\n├── remove.sh\n├── crun\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 C CodeRunner is successfully installed on your system!\n\n# Usage\n+ First write the code with .c extension, suppose `file_name.c` :\n``` c\n// cat file_name.c\n#include \u003cstdio.h\u003e\n\nint main() {\n  printf(\"Hello world!\");\n  return 0;\n}\n```\n\n+ Use the command `crun` followed by the filename :\n``` sh\ncrun file_name.c\n```\n\n+ See the output :\n``` sh\n┌──(partha㉿xiaomi)-[/mnt/d/programming/learning/c]\n└─$ crun file_name.c\nCompilation successful. Running the program:\nOutput:\nHello world!\n```\n\u003c!--\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--\u003e\n\n# Removal\n+ To remove the c-coderunner run the `remove.sh` file.\n``` sh\nsh remove.sh\n```\n\n+ The C CodeRunner has been successfully removed with all the dependencies.\n\n# Contributing\nWe welcome contributions from the community! We welcome your contributions to improve the project. If you'd like to contribute to c-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","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparthasdey2304%2Fc-coderunner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fparthasdey2304%2Fc-coderunner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparthasdey2304%2Fc-coderunner/lists"}