johnvilsack / ChatGPT-API-agent

ChatGPT puppeteer for firefox

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ChatGPT API Agent (Firefox version)

Setup

  1. Download from Mozilla Addons

Running

  1. Go to extension preferences image image
  2. Configure endpoint from the server
  3. Add emails/passwords to the preferences
  4. Press save image
  5. Click on the extension image 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) image
  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)

version: '3.3'
services:
    firefox:
        container_name: firefox
        ports:
            - '5800:5800'
        volumes:
            - '<host folder path>:/config:rw'
        image: jlesage/firefox
  1. create a folder that will contain the app data for firefox
  2. access container via <ip-address>: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.

About

ChatGPT puppeteer for firefox

License:MIT License


Languages

Language:JavaScript 82.1%Language:CSS 10.6%Language:HTML 7.3%