Skip to main content

ChatGPT Bot For Mixin

Project description

PyPi PyPi

chatgpt-mixin

Demo

Demo bot: 7000101691

Installation

on unix like platform, install chatgpt-mixin with the following command:

python3 -m pip install -U chatgpt-mixin
playwright install firefox

on the Windows platform, use the following command to install chatgpt-mixin:

python -m pip install -U chatgpt-mixin
playwright install firefox

Install chatgpt-mixin with the support of login with browser:

python3 -m pip install -U chatgpt-mixin[browser]

configuration

First, you need to create a mixin bot from developers.mixin.one. And then under the Secret tab, click Ed25519 session to generate an App Session configuration.

Second, you need at least have one chatgpt account, create it at chat.openai.com if you don't have an account.

After that, you can start this bot with the following command:

python3 -m chatgpt_mixin bot-config.yaml

which bot-config.yaml contains mixin bot configuration and chatgpt accounts as shown below.

bot_config:
  pin: ""
  client_id: ""
  session_id: ""
  pin_token: ""
  private_key: ""
openai_api_keys: []
accounts:
 - user: ""
   psw: ""

bot_config section specify mixin bot configure. openai_api_keys section specify openai api keys. accounts section specify chatgpt test accounts. user field can not be empty, but you can leave psw to empty. If it is left empty, the user will need to manually enter the password upon login. Multiple accounts can be specified in the accounts section to improve ChatGPT responses.

If you are running a bot in a server, you need to install Xvfb on the server, and use VNC at the client side to connect to Xvfb. For more information, refer to Remote_control_over_SSH.

On the first time you start this bot, automated processes such as auto-filling of account names and passwords will be carried out, but you will still need to manually solve CAPTCHAs during the login process.

Acknowledgements

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

chatgpt-mixin-0.1.4.tar.gz (14.5 kB view details)

Uploaded Source

Built Distribution

chatgpt_mixin-0.1.4-py3-none-any.whl (16.4 kB view details)

Uploaded Python 3

File details

Details for the file chatgpt-mixin-0.1.4.tar.gz.

File metadata

  • Download URL: chatgpt-mixin-0.1.4.tar.gz
  • Upload date:
  • Size: 14.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.2

File hashes

Hashes for chatgpt-mixin-0.1.4.tar.gz
Algorithm Hash digest
SHA256 7cd45c18d93739ef12cc6cd9b9d163742b34e7c95272cfcce716d797c6761b21
MD5 e12d7e1793a5a006d9ef721479270c75
BLAKE2b-256 eb22c7fd2da4cfc9a7e520c40cb24a954b1f0ae4f12b8f6c825cdf6dff29a07c

See more details on using hashes here.

File details

Details for the file chatgpt_mixin-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for chatgpt_mixin-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 5c5b4b7649b6ba8be8d4d22aaadc0c456d78f10e68dbd68da3212c082ddae5ad
MD5 8383c4919e16336dd144abadf8461818
BLAKE2b-256 9a8c38469aeba3d47e05c7b7aecd4393bb8cee453df8ec98fb655a668501a5cb

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page