{"id":19938345,"url":"https://github.com/2kabhishek/cshell","last_synced_at":"2026-05-06T04:31:19.036Z","repository":{"id":100261127,"uuid":"486301465","full_name":"2KAbhishek/cshell","owner":"2KAbhishek","description":"Not a seashell ⛵🐚","archived":false,"fork":false,"pushed_at":"2023-02-16T07:41:58.000Z","size":47,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-01T12:48:32.001Z","etag":null,"topics":["bash","c","diy","operating-system","shell","unix"],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/2KAbhishek.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},"funding":{"github":"2kabhishek"}},"created_at":"2022-04-27T18:07:51.000Z","updated_at":"2024-08-07T14:07:32.000Z","dependencies_parsed_at":"2023-05-13T06:15:46.237Z","dependency_job_id":null,"html_url":"https://github.com/2KAbhishek/cshell","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":"2KAbhishek/bare-minimum","purl":"pkg:github/2KAbhishek/cshell","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2KAbhishek%2Fcshell","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2KAbhishek%2Fcshell/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2KAbhishek%2Fcshell/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2KAbhishek%2Fcshell/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/2KAbhishek","download_url":"https://codeload.github.com/2KAbhishek/cshell/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2KAbhishek%2Fcshell/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32678574,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-06T02:33:58.958Z","status":"ssl_error","status_checked_at":"2026-05-06T02:33:39.611Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","diy","operating-system","shell","unix"],"created_at":"2024-11-12T23:39:20.264Z","updated_at":"2026-05-06T04:31:19.030Z","avatar_url":"https://github.com/2KAbhishek.png","language":"C","funding_links":["https://github.com/sponsors/2kabhishek"],"categories":[],"sub_categories":[],"readme":"\u003cdiv align = \"center\"\u003e\n\n\u003ch1\u003e\u003ca href=\"https://2kabhishek.github.io/cshell\"\u003ecshell\u003c/a\u003e\u003c/h1\u003e\n\n\u003ca href=\"https://github.com/2KAbhishek/cshell/blob/main/LICENSE\"\u003e\n\u003cimg alt=\"License\" src=\"https://img.shields.io/github/license/2kabhishek/cshell?style=flat\u0026color=eee\u0026label=\"\u003e \u003c/a\u003e\n\n\u003ca href=\"https://github.com/2KAbhishek/cshell/graphs/contributors\"\u003e\n\u003cimg alt=\"People\" src=\"https://img.shields.io/github/contributors/2kabhishek/cshell?style=flat\u0026color=ffaaf2\u0026label=People\"\u003e \u003c/a\u003e\n\n\u003ca href=\"https://github.com/2KAbhishek/cshell/stargazers\"\u003e\n\u003cimg alt=\"Stars\" src=\"https://img.shields.io/github/stars/2kabhishek/cshell?style=flat\u0026color=98c379\u0026label=Stars\"\u003e\u003c/a\u003e\n\n\u003ca href=\"https://github.com/2KAbhishek/cshell/network/members\"\u003e\n\u003cimg alt=\"Forks\" src=\"https://img.shields.io/github/forks/2kabhishek/cshell?style=flat\u0026color=66a8e0\u0026label=Forks\"\u003e \u003c/a\u003e\n\n\u003ca href=\"https://github.com/2KAbhishek/cshell/watchers\"\u003e\n\u003cimg alt=\"Watches\" src=\"https://img.shields.io/github/watchers/2kabhishek/cshell?style=flat\u0026color=f5d08b\u0026label=Watches\"\u003e \u003c/a\u003e\n\n\u003ca href=\"https://github.com/2KAbhishek/cshell/pulse\"\u003e\n\u003cimg alt=\"Last Updated\" src=\"https://img.shields.io/github/last-commit/2kabhishek/cshell?style=flat\u0026color=e06c75\u0026label=\"\u003e \u003c/a\u003e\n\n\u003ch3\u003eNot a seashell ⛵🐚\u003c/h3\u003e\n\n\u003cfigure\u003e\n  \u003cimg src= \"images/screenshot.jpg\" alt=\"cshell Demo\" style=\"width:auto\"\u003e\n  \u003cbr/\u003e\n  \u003cfigcaption\u003ecshell screenshot\u003c/figcaption\u003e\n\u003c/figure\u003e\n\n\u003c/div\u003e\n\n## What is this\n\ncshell is an alternative to the standard sh shell written entirely in c and all in a single file within ~500 LOC.\n\nIt supports pipes, redirections, history, and more. Comes with a customized prompt.\n\n## Inspiration\n\nMost Operating Systems classes have a project for creating a shell. I never got to around to do that.\nThis is my shot at creating my own shell.\n\n## Prerequisites\n\nBefore you begin, ensure you have met the following requirements:\n\n- You have installed the latest version of `gcc, make`\n\n## Getting cshell\n\nTo install cshell, follow these steps:\n\n```bash\ngit clone https://github.com/2kabhishek/cshell\ncd cshell\nmake cshell\n```\n\n## Using cshell\n\nYou can link the cshell executable to your $PATH or just run it from the command line.\n\n```bash\n./cshell\n```\n\nThis will start the shell and display the a help message along with the prompt.\nYou can use it like any other shell.\n\n## How it was built\n\ncshell was built using `c`\n\n## Challenges faced\n\n- Struggled somewhat in the begining to handle signals, but eventually got it working.\n\n## What I learned\n\n- Learned a lot about `c` and it's different syscalls.\n- Understood the internal workings pipes and redirections.\n\n## What's next\n\nClean up the code and make it more readable, add more features, and make it more robust.\n\nHit the ⭐ button if you found this useful.\n\n## More Info\n\n\u003cdiv align=\"center\"\u003e\n\n\u003ca href=\"https://github.com/2KAbhishek/cshell\"\u003eSource\u003c/a\u003e | \u003ca href=\"https://2kabhishek.github.io/cshell\"\u003eWebsite\u003c/a\u003e\n\n\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F2kabhishek%2Fcshell","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F2kabhishek%2Fcshell","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F2kabhishek%2Fcshell/lists"}