Giter Site home page Giter Site logo

firstsaofan / chatgpt.allplatform Goto Github PK

View Code? Open in Web Editor NEW

This project forked from 239573049/chatgpt.desktop

0.0 0.0 0.0 26.94 MB

ChatGpt Dekstop support Android,IOS,Mac,Linux,Win,Web

Home Page: http://chat.tokengo.top

License: Apache License 2.0

JavaScript 3.70% C# 47.55% CSS 14.36% HTML 31.55% Batchfile 0.35% Dockerfile 2.50%

chatgpt.allplatform's Introduction

ChatGpt.Desktop

English| 简体中文

Introduction

ChatGpt.Desktop is a simple and easy-to-understand interface implemented using Blazor, which supports multiple conversations. It is available on Android, iOS, Mac, Linux, Windows, and Web platforms.

Software Architecture

Blazor is used as a cross-platform UI, and Masa Blazor interface is used.

Instructions

  1. Click the settings button in the upper right corner.
  2. Set the token. If you have a proxy server, you can modify the API address to your own proxy server.
  3. Save the settings.
  4. Send a message and get an answer.
  5. Messages will be saved in the browser cache and can be cleared in the settings for the current conversation.

Setting up ChatGpt Proxy

To set up a ChatGpt proxy, you need to prepare a server overseas, such as in Singapore or another country. You also need to have Docker and Docker Compose installed. Use the following script to deploy the proxy service. Note that the proxy service only proxies the api.openai.com interface. After deployment, set the ApiUrl in the application to the server's address, http://server_ip:server_port//v1/chat/completions.

services:
  chatgpt:
    image: registry.cn-shenzhen.aliyuncs.com/tokengo/chatgpt-gateway
    container_name: chatgpt
    ports:
      - 1080:80

如何使用Web Server

当前项目根目录下存在docker-compose.yml文件,可以在服务器直接运行,这是一个Blazor Server的项目镜像,如果将其部署到国外服务器就无需翻墙即可访问ChatGpt Api

services:
  chat-server:
    image: registry.cn-shenzhen.aliyuncs.com/tokengo/chat-server
    build:
      context: .
      dockerfile: ./src/ChatGpt.Server/Dockerfile
    container_name: chat-server
    ports:
      - 1800:80

Contribute

  1. Fork this repository
  2. Create a new feature/xxx branch
  3. Submit your code
  4. Create a new Pull Request

Thanks to the following contributors:

Preview

img img img

Get ChatGpt Token

To use this application, you need a ChatGpt account and login to create a token. Visit the following link to create a token: https://platform.openai.com/account/api-keys

Conclusion

Welcome to contribute to this project. From Token with love. Join our QQ group for learning and communication: 737776595.

wx: ea3eb63ece772ca89b413d420032242

chatgpt.allplatform's People

Contributors

239573049 avatar sealoyal2018 avatar slimenull avatar geffzhang avatar imxcstar 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.