Go to file
OgelGames 21e7b5eb44 don't escape formatting characters in urls 2022-05-24 14:52:09 +02:00
.github pin docker action 2022-05-11 18:28:58 +02:00
src don't escape formatting characters in urls 2022-05-24 14:52:09 +02:00
test require() "beerchat.js" file in pwd for more flexibility (#56) 2020-11-22 09:46:33 +01:00
.dockerignore different irc lib and alpine docker base image 2019-08-12 10:32:56 +02:00
.gitignore proper dev environment 2021-07-01 20:08:56 +02:00
.jshintrc jshint 2019-12-02 08:56:42 +01:00
Dockerfile Bump node from 16.11.0-alpine to 18.1.0-alpine 2022-05-11 18:27:53 +02:00
beerchat.js fix bot handling 2021-11-28 19:51:40 +01:00
docker-compose.yml shutdown hoook 2021-07-02 08:04:44 +02:00
integration-test.sh require() "beerchat.js" file in pwd for more flexibility (#56) 2020-11-22 09:46:33 +01:00
package-lock.json Bump body-parser from 1.19.0 to 1.20.0 2022-05-12 07:21:56 +02:00
package.json Bump body-parser from 1.19.0 to 1.20.0 2022-05-12 07:21:56 +02:00
readme.md fix indendations 2022-05-12 07:26:50 +02:00
responses.txt bugfix & doc 2019-09-06 07:57:09 +02:00

readme.md

Beerchat proxy application

Relay for minetest-ingame / IRC and Discord

Local Testing

curl -X POST \
 -H "Content-Type: application/json" \
 -d '{"channel":"main","playername":"somedude","message":"rant about lag!"}' \
 http://127.0.0.1:8080/

Configuration

beerchat.js

module.exports = {
	"debug": true,

	"remotes": [{
		"name": "IRC",
		"type": "irc",
		"debug": true,
		"host": "chat.freenode.net",
		"username": "pandorabot_test",
		"password": "my-password",
		"system_channel": "main",
		"channels": {
			"main": "pandorabox-test"
		}
	},{
		"name": "Discord",
		"type": "discord",
		"debug": true,
		"token": "the-discord-token",
		"system_channel": "main",
		"channels": {
			"main": "test"
		}
	}]
};

Starting

npm install
npm start