{"id":36579207,"url":"https://github.com/mattheworford/gosh","last_synced_at":"2026-01-12T07:41:58.813Z","repository":{"id":214014091,"uuid":"735489641","full_name":"mattheworford/gosh","owner":"mattheworford","description":"Shell implemented in Go","archived":false,"fork":false,"pushed_at":"2024-04-01T17:13:28.000Z","size":22,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-06-19T20:55:32.062Z","etag":null,"topics":["go","shell"],"latest_commit_sha":null,"homepage":"","language":"Go","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/mattheworford.png","metadata":{"files":{"readme":"README.md","changelog":"history.go","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":"2023-12-25T05:49:38.000Z","updated_at":"2024-01-20T04:31:45.000Z","dependencies_parsed_at":"2023-12-25T06:29:59.245Z","dependency_job_id":"e5008378-17a5-4d6e-81bb-387ba45bf0bd","html_url":"https://github.com/mattheworford/gosh","commit_stats":null,"previous_names":["mattheworford/gosh"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mattheworford/gosh","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattheworford%2Fgosh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattheworford%2Fgosh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattheworford%2Fgosh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattheworford%2Fgosh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mattheworford","download_url":"https://codeload.github.com/mattheworford/gosh/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattheworford%2Fgosh/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28336660,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T06:09:07.588Z","status":"ssl_error","status_checked_at":"2026-01-12T06:05:18.301Z","response_time":98,"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":["go","shell"],"created_at":"2026-01-12T07:41:58.126Z","updated_at":"2026-01-12T07:41:58.807Z","avatar_url":"https://github.com/mattheworford.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GoSh\n\n[![LICENSE](https://img.shields.io/github/license/mattheworford/gosh.svg?style=flat-square)](https://github.com/mattheworford/gosh/LICENSE)\n\nGoSh is a basic shell implementation in Go, providing a simple command-line interface for interacting with your operating system.\n\n## Getting Started\n\n### Prerequisites\n\n- [Go](https://golang.org/dl/) installed on your machine.\n\n### Installation\n\n1. Clone the repository:\n\n   ```bash\n   git clone https://github.com/mattheworford/gosh.git\n   ```\n\n2. Navigate to the project directory:\n\n   ```bash\n   cd gosh\n   ```\n\n3. Build the executable:\n\n   ```bash\n   go build\n   ```\n\n### Usage\n\nRun the executable:\n\n```bash\n./gosh\n```\n\nYou should now be in the interactive shell prompt.\n\n## Features\n\n- **Basic Commands:** Enter system commands like `ls`, `cat \u003cfilename\u003e`, etc.\n- **Built-in Commands:**\n  - `cd [directory]`: Change the current working directory.\n  - `pwd`: Print the working directory.\n  - `history`: List the command history.\n  - `exit`: Exit the shell.\n- **Command Piping:** Chain commands together with the `|` operator to utilize the output of one as input for another.\n- **History Persistence**: Automatically store history to and load history from a `.gosh_history` file in your machine's home directory.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## Acknowledgments\n\n- This project is inspired and guided by [\"Write Your Own Shell\"](https://codingchallenges.fyi/challenges/challenge-shell) from [John Crickett](https://uk.linkedin.com/in/johncrickett)'s\n[Coding Challenges](https://codingchallenges.fyi/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmattheworford%2Fgosh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmattheworford%2Fgosh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmattheworford%2Fgosh/lists"}