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: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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
⌂ 换网址