https://github.com/acheong08/ChatGPT-API-agent
ChatGPT puppeteer for firefox
https://github.com/acheong08/ChatGPT-API-agent
Last synced: 9 months ago
JSON representation
ChatGPT puppeteer for firefox
- Host: GitHub
- URL: https://github.com/acheong08/ChatGPT-API-agent
- Owner: acheong08
- License: mit
- Archived: true
- Created: 2022-12-19T07:06:47.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-29T08:11:26.000Z (almost 3 years ago)
- Last Synced: 2024-11-24T17:16:13.450Z (about 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 42 KB
- Stars: 78
- Watchers: 8
- Forks: 22
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-chatgpt-resources - ChatGPT-API-agent - ChatGPT API Agent (Firefox version). (Swift)
README
# ChatGPT API Agent (Firefox version)
# Setup
1. Download from [Mozilla Addons](https://addons.mozilla.org/en-US/firefox/addon/chatgpt-api-client/)
# Running
1. Go to extension preferences


2. Configure endpoint from the [server](https://github.com/ChatGPT-Hackers/ChatGPT-API-server)
3. Add emails/passwords to the preferences
4. Press save

5. Click on the extension

This will spawn the same number of tabs as there are emails/passwords
6. Wait for it to load
7. Complete the captcha and press continue (email/password autofills)

8. After that, it will autofill the password and continue to the chat site.
Done. It connects to the endpoint and you can leave it open.
# Firefox Docker (optional)
```yaml
version: '3.3'
services:
firefox:
container_name: firefox
ports:
- '5800:5800'
volumes:
- ':/config:rw'
image: jlesage/firefox
```
1. create a folder that will contain the app data for firefox
2. access container via `:5800` and finish the firefox setup
3. procceed to follow step 1 in Setup section
4. now follow steps in Running section
# Contributing
In order to develop locally you need to use guide provided by Mozilla: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Your_first_WebExtension#trying_it_out and follow next steps:
1. Clone this repository
2. Go to `about:debugging` in Firefox
3. Specify this directory as a temporary extension
4. It will be loaded on top of the existing extension if you have one
5. You can debug your new feature.