{"id":13339682,"url":"https://github.com/vdedios/minishell","last_synced_at":"2025-03-11T14:32:16.990Z","repository":{"id":82255189,"uuid":"342351025","full_name":"vdedios/minishell","owner":"vdedios","description":"🐚  As beautiful as shell","archived":false,"fork":false,"pushed_at":"2021-05-05T19:43:03.000Z","size":556,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-24T02:32:19.283Z","etag":null,"topics":["c","shell","unix"],"latest_commit_sha":null,"homepage":"","language":"C","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/vdedios.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":"2021-02-25T19:07:41.000Z","updated_at":"2021-05-19T15:48:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"e8775679-3256-4b72-b519-7f0374499ceb","html_url":"https://github.com/vdedios/minishell","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vdedios%2Fminishell","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vdedios%2Fminishell/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vdedios%2Fminishell/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vdedios%2Fminishell/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vdedios","download_url":"https://codeload.github.com/vdedios/minishell/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243052054,"owners_count":20228326,"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":["c","shell","unix"],"created_at":"2024-07-29T19:21:08.221Z","updated_at":"2025-03-11T14:32:16.972Z","avatar_url":"https://github.com/vdedios.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Minishell\n\n[![MIT License](https://img.shields.io/badge/coverage-100%25-green)](https://github.com/migferna42/minishell/runs/1965281956)\n\nMinishell is a simple and lightweight shell, coded from scratch, which emulates several functionalities from `bash`.\n\n![demo](minishell_demo.gif)\n## Project specifications\n\nThis shell covers the following functionalities:\n\n- Show a prompt when waiting for a new command\n- Search and launch the right executable (based on the PATH variable or by using relative or absolute path) like in bash\n- Implement some `builtins` like in bash:\n    - `echo` with option ’-n’\n    - `cd` with only a relative or absolute path\n    - `pwd` without any options\n    - `export` without any options\n    - `unset` without any options\n    - `env` without any options and any arguments\n    - `exit` without any options\n- `;` in the command separates commands like in bash\n- `’` and `\"` like in bash except for multiline commands\n- Redirections `\u003c \u003e “\u003e\u003e”` like in bash except for file descriptor aggregation\n- `Pipes |` like in bash except for multiline commands\n- `Environment variables` like in bash\n- `$?` like in bash\n- `ctrl-C`, `ctrl-D` and `ctrl-\\` have same result as in bash\n  \n## Usage\n\nClone the project\n\n```bash\n    git clone https://github.com/vdedios/minishell\n```\n\nGo to the project directory\n\n```bash\n    cd project-directory\n```\n\nCompile source code\n\n```bash\n    make\n```\n\nRun the shell\n\n```bash\n    ./minishell\n```\n  \n## Tests\n\nThis project has been exhaustively tested with [@cacharle](https://github.com/cacharle/minishell_test) minishell tester achieving a 100% coverage. We highly recommend to use it:\n```bash\n    pip3 install minishell-test\n    cd \u003cMINISHELL\u003e\n    minishell_test\n```\n## Contributors\n\u003ctable\u003e\n    \u003ctr\u003e\n        \u003ctd\u003e\n          \u003cimg src=\"https://cdn.intra.42.fr/users/small_vde-dios.jpg\" width=140px\u003e\n          \u003c/br\u003e\n          \u003ca href=\"https://github.com/vdedios\"\u003e@vdedios\u003c/a\u003e\n        \u003c/td\u003e\n        \u003ctd\u003e\n            \u003cimg src=\"https://avatars.githubusercontent.com/u/559575?v=4\" width=140px\u003e\n            \u003c/br\u003e\n            \u003ca href=\"https://github.com/migferna42\"\u003e@migferna42\u003c/a\u003e\n        \u003c/td\u003e\n    \u003c/tr\u003e\n\u003c/table\u003e\n\n## Support\n\nIf you find any issue we suggest that you open a PR with the fix 🙂\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvdedios%2Fminishell","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvdedios%2Fminishell","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvdedios%2Fminishell/lists"}