Skip to content

aaanh/gpt-playground

Repository files navigation

A Simple GPT Web Client https://gpt.aaanh.app

Just a web interface for sending HTTP requests to the paid GPT API.

It uses the openai npm package.

Web application is bootstrapped using create-t3-app.

Deploy to Vercel using this neat little button that I can't seem to customize the styling

⚠️ Attention! You must have access to an OpenAI API account and an UpStash account and a Vercel account.

Deploy with Vercel

Usage

  • Install dependencies

    npm install
    
  • Copy .env.example to .env

  • Add your OpenAI API key in .env

  • (Optional) Add your upstash Redis tokens for rate limiting

  • Run

    npm run dev
    

Deployment

This repository can be forked as-is and deployed to Vercel.

Remember to add your API key to the Vercel project environment variables.

Contributing

All types of contributions, e.g. suggestion, MR/PR, bug report, etc., are warmly welcomed.

Please refer to the CONTRIBUTE.md document and the Code of Conduct for more detailed guidelines.

Donate/Sponsor

https://ko-fi.com/aaanh

Copyright materials

⚠️ The aaanh logo and the pseudonym aaanh is my trademark and subject to copyright laws.