{"id":17474675,"url":"https://github.com/rohitdhatrak/gosh","last_synced_at":"2025-03-28T11:21:37.102Z","repository":{"id":248493765,"uuid":"828841184","full_name":"RohitDhatrak/gosh","owner":"RohitDhatrak","description":"An interactive shell built in golang","archived":false,"fork":false,"pushed_at":"2024-07-15T08:40:10.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-02T11:42:24.814Z","etag":null,"topics":["golang","interactive-shell"],"latest_commit_sha":null,"homepage":"","language":"Go","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/RohitDhatrak.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-07-15T08:31:47.000Z","updated_at":"2024-07-15T08:40:13.000Z","dependencies_parsed_at":"2024-07-15T10:38:45.168Z","dependency_job_id":null,"html_url":"https://github.com/RohitDhatrak/gosh","commit_stats":null,"previous_names":["rohitdhatrak/gosh"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RohitDhatrak%2Fgosh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RohitDhatrak%2Fgosh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RohitDhatrak%2Fgosh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RohitDhatrak%2Fgosh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RohitDhatrak","download_url":"https://codeload.github.com/RohitDhatrak/gosh/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246017771,"owners_count":20710251,"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":["golang","interactive-shell"],"created_at":"2024-10-18T18:23:43.840Z","updated_at":"2025-03-28T11:21:37.095Z","avatar_url":"https://github.com/RohitDhatrak.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gosh\n\n## Steps to Run Locally\n\n### Run using golang\n1. Install go in your system\n2. Run go mod tidy\n3. Run the file using go run ./cmd/...\n\n### Run using executable\n1. Download the executable file 'gosh'\n2. Run the file using ./gosh (for mac/linux) or ./gosh.exe (for windows)\n\n## Built in Commands\n1. exit - to exit the shell\n2. echo [text] - prints the input to the console\n3. type [command] - tells if the command is a built-in or external command\n4. pwd - prints the present working directory\n5. cd [path] - changes the directory to path provided\n\n## External Commands\nYou can also run external commands that you have added to your path.\n1. ls - lists the files in the current directory\n2. cat [file] - prints the content of the file to the console\n3. mkdir [dir] - creates a new directory\n4. clear - clears the console\n\n## Future scope of work\n1. Support for piping commands (echo \"Hello\" | wc)\n2. I/O redirection (echo \"Hello\" \u003e file.txt)\n3. Environment variable expansion using $ (echo $ENV)\n4. Export built-in command (export ENV=value)\n5. Background processes using \u0026 (echo \"Hello\" \u0026)\n6. Command history (up/down arrows)\n7. Tab completion","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frohitdhatrak%2Fgosh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frohitdhatrak%2Fgosh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frohitdhatrak%2Fgosh/lists"}