Skip to content

Instantly share code, notes, and snippets.

@heywoodlh
Created April 16, 2026 16:17
Show Gist options
  • Select an option

  • Save heywoodlh/9d558bfdd1936d72b0847ac2e7572f2a to your computer and use it in GitHub Desktop.

Select an option

Save heywoodlh/9d558bfdd1936d72b0847ac2e7572f2a to your computer and use it in GitHub Desktop.
Central User group chatting configuration files
#!/usr/bin/env bash
docker run -d --restart=unless-stopped --network=host --name=matterbridge -v ./matterbridge.toml:/etc/matterbridge/matterbridge.toml:ro 42wim/matterbridge:stable
[sshchat.culug]
Server="127.0.0.1:22"
Nick="matterbridge"
RemoteNickFormat="[{PROTOCOL}] <{NICK}> "
[discord.culug]
Token="<snip>"
Server="<snip>"
AutoWebhooks=true
RemoteNickFormat="[{PROTOCOL}] <{NICK}> "
PreserveThreading=true
[matrix.matrix-org]
Server="https://matrix.org"
Login="centralutahlugbot"
Password="<snip>"
RemoteNickFormat="[{PROTOCOL}] <{NICK}> "
NoHomeServerSuffix=false
[[gateway]]
name="ssh-chat-discord-matrix-gateway"
enable=true
[[gateway.inout]]
account="discord.culug"
channel="general"
[[gateway.inout]]
account="sshchat.culug"
channel="sshchat"
[[gateway.inout]]
account="matrix.matrix-org"
channel="#central-utah-lug:matrix.org"
Welcome to the CULUG chat instance, enter /help for more.
Visit https://culug.group for more information on the CULUG group.
#!/usr/bin/env bash
docker run -v ./motd.txt:/opt/motd.txt -v ./ssh:/root/.ssh -p 22:2022 -d --name=sshchat --restart=unless-stopped docker.io/heywoodlh/ssh-chat:daf4677 /usr/local/bin/ssh-chat --identity=/root/.ssh/id_rsa --admin=/root/.ssh/admin_authorized_keys --motd=/opt/motd.txt
# Place this in stoatcord-bot repository after `git clone`
services:
stoatcord-bot:
build: .
volumes:
- ./data:/data
restart: unless-stopped
env_file:
./.env
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment