Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hkurma/openai-playground-plus
Play with OpenAI API's using your own API Key. Your API Key is stored and used only from your browser.
https://github.com/hkurma/openai-playground-plus
ai api assistants chat-completions image-generation lucide-icons moderations nextjs openai openai-api openai-playground playground shadcn-ui tailwindcss tokenizer
Last synced: 23 days ago
JSON representation
Play with OpenAI API's using your own API Key. Your API Key is stored and used only from your browser.
- Host: GitHub
- URL: https://github.com/hkurma/openai-playground-plus
- Owner: hkurma
- Created: 2023-12-26T21:38:17.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-14T20:49:23.000Z (8 months ago)
- Last Synced: 2024-05-15T16:24:34.491Z (8 months ago)
- Topics: ai, api, assistants, chat-completions, image-generation, lucide-icons, moderations, nextjs, openai, openai-api, openai-playground, playground, shadcn-ui, tailwindcss, tokenizer
- Language: TypeScript
- Homepage: https://openai-playground-plus.vercel.app
- Size: 448 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# OpenAI Playground Plus
Playground app for OpenAI API's and more. Use your own OpenAI API Key. Your API Key is stored and used only from your browser.
[Playground Plus App](https://openai-playground-plus.vercel.app)
## API's
These OpenAI API's are currently supported in the playground.
- Text Generation
- Vision
- Image Generation
- Assistants
- Moderations[OpenAI API Reference](https://platform.openai.com/docs/api-reference)
[OpenAI Docs](https://platform.openai.com/docs/overview)
## Tokenizer
Tool to help you understand how text is tokenized by a model and the total count of tokens.
Tokenizer uses [gpt-tokenizer](https://github.com/niieani/gpt-tokenizer) npm package, which is a port of OpenAI's [tiktoken](https://github.com/openai/tiktoken).
# Run locally
Follow these steps to run the app locally.
- Install dependencies
```bash
npm install
```- Start development server
```bash
npm run dev
```You can access the app on http://localhost:3000
# Build
Run the following script to build the app.
```bash
npm run build
```