Skip to content

rj1/chatgpt-irc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🤖 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": ""
}