{"id":20716420,"url":"https://github.com/akira-cn/openai-sh","last_synced_at":"2026-04-28T16:34:27.934Z","repository":{"id":193480775,"uuid":"688895094","full_name":"akira-cn/openai-sh","owner":"akira-cn","description":"Fast ChatGPT CLI powered by Azure OpenAI.","archived":false,"fork":false,"pushed_at":"2023-09-08T11:05:00.000Z","size":72,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-04T10:56:50.862Z","etag":null,"topics":["azure-openai","openai","shell"],"latest_commit_sha":null,"homepage":"","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/akira-cn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-09-08T10:28:59.000Z","updated_at":"2024-05-08T06:14:10.000Z","dependencies_parsed_at":"2023-09-08T11:07:03.007Z","dependency_job_id":"62215999-af74-4942-a8dc-8937e47f1020","html_url":"https://github.com/akira-cn/openai-sh","commit_stats":null,"previous_names":["akira-cn/openai-sh","akira-cn/ai-chat","akira-cn/ai-sh"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/akira-cn/openai-sh","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akira-cn%2Fopenai-sh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akira-cn%2Fopenai-sh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akira-cn%2Fopenai-sh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akira-cn%2Fopenai-sh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/akira-cn","download_url":"https://codeload.github.com/akira-cn/openai-sh/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akira-cn%2Fopenai-sh/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32390045,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T14:34:11.604Z","status":"ssl_error","status_checked_at":"2026-04-28T14:32:37.009Z","response_time":56,"last_error":"SSL_read: 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":["azure-openai","openai","shell"],"created_at":"2024-11-17T03:05:44.796Z","updated_at":"2026-04-28T16:34:27.920Z","avatar_url":"https://github.com/akira-cn.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OPENAI-SH\n\nFast ChatGPT CLI powered by Azure OpenAI.\n\n## Setup\n\n\u003e The minimum supported version of Node.js is v14\n\n1. Install _openai-sh_:\n\n```sh\nnpm install -g openai-sh\n```\n\n2. Follow the config steps when first run:\n\n```sh\nai\n```\n\n\u003cimg src=\"https://aircode-yvo.b-cdn.net/resource/1694168754127-vqofp0gwey.jpg\" width=\"300\"/\u003e\n\n## Usage\n\n```bash\nai [-s 'system prompts']?\n```\n\nWith this command, you can engage in a conversation with the AI and receive helpful responses in a natural, conversational manner directly through the CLI:\n\n```sh\n┌  Starting new conversation\n│\n◇  You:\n│  how do I serve a redirect in express\n│\n◇  AI Shell:\n\nIn Express, you can use the `redirect()` method to serve a redirect. The `redirect()` method takes one argument, which is the URL that you want to redirect to.\n\nHere's an example:\n\n\\`\\`\\`js\napp.get('/oldurl', (req, res) =\u003e {\n  res.redirect('/newurl');\n});\n\\`\\`\\`\n```\n\n### Set Language\n\nThe AI Shell's default language is English, but you can easily switch to your preferred language by using the corresponding language keys, as shown below:\n\n| Language            | Key     |\n| ------------------- | ------- |\n| English             | en      |\n| Simplified Chinese  | zh-Hans |\n| Traditional Chinese | zh-Hant |\n| Spanish             | es      |\n| Japanese            | jp      |\n| Korean              | ko      |\n| French              | fr      |\n| German              | de      |\n| Russian             | ru      |\n| Ukrainian           | uk      |\n| Vietnamese          | vi      |\n| Arabic              | ar      |\n| Portuguese          | pt      |\n| Turkish             | tr      |\n\nFor instance, if you want to switch to Simplified Chinese, you can do so by setting the LANGUAGE value to zh-Hans:\n\n```sh\nai config set LANGUAGE=zh-Hans\n```\n\nThis will set your language to Simplified Chinese.\n\n## Credit\n\n- Thanks to [@builder.io/ai-shell](https://github.com/BuilderIO/ai-shell). This project is based on its excellent work results.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakira-cn%2Fopenai-sh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fakira-cn%2Fopenai-sh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakira-cn%2Fopenai-sh/lists"}