Giter Site home page Giter Site logo

hary654321 / chatgpt-web-for-login Goto Github PK

View Code? Open in Web Editor NEW

This project forked from surest-sky/chatgpt-web-for-login

0.0 0.0 0.0 3.55 MB

chatgpt-web Supported versions for login

License: MIT License

Shell 0.13% JavaScript 0.24% TypeScript 30.03% CSS 0.02% HTML 0.64% Batchfile 0.06% Vue 56.91% Dockerfile 0.31% Less 11.64%

chatgpt-web-for-login's Introduction

此项目在 chat-gpt 上, 使用nodejs, 集成了 邮箱发送、和邮箱注册登录模块,可以用来私有部署,并计算可使用的token值

来源项目:

https://github.com/Chanzhaoyu/chatgpt-web

演示地址

https://gpt.intercom.ink/

联系我

wx: surestfeng

安装方式

安装方式:同 https://github.com/Chanzhaoyu/chatgpt-web

我和他的区别在于增加了邮箱登录 和 注册,并在前端做了限制 1000个token 上下文会话

前端如何限制 1000 token

src/views/chat/index.vue:120

安装sql

https://github.com/surest-sky/chatgpt-web-for-login/blob/main/docs/install.sql

环境配置

.env

	OPENAI_API_KEY=
	
	# 可以使用 qq 邮箱的
	MAIL_FORM=
	MAIL_DRIVER=
	MAIL_HOST=
	MAIL_PORT=
	MAIL_USERNAME=
	MAIL_PASSWORD=
	MAIL_SECURE
	
	# redis 配置
	REDIS_HOST=
	REDIS_PORT=
	REDIS_DB=
	
	# mysql
	DB_CONNECTION=mysql
	DB_HOST=
	DB_PORT=3306
	DB_DATABASE=
	DB_USERNAME=
	DB_PASSWORD=

其他常见问题

邮箱配置

MAIL_PASSWORD 为 授权码

腾讯企业邮

	[email protected]
	MAIL_DRIVER=smtp
	MAIL_HOST=smtp.exmail.qq.com
	MAIL_PORT=465
	[email protected]
	MAIL_PASSWORD=zE****gBsyg
	MAIL_SECURE=ssl

QQ 邮

	# https://wx.mail.qq.com/list/readtemplate?name=app_intro.html#/agreement/authorizationCode
	[email protected]
	MAIL_DRIVER=smtp
	MAIL_HOST=smtp.qq.com
	MAIL_PORT=465
	[email protected]
	MAIL_PASSWORD=vghvfmqpvrnzfgag
	MAIL_SECURE=ssl

chatgpt-web-for-login's People

Contributors

surest-sky 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.