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.js
online 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
incomingsecret
make sure you select the event triggerchat_message_event
set the payload url to https://{amcanonify}/webhook - run
npm i
thennode index.js
if you have any trouble email me at [email protected] or on discord at rf.to