{"id":22688405,"url":"https://github.com/emanuelefavero/chatgpt-api","last_synced_at":"2026-04-13T00:04:37.090Z","repository":{"id":172423744,"uuid":"620129971","full_name":"emanuelefavero/chatgpt-api","owner":"emanuelefavero","description":"This is a terminal based chatbot that uses the OpenAI API","archived":false,"fork":false,"pushed_at":"2023-03-28T04:52:20.000Z","size":17,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-29T16:13:57.698Z","etag":null,"topics":["chatbot","chatgpt","command-line","gpt-3","gpt-4","javascript","npm","opeanai","terminal"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/emanuelefavero.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-03-28T04:51:50.000Z","updated_at":"2023-05-06T22:40:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"b11e7208-fb41-40bc-af2e-a6115af86435","html_url":"https://github.com/emanuelefavero/chatgpt-api","commit_stats":null,"previous_names":["emanuelefavero/chatgpt-api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/emanuelefavero/chatgpt-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emanuelefavero%2Fchatgpt-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emanuelefavero%2Fchatgpt-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emanuelefavero%2Fchatgpt-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emanuelefavero%2Fchatgpt-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/emanuelefavero","download_url":"https://codeload.github.com/emanuelefavero/chatgpt-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emanuelefavero%2Fchatgpt-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281361405,"owners_count":26487881,"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","status":"online","status_checked_at":"2025-10-27T02:00:05.855Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["chatbot","chatgpt","command-line","gpt-3","gpt-4","javascript","npm","opeanai","terminal"],"created_at":"2024-12-10T00:14:17.360Z","updated_at":"2025-10-27T23:40:10.749Z","avatar_url":"https://github.com/emanuelefavero.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# chatGPT API\n\nThis is a terminal based chatbot that uses the OpenAI API (gpt-4 and gpt-3) to generate responses to user input\n\n#### screenshot\n\n\u003cimg src=\"screenshot.png\" alt=\"screenshot\" width=\"300\"\u003e\n\n## Installation\n\n- clone the repository and `cd` into it\n- run `npm install` to install the dependencies\n- go to [https://platform.openai.com/account/api-keys](https://platform.openai.com/account/api-keys) and get your API key\n- create a `.env` file and add your API key to it:\n\n```bash\nAPI_KEY=sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n```\n\n## Usage\n\n- run `npm run dev` to start the chatbot\n- ask the chatbot a question\n- type one of the following to exit the chatbot: `exit`, `quit`, `e`, `q`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femanuelefavero%2Fchatgpt-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femanuelefavero%2Fchatgpt-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femanuelefavero%2Fchatgpt-api/lists"}