Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ryuseisan/auto-chatgpt
Automate interaction with the browser version of ChatGPT.
https://github.com/ryuseisan/auto-chatgpt
chatgpt openai selenium
Last synced: 3 months ago
JSON representation
Automate interaction with the browser version of ChatGPT.
- Host: GitHub
- URL: https://github.com/ryuseisan/auto-chatgpt
- Owner: ryuseisan
- License: mit
- Created: 2023-04-18T00:46:48.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-08-30T00:45:02.000Z (over 1 year ago)
- Last Synced: 2024-08-02T01:20:04.968Z (6 months ago)
- Topics: chatgpt, openai, selenium
- Language: Python
- Homepage:
- Size: 72.3 KB
- Stars: 50
- Watchers: 2
- Forks: 11
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-ChatGPT-repositories - auto-chatgpt - Automate interaction with the browser version of ChatGPT. (Browser-extensions)
README
# Auto-ChatGPT
This Python project leverages Selenium to automate interactions with the browser-based ChatGPT. As a result, it enables efficient communication with the browser version of ChatGPT without using an API.
(Suggestions for a better project and package name are welcome, as the current ones do not seem quite appropriate.)
## Table of Contents
- [Auto-ChatGPT](#auto-chatgpt)
- [Table of Contents](#table-of-contents)
- [Installation](#installation)
- [Environment Setup](#environment-setup)
- [Usage](#usage)
- [Contributing](#contributing)
- [Disclaimer](#disclaimer)
- [License](#license)## Installation
To use this project, you need to install the dependencies by following these steps:
1. Make sure you have Python 3.10+ installed on your system. If not, download it from [here](https://www.python.org/downloads/).
2. Clone this repository:
```
git clone https://github.com/ryuseisan/auto-chatgpt.git
``````
cd auto-chatgpt
```3. Install the required dependencies using either Poetry or Pip:
- With Pip:
```
pip install .
```- With Rye:
```
rye sync --no-dev
```- With Poetry:
```
poetry install --no-dev
```## Environment Setup
To securely store your email address and password, create a `.env` file in the project's root directory by copying the `.env.example` file:
```
cp .env.example .env
```Edit the .env file and replace YOUR_EMAIL_ADDRESS and YOUR_PASSWORD with your actual email address and password. Also, set ACCOUNT_TYPE to either "OPENAI" or "GOOGLE" depending on the type of account you are using for login.
## Usage
Set up a jupyter server or use vscode to run **examples/autochat.ipynb**.
The email address and password are loaded from the `.env` file. This will open a Chrome window and navigate to the ChatGPT website. Follow the prompts in the terminal to start the conversation with ChatGPT.
## Contributing
Contributions are welcome! Please feel free to submit a pull request or create an issue to discuss any potential improvements or bug fixes.
## Disclaimer
This software is experimental in nature, and upon use, the user agrees to the following terms and conditions
1. This software is experimental and is provided without any warranty.
2. The user is solely responsible for the use of this software.
3. The developer is not responsible for any outcomes resulting from the use of this software.
4. Users agree to abide by the terms of use of OpenAI's ChatGPT. For more details, please visit [here](https://openai.com/policies/usage-policies).If you do not agree to these terms, you should not use this software.
## License
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for more details.