{"id":15011456,"url":"https://github.com/gauravjatt4k/chatgptapi","last_synced_at":"2026-02-03T01:02:24.530Z","repository":{"id":194886469,"uuid":"691789436","full_name":"gauravjatt4k/ChatGptApi","owner":"gauravjatt4k","description":"Demo in url check now ","archived":false,"fork":false,"pushed_at":"2023-09-20T08:46:24.000Z","size":357,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-22T02:41:22.505Z","etag":null,"topics":["api-rest","bun","bunjs","chatgpt","chatgptapi","expressjs","javascript","openai-api","reactjs"],"latest_commit_sha":null,"homepage":"https://chatapi.devgauravjatt.repl.co","language":"CSS","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/gauravjatt4k.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}},"created_at":"2023-09-14T22:34:57.000Z","updated_at":"2023-12-23T02:46:23.000Z","dependencies_parsed_at":"2023-09-15T15:46:43.502Z","dependency_job_id":"9c8f79fe-152b-4f6c-b4fc-c70000bb3b15","html_url":"https://github.com/gauravjatt4k/ChatGptApi","commit_stats":{"total_commits":38,"total_committers":4,"mean_commits":9.5,"dds":0.5,"last_synced_commit":"74ae7cc642cfade2e58083d9d4640610bce9ee8f"},"previous_names":["devgauravjatt/chatapi","gauravjatt4k/chatgptapi"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gauravjatt4k/ChatGptApi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gauravjatt4k%2FChatGptApi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gauravjatt4k%2FChatGptApi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gauravjatt4k%2FChatGptApi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gauravjatt4k%2FChatGptApi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gauravjatt4k","download_url":"https://codeload.github.com/gauravjatt4k/ChatGptApi/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gauravjatt4k%2FChatGptApi/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259503414,"owners_count":22867992,"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":["api-rest","bun","bunjs","chatgpt","chatgptapi","expressjs","javascript","openai-api","reactjs"],"created_at":"2024-09-24T19:41:07.390Z","updated_at":"2026-02-03T01:02:19.511Z","avatar_url":"https://github.com/gauravjatt4k.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# 😍ChatGptApi\n\n\n\n## 📝Short description :-\n\n\n\nThis is bun open source project and using express js and react, open ai module. very fast and beginner friendly project\n\n\n\n### ⚙ Setup and run with bun :-\n\n\n\n1. Clone the repository and download the code.\n\n\n\n2. Open your preferred code editor.\n\n\n\n3. Create a `.env` file in the project directory and add your OpenAI API key to it. Make sure it looks like this:\n\n\n\n```\n\nOPENAI_API_KEY=YOUR_API_KEY_HERE\n\n```\n\n\n\nReplace `YOUR_API_KEY_HERE` with your actual OpenAI API key.\n\n\n\n4. Open your terminal/command prompt and navigate to the project directory.\n\n\n\n5. Run the following commands:\n\n\n\n```bash\n\nbun install\n\nbun dev\n\n```\n\n\n\nThis will install the necessary dependencies and start the development server using Bun.\n\n\n\n### ⚙ Setup and run with node :-\n\n\n\n1. Clone the repository and download the code.\n\n\n\n2. Open your preferred code editor.\n\n\n\n3. Create a `.env` file in the project directory and add your OpenAI API key to it, just like in the Bun setup:\n\n\n\n```\n\nOPENAI_API_KEY=YOUR_API_KEY_HERE\n\n```\n\n\n\n4. If there's a file named `bun.lock`, delete it.\n\n\n\n5. Open the `package.json` file in your code editor.\n\n\n\n6. Locate the `\"dev\"` script and replace it with the following:\n\n\n\n```json\n\n\"dev\": \"node App.js\"\n\n```\n\n\n\n7. Open your terminal/command prompt and navigate to the project directory.\n\n\n\n8. Run the following commands:\n\n\n\n```bash\n\nnpm install\n\nnpm run dev\n\n```\n\n\n\nThis will install the required dependencies and start the development server using Node.js.\n\n\n\nNow you should be able to run your project using both Bun and Node.js. If you encounter any issues or have further questions, feel free to ask for assistance.\n### 💻 Pc view demo\n![enter image description here](https://raw.githubusercontent.com/devgauravjatt/ChatGptApi/main/Image/pc.png)\n### 📱 Mobile view demo\n![enter image description here](https://github.com/devgauravjatt/ChatGptApi/blob/main/Image/md.png?raw=true)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgauravjatt4k%2Fchatgptapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgauravjatt4k%2Fchatgptapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgauravjatt4k%2Fchatgptapi/lists"}