{"id":13587272,"url":"https://github.com/Licheam/zsh-ask","last_synced_at":"2025-04-07T21:33:29.334Z","repository":{"id":142605948,"uuid":"613713580","full_name":"Licheam/zsh-ask","owner":"Licheam","description":"A lightweight Zsh plugin serves as a ChatGPT API frontend, enabling you to interact with ChatGPT directly from Zsh.","archived":false,"fork":false,"pushed_at":"2024-07-12T07:47:44.000Z","size":24,"stargazers_count":69,"open_issues_count":1,"forks_count":12,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-06T06:40:40.230Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","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/Licheam.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-14T05:52:29.000Z","updated_at":"2024-11-02T05:57:58.000Z","dependencies_parsed_at":"2024-11-06T06:33:08.148Z","dependency_job_id":"d8344b8a-f1fa-44f6-b2b7-c6bac4747397","html_url":"https://github.com/Licheam/zsh-ask","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/Licheam%2Fzsh-ask","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Licheam%2Fzsh-ask/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Licheam%2Fzsh-ask/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Licheam%2Fzsh-ask/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Licheam","download_url":"https://codeload.github.com/Licheam/zsh-ask/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247732839,"owners_count":20986936,"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-01T15:06:07.995Z","updated_at":"2025-04-07T21:33:24.319Z","avatar_url":"https://github.com/Licheam.png","language":"Shell","funding_links":[],"categories":["Plugins","Shell"],"sub_categories":["ZSH on Windows"],"readme":"# zsh-ask\n\nA lightweight Zsh plugin serves as a ChatGPT API frontend, enabling you to interact with ChatGPT directly from the `Zsh` shell using only `cURL` and `jq`.\n\n## Installation\n\nSee [INSTALL.md](INSTALL.md) or run `source zsh-ask.zsh` for a quick start.\n\n## Preliminaries\n\nMake sure you have [`cURL`](https://curl.se/) and [`jq`](https://stedolan.github.io/jq/) installed.\n\nIf you would like to have markdown rendering with option `-m`, [`glow`](https://github.com/charmbracelet/glow) is required (Recommend).\n\n## Usage\n\nFill your OpenAI api key as `ZSH_ASK_API_KEY` (see [INSTALL.md](INSTALL.md) for detail information), then just run\n\n```\nask who are you\n```\n\nUse `-c` for dialogue format communication.\n\n```\nask -c chat with me\n```\n\nUse `-m` for markdown rendering (`glow` required)\n\n```\nask -m how to code quick sort in python\n```\n\nUse `-s` for streaming display (doesn't work with `-m` yet)\n\n```\nask -s write a poem for me\n```\n\nUse `-i` to inherits history from last chat (which is recorded in ZSH_ASK_HISTORY).\n\n```\nask -i tell me more about it\n```\n\nUse `-h` for more information.\n\n```\nask -h\n```\n\nHave fun!\n\n## License\n\nThis project is licensed under [MIT license](http://opensource.org/licenses/MIT). For the full text of the license, see the [LICENSE](LICENSE) file.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLicheam%2Fzsh-ask","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FLicheam%2Fzsh-ask","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLicheam%2Fzsh-ask/lists"}