{"id":21643505,"url":"https://github.com/aigptcode/cli-chatgpt-automatic-task-aishell","last_synced_at":"2026-04-13T11:02:31.112Z","repository":{"id":198951539,"uuid":"701875886","full_name":"AiGptCode/CLI-CHATGPT-AUTOMATIC-TASK-AISHELL","owner":"AiGptCode","description":"This Python script is a command-line interface (CLI) for interacting with OpenAI's GPT-3.5 Turbo model. It allows you to have conversations with the model, generate commands, and more.","archived":false,"fork":false,"pushed_at":"2024-01-20T12:01:40.000Z","size":806,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-19T08:49:07.952Z","etag":null,"topics":["ai","api","api-rest","chatgpt","code","gpt","gpt-3","gpt-4","gpt4","hack","hacking","hacking-tool","hacktoberfest","llm","llma2","openai","python","shell","shell-script"],"latest_commit_sha":null,"homepage":"","language":"Python","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/AiGptCode.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}},"created_at":"2023-10-07T20:25:32.000Z","updated_at":"2025-02-11T21:55:46.000Z","dependencies_parsed_at":"2024-01-12T12:56:16.866Z","dependency_job_id":"9258aaac-44f4-4c20-a48e-3c2018c866b5","html_url":"https://github.com/AiGptCode/CLI-CHATGPT-AUTOMATIC-TASK-AISHELL","commit_stats":{"total_commits":22,"total_committers":1,"mean_commits":22.0,"dds":0.0,"last_synced_commit":"63c099be7cacd7d87c8757557904c34777e7e674"},"previous_names":["aigptcode/cli-chatgpt-automatic-shell-","aigptcode/cli-chatgpt-automaticshell"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AiGptCode/CLI-CHATGPT-AUTOMATIC-TASK-AISHELL","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AiGptCode%2FCLI-CHATGPT-AUTOMATIC-TASK-AISHELL","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AiGptCode%2FCLI-CHATGPT-AUTOMATIC-TASK-AISHELL/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AiGptCode%2FCLI-CHATGPT-AUTOMATIC-TASK-AISHELL/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AiGptCode%2FCLI-CHATGPT-AUTOMATIC-TASK-AISHELL/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AiGptCode","download_url":"https://codeload.github.com/AiGptCode/CLI-CHATGPT-AUTOMATIC-TASK-AISHELL/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AiGptCode%2FCLI-CHATGPT-AUTOMATIC-TASK-AISHELL/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31749767,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T09:16:15.125Z","status":"ssl_error","status_checked_at":"2026-04-13T09:16:05.023Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["ai","api","api-rest","chatgpt","code","gpt","gpt-3","gpt-4","gpt4","hack","hacking","hacking-tool","hacktoberfest","llm","llma2","openai","python","shell","shell-script"],"created_at":"2024-11-25T05:34:43.758Z","updated_at":"2026-04-13T11:02:31.094Z","avatar_url":"https://github.com/AiGptCode.png","language":"Python","readme":"## CLI CHATGPT AUTOMATIC TASK AI SHELL \n \n# ChatGPT CLI windows (image generator)\n\n![Demo GIF](https://github.com/AiGptCode/CLI-CHATGPT-AUTOMATIC-TASK-AISHELL/blob/main/IMG_5100.gif)\n \n## Description\n\nThis Python script is a command-line interface (CLI) for interacting with OpenAI's GPT-3.5 Turbo model. It allows you to have conversations with the model, generate commands, and more.\n \n## Prerequisites\n\nBefore using this script, make sure you have the following:\n\n- Python 3.x\n- An OpenAI API key (set as an environment variable `OPENAI_KEY`)\n\n## Setup\n\n1. Clone this repository:\n   ```\n   git clone https://github.com/yourusername/chatgpt-cli.git\n   cd chatgpt-cli\n   ```\n\n2. Set your OpenAI API key as an environment variable:\n   ```\n   export OPENAI_KEY=YOUR_API_KEY_HERE\n   ```\n\n\n## Usage\n\n### Basic Conversation\n\nYou can use the script for basic conversations with the GPT-3.5 Turbo model. For example:\n\n```\npython cligpt.py\n```\n\n### Command Generation\n\nYou can also use it to generate shell commands. Provide a prompt starting with \"command:\" like this:\n\n```\npython cligpt.py \"command: Create a new file in the current directory.\"\n```\n\n### Image Generation\n\nTo generate images from text prompts, use the \"image:\" prefix:\n\n```\npython cligpt.py \"image: Draw a landscape with a river and mountains.\"\n```\n\n### Other Commands\n\n- `history`: View chat history.\n- `models`: List available models.\n- `model: MODEL_ID`: Get details for a specific model.\n- `exit` or `q`: Quit the script.\n\n## Notes\n\n- Be cautious when executing commands generated by the script, especially if they contain potentially dangerous commands (e.g., `rm`, `wget`). Always understand the commands before running them.\n\n- The script supports multi-line prompts. Press Enter then Ctrl-D to send multi-line prompts.\n\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faigptcode%2Fcli-chatgpt-automatic-task-aishell","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faigptcode%2Fcli-chatgpt-automatic-task-aishell","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faigptcode%2Fcli-chatgpt-automatic-task-aishell/lists"}