Skip to content

Latest commit

 

History

History
38 lines (30 loc) · 991 Bytes

README.md

File metadata and controls

38 lines (30 loc) · 991 Bytes

🤖 chatgpt-irc

chat with chatgpt on irc!

demo video

screencast-2023-02-05-04-18-40.mp4

configuration

  • head to the chatgpt website and sign in
  • open the network tab in devtools (press F12)
  • say "hi" to chatgpt
  • collect your auth token, user agent, and cookie from the headers tab
    • make sure to escape the cookie value as it can contain quotes and other special characters
  • create config.json using the example configuration below or by copying example-config.json
  • run the bot: python chatgpt-irc.py

example config

{
    "server": "internetrelaychat.net",
    "port": 6697,
    "ssl": true,
    "nickname": "chatgpt",
    "ident": "chatgpt",
    "realname": "chatgpt",
    "password": "",
    "channels": ["#rj1"],
    "auth_token": "",
    "cookie": "",
    "useragent": ""
}