GithubHelp home page GithubHelp logo

l1l1thly / chatgpt-proxy Goto Github PK

View Code? Open in Web Editor NEW

This project forked from imyuanx/chatgpt-proxy

0.0 0.0 0.0 5.28 MB

One-click deployment of the ChatGPT private proxy, power by Next.js

Home Page: https://chatgpt-proxy-preview.zeabur.app/

JavaScript 68.18% CSS 31.82%

chatgpt-proxy's Introduction

One-click deployment of the ChatGPT private proxy, power by Next.js

English | 简体中文

Introduction

This project is based on Next.js, use Rewriter to complete proxy function, only 2 lines of core code, combining Zeabur or Vercel can easily host your private proxy service

Before you start, you'd better check the How to use section to determine whether this project is applicable to you

Deploy on Zeabur

The Zeabur is recommended, Specific operations are as follows

  1. Fork this repository for your own repository

fork

  1. Add a new service on Zeabur console

step 1

  1. Add service and deploy from source code

step 2

step 2-1

  1. Select your forked repo

step 3

  1. Select main and deploy

step 4

  1. After the deployment is successful, Generate the domain name.

step 5

  1. Finally get your service

step 6

Deploy on Vercel

❗️⚠️❗️Warning: This project may violate the Never Fair Use - Proxies and VPNs entries under the Vercel Terms of Use. Vercel hosting this project is strongly not recommended!

❗️⚠️❗️Warning: If your account is punished due to the deployment of this project to Vercel, please bear the consequences

If you use Vercel deploy services, you must custom domain name, beacuse the custom domain name is not affected by the GFW, Specific operations are as follows

Deploy to Vercel

  1. Click the deploy button at the top

One-click deploy

  1. After deployment, the repository will be forked automatically for you, entering a custom repository name in the input field

Deploy

  1. After successful deployment, get your service

Alt text

  1. You must add a custom domain name for your service, otherwise you will not be able to access your service in the country

Domain

How to use

Whether you use Zeabur or Vercel, you will get the following proxy service after deployment

Proxy service

The address in the red box is fully forwarded to https://api.openai.com and is accessible within the country

You can use the proxy service in applications that support custom apis to invoke the "openai" interface domestically

Fro example, openai-translator:

Alt text

Back to top

chatgpt-proxy's People

Contributors

imyuanx avatar michaelyuhe avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.