{"id":20420384,"url":"https://github.com/wkaisertexas/chatgpt","last_synced_at":"2025-08-03T10:07:53.755Z","repository":{"id":203001848,"uuid":"708585497","full_name":"wkaisertexas/chatgpt","owner":"wkaisertexas","description":"ChatGPT, but in your terminal","archived":false,"fork":false,"pushed_at":"2023-10-23T01:11:34.000Z","size":25,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-15T14:36:00.245Z","etag":null,"topics":["clack","gpt"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/clack-chat-gpt","language":"JavaScript","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/wkaisertexas.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"license.md","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-10-23T00:45:37.000Z","updated_at":"2023-12-28T00:04:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"c3ac7d2a-88ec-4d71-a4ea-229552cec4fb","html_url":"https://github.com/wkaisertexas/chatgpt","commit_stats":null,"previous_names":["wkaisertexas/chatgpt"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wkaisertexas%2Fchatgpt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wkaisertexas%2Fchatgpt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wkaisertexas%2Fchatgpt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wkaisertexas%2Fchatgpt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wkaisertexas","download_url":"https://codeload.github.com/wkaisertexas/chatgpt/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241963984,"owners_count":20049949,"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":["clack","gpt"],"created_at":"2024-11-15T06:42:36.941Z","updated_at":"2025-03-05T04:27:04.329Z","avatar_url":"https://github.com/wkaisertexas.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\u003ca href=\"https://www.npmjs.com/package/clack-chat-gpt\"\u003e\n  \u003ch1 align=\"center\"\u003eChatGPT in Terminal\u003c/h1\u003e\n\u003c/a\u003e\n\n\u003cp align=\"center\"\u003e\nChat with ChatGPT without leaving your beloved command line interface\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"#introduction\"\u003e\u003cstrong\u003eIntroduction\u003c/strong\u003e\u003c/a\u003e ·\n  \u003ca href=\"#install\"\u003e\u003cstrong\u003eInstall\u003c/strong\u003e\u003c/a\u003e ·\n  \u003ca href=\"#setting-up-locally\"\u003e\u003cstrong\u003eSetting Up Locally\u003c/strong\u003e\u003c/a\u003e ·\n  \u003ca href=\"#tech-stack\"\u003e\u003cstrong\u003eTech Stack\u003c/strong\u003e\u003c/a\u003e ·\n  \u003ca href=\"#inspiration\"\u003e\u003cstrong\u003eInspiration\u003c/strong\u003e\u003c/a\u003e ·\n  \u003ca href=\"#license\"\u003e\u003cstrong\u003eLicense\u003c/strong\u003e\u003c/a\u003e\n\u003c/p\u003e\n\u003cbr/\u003e\n\n## Introduction\n\n`clack-chat-gpt` is a open-source AI chatbot ChatGPT wrapper which provides a beautiful user interface thanks to [Clack](https://github.com/natemoo-re/clack) and is available through `npm`.\n\n\u003cdiv align=\"center\"\u003e\n\nhttps://github.com/wkaisertexas/chatgpt/assets/27795014/663cfb31-a49e-46ee-af82-3d1202710316\n\n\u003c/div\u003e\n\n## Install\n\nInstall via [NPM](https://www.npmjs.com/package/clack-chat-gpt)\n\n```console\nnpm install -g clack-chat-gpt\n```\n\nAfter that, use like any CLI tool.\n\n```console\nchat What is the meaning of life?\n```\n\n## Setting Up Locally\n\nTo set up `clack-chat-gpt` locally, you'll need to clone the repository and set up the following environment variables:\n\n- `OPENAI_API_KEY` – your OpenAI API key (you can get one [here](https://platform.openai.com/account/api-keys))\n\n```console\ngit clone https://wkaisertexas/chatgpt\ncd chatgpt\nnode .\n```\n\n## Tech Stack\n\n`clack-chat-gpt` is built on the following stack:\n\n- [openai](https://www.npmjs.com/package/openai) - chat completions\n- [cleye](https://github.com/privatenumber/cleye) - command line interface parser\n- [clack](https://github.com/natemoo-re/clack) - textual user interface\n\n## Inspiration\n\nProject built as a project for [Machine Learning with TensorFlow JavaScript](https://wkaisertexas.github.io/ml-with-tfjs/) and inspired by [Builder.io](https://builder.io)'s [ai-shell](https://github.com/builderio/ai-shell).\n\n## Author\n\n- William Kaiser ([@williamdkaiser](https://linkedin.com/in/williamdkaiser))\n\n## License\n\nLicensed under the [MIT license](./license.md)[^1]\n\n---\n\n[^1]: Thanks to [Stephen Tey](https://twitter.com/steventey) as I took the readme template from [ChatHN](https://github.com/steven-tey/chathn)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwkaisertexas%2Fchatgpt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwkaisertexas%2Fchatgpt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwkaisertexas%2Fchatgpt/lists"}