{"id":13554784,"url":"https://github.com/Nashex/gpt4-playground","last_synced_at":"2025-04-03T07:32:48.208Z","repository":{"id":151253641,"uuid":"620492026","full_name":"Nashex/gpt4-playground","owner":"Nashex","description":"Clone of OpenAI's ChatGPT and Playground environments to enable experimenting with API keys.","archived":false,"fork":false,"pushed_at":"2024-05-29T04:31:46.000Z","size":244,"stargazers_count":345,"open_issues_count":17,"forks_count":112,"subscribers_count":5,"default_branch":"main","last_synced_at":"2024-08-01T12:33:08.946Z","etag":null,"topics":["gpt4","gpt4-api","nextjs","nlp","openai","playground"],"latest_commit_sha":null,"homepage":"https://www.gpt4-playground.com/","language":"TypeScript","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/Nashex.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-28T19:40:00.000Z","updated_at":"2024-07-17T17:19:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"99ed9685-cca3-4a5e-9edc-47859e7202f4","html_url":"https://github.com/Nashex/gpt4-playground","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nashex%2Fgpt4-playground","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nashex%2Fgpt4-playground/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nashex%2Fgpt4-playground/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nashex%2Fgpt4-playground/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Nashex","download_url":"https://codeload.github.com/Nashex/gpt4-playground/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222935625,"owners_count":17060398,"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":["gpt4","gpt4-api","nextjs","nlp","openai","playground"],"created_at":"2024-08-01T12:02:54.811Z","updated_at":"2024-11-04T03:31:16.343Z","avatar_url":"https://github.com/Nashex.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"# GPT-4 Playground\n\nJust got your GPT-4 API Key and want to give it a spin? Look not further! This project is mainly targeted to allow you to test out your Open AI API keys. The current OpenAI Playground still only allows 4096 tokens for 8k or 32k models like GPT-4 and if you would like to test out you key in a rendered chat environment you would have to purchase ChatCPT Plus. This project should fix both of those issues without comprimising on either experience. The project aims to preserve as much of the vanilla experience as possible while also providing a link between the the playground and ChatGPT to enable a better developer experience.\n\nAs a side note, all API keys are encrypted and stored in your browser's local storage, so you can use this project without having to worry about your API key being stolen.\n\n## Demo\n\n### Mock ChatGPT Environment\nThis environment has most of the critical features like conversation history (which is stored locally), prompting, and multiple conversations. This environment is a great way to test out your API key and see how it works!\n![ChatGpt-4 ChatGPT](https://i.imgur.com/DfTbV9d.png)\n\n### Playground Environment\n![ChatGpt-4 Playground](https://i.imgur.com/DS6NPH2.png)\n\n## Running Locally\nTo run this project locally, you will need to have [Node.js](https://nodejs.org/en/) installed. Once you have Node.js installed, you can clone this repository and run the following commands:\n\n```bash\nyarn install\nyarn dev\n```\n\nThis will start a local server on port 3000. You can then navigate to `localhost:3000` to view the project!\n\n## Contributing\n\n**This project is still in development! Contributions are very much appreciated!**\n\nIf you would like to contribute to this project, please feel free to open a pull request or an issue, I hashed this project out in a few hours so there are bound to be some bugs!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FNashex%2Fgpt4-playground","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FNashex%2Fgpt4-playground","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FNashex%2Fgpt4-playground/lists"}