{"id":19710782,"url":"https://github.com/rootstrap/chat-gpt-nodejs","last_synced_at":"2025-04-29T17:31:25.713Z","repository":{"id":233514609,"uuid":"615021031","full_name":"rootstrap/chat-gpt-nodejs","owner":"rootstrap","description":"NodeJS REST-API to interact with OpenAI","archived":false,"fork":false,"pushed_at":"2023-03-17T17:18:38.000Z","size":99,"stargazers_count":14,"open_issues_count":0,"forks_count":5,"subscribers_count":11,"default_branch":"main","last_synced_at":"2025-04-05T18:50:38.242Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/rootstrap.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}},"created_at":"2023-03-16T19:41:14.000Z","updated_at":"2024-06-08T21:40:23.000Z","dependencies_parsed_at":"2024-04-16T14:31:03.747Z","dependency_job_id":"97dcf755-9269-4748-a625-ded45c33cf73","html_url":"https://github.com/rootstrap/chat-gpt-nodejs","commit_stats":null,"previous_names":["rootstrap/chat-gpt-nodejs"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rootstrap%2Fchat-gpt-nodejs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rootstrap%2Fchat-gpt-nodejs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rootstrap%2Fchat-gpt-nodejs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rootstrap%2Fchat-gpt-nodejs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rootstrap","download_url":"https://codeload.github.com/rootstrap/chat-gpt-nodejs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251549228,"owners_count":21607370,"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-11-11T22:08:25.348Z","updated_at":"2025-04-29T17:31:25.294Z","avatar_url":"https://github.com/rootstrap.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ChatGPT NodeJS .TS Api\n\nThis project includes the boilerplate to interact with ChatGPT from a basic rest-api made in Node.js with Express + Typescript.\n\n## Basic Requirements\n\n1. Install Node.js [https://nodejs.org/en/download/](https://nodejs.org/en/download/)\n2. Install `TypeScript`\n\n```sh\nnpm install -g typescript\n```\n\n3. Install required dependencies\n\n```sh\nnpm install\n```\n\n4. Get an OpenAI API key: [https://beta.openai.com/signup/](https://beta.openai.com/signup/)\n5. Update your `.env` file with your API_KEY\n\n## Build and Run\n\nTo build js from typescript source.\n\n```sh\nnpm run build\n```\n\nTo start the server from the compiled folder (/dist).\n\n```sh\nnpm run start\n```\n\n## Demo\n\n![Demo](run.gif)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frootstrap%2Fchat-gpt-nodejs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frootstrap%2Fchat-gpt-nodejs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frootstrap%2Fchat-gpt-nodejs/lists"}