{"id":13909997,"url":"https://github.com/MagicCube/cli-gpt","last_synced_at":"2025-07-18T09:31:16.532Z","repository":{"id":148258564,"uuid":"610655768","full_name":"MagicCube/cli-gpt","owner":"MagicCube","description":"Translate human language to command line using ChatGPT.","archived":false,"fork":false,"pushed_at":"2023-03-15T07:22:56.000Z","size":8132,"stargazers_count":106,"open_issues_count":2,"forks_count":12,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-10T16:32:19.478Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/MagicCube.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}},"created_at":"2023-03-07T08:04:36.000Z","updated_at":"2025-04-08T09:49:56.000Z","dependencies_parsed_at":"2024-01-14T14:09:38.112Z","dependency_job_id":"c517be6f-6d17-466c-9938-1724033bd488","html_url":"https://github.com/MagicCube/cli-gpt","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MagicCube/cli-gpt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MagicCube%2Fcli-gpt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MagicCube%2Fcli-gpt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MagicCube%2Fcli-gpt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MagicCube%2Fcli-gpt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MagicCube","download_url":"https://codeload.github.com/MagicCube/cli-gpt/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MagicCube%2Fcli-gpt/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265733839,"owners_count":23819421,"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":[],"created_at":"2024-08-07T00:00:55.842Z","updated_at":"2025-07-18T09:31:15.464Z","avatar_url":"https://github.com/MagicCube.png","language":"TypeScript","readme":"# cli-gpt\n\nTranslate human language to command line using ChatGPT.\n\n## Usage\n\n```sh-session\n$ npm install -g magiccube-cli-gpt\n\n$ export OPENAI_API_KEY=\"***your-openai-api-key***\"\n\n$ cgpt clone react from github and switch to a new branch named feature/gpt\nTranslating your words into command line...... done\n\ngit clone https://github.com/facebook/react.git \u0026\u0026 cd react \u0026\u0026 git checkout -b feature/gpt\n\n$ cgpt delete all the docker untitled images\nTranslating your words into command line...... done\n\ndocker rmi $(docker images -f \"dangling=true\" -q)\n\nCAUTION: This command is dangerous!\n\n$ cgpt 删除所有文件和文件夹\nTranslating your words into command line...... done\n\nrm -rf *\n\nCAUTION: This command is dangerous!\n```\n\n![](docs/images/animation.gif)\n\n## Documents\n\n请参考[中文文档](docs/index.md)\n","funding_links":[],"categories":["CLI tools","UIs"],"sub_categories":["Other","Command-line(shell) interface"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMagicCube%2Fcli-gpt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FMagicCube%2Fcli-gpt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMagicCube%2Fcli-gpt/lists"}