{"id":26455102,"url":"https://github.com/prashant-koi/chell-a-shell-made-in-c","last_synced_at":"2026-05-07T23:09:01.676Z","repository":{"id":281059132,"uuid":"944073622","full_name":"Prashant-koi/Chell-A-Shell-Made-In-C","owner":"Prashant-koi","description":"Chell is a simple Unix shell implementation in C.","archived":false,"fork":false,"pushed_at":"2025-03-13T16:10:17.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-13T16:39:02.235Z","etag":null,"topics":["bash","c","shell"],"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/Prashant-koi.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":"2025-03-06T18:35:14.000Z","updated_at":"2025-03-13T16:10:20.000Z","dependencies_parsed_at":"2025-03-13T16:39:05.883Z","dependency_job_id":"4577d369-7995-4173-8316-33042f978d47","html_url":"https://github.com/Prashant-koi/Chell-A-Shell-Made-In-C","commit_stats":null,"previous_names":["prashant-koi/chell","prashant-koi/chell-a-shell-made-in-c"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Prashant-koi%2FChell-A-Shell-Made-In-C","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Prashant-koi%2FChell-A-Shell-Made-In-C/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Prashant-koi%2FChell-A-Shell-Made-In-C/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Prashant-koi%2FChell-A-Shell-Made-In-C/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Prashant-koi","download_url":"https://codeload.github.com/Prashant-koi/Chell-A-Shell-Made-In-C/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244301024,"owners_count":20430851,"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":["bash","c","shell"],"created_at":"2025-03-18T20:30:01.918Z","updated_at":"2025-12-04T21:10:53.098Z","avatar_url":"https://github.com/Prashant-koi.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Chell\n\nA lightweight Unix-like shell implementation in C, designed for both Windows and Unix environments.\n\n## Current Features\n\n- [x] Basic command execution\n- [x] Cross-platform support (Windows and Unix-based systems)\n- [x] Windows `ls` command (automatically translates to `dir`)\n- [x] Custom line reading and parsing implementation\n- [x] Simple error handling\n- [x] Built-in commands (`cd`, `help`, `exit`)\n- [x] Command history\n- [x] Support for pipelines (`|`)\n- [x] Input/output redirection (`\u003c`, `\u003e`, `\u003e\u003e`)\n- [x] Background process execution (`\u0026`)\n- [x] Signal handling (`Ctrl+C`)\n\n## Planned Features\n\n- [ ] Tab completion\n- [ ] Environment variable support\n\n## Building\n\nTo compile Chell, run the following command in a terminal:\n\n### Unix/macOS\n```bash\nmake\n```\n\n### Windows (MSYS2/UCRT64)\n```bash\nmake\n```\n\nThis will generate an executable named `chell` on Unix/macOS or `chell.exe` on Windows.\n\n## Usage\n\nAfter building, you can start the shell by running:\n\n```bash\n./chell      # On Unix/macOS\n./chell.exe  # On Windows\n```\n\nYou should see the prompt:\n\n```\nchell\u003e \n```\n\nYou can now enter commands as you would in a typical shell.\n\n\n### Current Commands\n- Any system command available in your PATH\n- Special handling for `ls` on Windows (converts to `dir`)\n- `exit` - Exit the shell\n- `cd [directory]` - Change the current directory\n- `help` - Display help information\n- `history` - Show command history\n- Piping (Using |)\n- i/o redirection\n- Background processing (using \u0026)\n- Signal Handling (Ctrl + C)\n\n## Project Structure\n\n- `chell.c` - Main shell implementation with command parsing and execution\n- `chell_extensions.c` - Additional features and built-in commands\n- `makefile` - Build configuration\n\n## Troubleshooting\n\n- If you get \"Permission denied\" when compiling on Windows, ensure `chell.exe` is not currently running\n- Use `rm -f chell.exe` before running `make` if you encounter compilation issues\n\n## License\n\n[MIT License](LICENSE)\n\n## Contributing\n\nContributions are welcome! Feel free to submit pull requests or open issues for new features, bug fixes, or improvements.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprashant-koi%2Fchell-a-shell-made-in-c","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprashant-koi%2Fchell-a-shell-made-in-c","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprashant-koi%2Fchell-a-shell-made-in-c/lists"}