This is a Next.js project bootstrapped with create-next-app
.
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying pages/index.js
. The page auto-updates as you edit the file.
This was built on top of OpenAI's API. I used this repository for reference: https://github.com/ayaka14732/ChatGPTAPIFree
The API Instance is deployed to GCP (Google Cloud Platform - Cloud Run)
If you'd like to run your own instance of ChatGPT API Free, you can easily do so by following these steps:
- Obtain an OpenAI API Key from OpenAI API Keys.
- Star and fork this repository on GitHub: https://github.com/ayaka14732/ChatGPTAPIFree
- Configure your environment variables correctly.
- Deploy Docker locally or on Google Cloud Run.
- Setup rate limit locally or using Google Cloud Armor.
- Create an Issue ticket.
- Create a branch based from 'dev' branch.
- After code changes, create a pull request to the 'dev' branch.
- Wait for a code review.