{"id":19687496,"url":"https://github.com/coledrain/chatshell","last_synced_at":"2026-06-03T23:31:25.845Z","repository":{"id":152622007,"uuid":"618569491","full_name":"ColeDrain/chatshell","owner":"ColeDrain","description":"ChatShell is a productivity tool for the command-line, powered by OpenAI's GPT-3 language model. It helps users find shell commands quickly and easily, reducing the need to search online and improving efficiency.","archived":false,"fork":false,"pushed_at":"2023-03-25T01:44:13.000Z","size":25,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-10T07:54:53.879Z","etag":null,"topics":["chatgpt","cli","cobra-cli","golang"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ColeDrain.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":"2023-03-24T18:59:10.000Z","updated_at":"2024-08-15T00:51:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"3865ef7f-d2a2-4c5f-bed9-36aec330f8b2","html_url":"https://github.com/ColeDrain/chatshell","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ColeDrain%2Fchatshell","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ColeDrain%2Fchatshell/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ColeDrain%2Fchatshell/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ColeDrain%2Fchatshell/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ColeDrain","download_url":"https://codeload.github.com/ColeDrain/chatshell/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240995171,"owners_count":19890677,"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":["chatgpt","cli","cobra-cli","golang"],"created_at":"2024-11-11T18:35:29.582Z","updated_at":"2026-06-03T23:31:25.818Z","avatar_url":"https://github.com/ColeDrain.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ChatShell\n\nChatShell is a CLI tool that helps you find shell commands for specific tasks. It uses OpenAI's GPT-3.5 language model to generate commands based on user input.\n\n## Installation\n\nTo use ChatShell, you will need to have Golang installed on your machine. Once you have installed Golang, you can install ChatShell using the following command:\n\ngo get github.com/coledrain/chatshell\n\n## Configuration\nChatShell reads your OpenAI API key from a JSON configuration file named config.json. By default, it looks for this file in the following directories:\n\n- $HOME/.chatshell/ on macOS and Linux.\n- %USERPROFILE%/.chatshell/ on Windows.\n\nHere's an example of what your configuration file should look like:\n\n``` json \n{\n  \"OPENAI_AUTH_TOKEN\": \"your_api_key_here\"\n}\n```\n\n## Usage\n\nTo use ChatShell, simply run the ask command followed by your query. For example:\n\n`chatshell ask \"How do I list all files in a directory?\"`\n\n\nThis will return a shell command that you can use to list all files in a directory.\n\nYou can also enter chat mode by using the -c flag:\n\n\n`chatshell ask -c \"Hello, how are you?\"`\n\n\nThis will enter chat mode and allow you to have a normal conversation with ChatGPT.\n\n## Releases\n\nReleases of ChatShell will be generated periodically and added to the repository. These releases will be available for download in the Releases section of this repository. To use a release, simply download the binary for your operating system and place it in a directory that is in your system's PATH.\n\n## Contributing\n\nIf you encounter any bugs or issues with ChatShell, please feel free to create an issue in the repository. Pull requests are also welcome if you would like to contribute to the development of ChatShell.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoledrain%2Fchatshell","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoledrain%2Fchatshell","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoledrain%2Fchatshell/lists"}