chatgpt-irc - chatgpt via irc
git clone https://github.com/rj1/chatgpt-irc
🤖 chatgpt-irc
chat with chatgpt on irc!
demo video
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 copyingexample-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": ""
}