Requirements
- node js
- a running discourse instance with the chat plugin enabled
- a server with an exposed port prefably 80
steps
- know the id of the chat channel you want the anonymose users to talk on and put that id in the varible in
index.jsonline 16 - create an incomming webhook which can be found at https://{discourseurl}/admin/plugins/chat for that same chat channel and assign that url to the env var
webhook - create a out going webhook which can be made at https://{discourseurl}/admin/api/web_hooks create a secret string for it and assign that string to the env var
incomingsecretmake sure you select the event triggerchat_message_eventset the payload url to https://{amcanonify}/webhook - run
npm ithennode index.js
if you have any trouble email me at rimuru@cryptolab.net or on discord at rf.to