wechatgpt

command module
v0.0.0-...-072871e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 12, 2022 License: AGPL-3.0 Imports: 9 Imported by: 0

README

wechatgpt

A WeChat ChatGPT bot based on openwechat and chatgptauth.

Usage

*nix

TASK_TIMEOUT=120s SESSION_TOKEN=xxx CF_CLEARANCE=xxx USER_AGENT=xxx ./wechatgpt

windows

set TASK_TIMEOUT=120s
set SESSION_TOKEN=xxx
set CF_CLEARANCE=xxx
set USER_AGENT=xxx
wechatgpt.exe

docker

lxduo/wechatgpt

Command
CMD Function
!reset Reset ChatGPT conversation
Environment
Variable Function
SESSION_TOKEN ChatGPT cookie __Secure-next-auth.session-token
CF_CLEARANCE ChatGPT cookie cf_clearance
USER_AGENT Browser user agent
TASK_TIMEOUT ChatGPT API query timeout duration
AUTO_ACCEPT Auto accept WeChat friend request
CHATGPT_EMAIL ChatGPT email
CHATGPT_PASSWORD ChatGPT password

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Credits to https://github.com/rodjunger/chatgptauth
Credits to https://github.com/rodjunger/chatgptauth

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL