docker
Shadowchat
- Self-hosted, non-custodial and minimalist Monero (XMR) superchat system written in Go.
- Provides an admin view page to see donations with corresponding comments.
- Provides notification methods usable in OBS with an HTML page.
To see a working instance of shadowchat, see xmr.lukesmith.xyz.
Installation
apt install golanggit clone https://git.sr.ht/~anon_/shadowchatcd shadowchatgo get github.com/skip2/go-qrcodego mod init shadowchat && go mod tidy- edit
config.json go run main.go
A webserver at 127.0.0.1:8900 is running. Pressing the pay button will result in a 500 Error if the monero-wallet-rpc is not running.
This is designed to be run on a cloud server with nginx proxypass for TLS.
Monero Setup
- Generate a view only wallet using the
monero-wallet-guifrom getmonero.org. Preferably with no password - Copy the newly generated
walletname_viewonlyandwalletname_viewonly.keysfiles to your VPS - Download the
monero-wallet-rpcbinary that is bundled with the getmonero.org wallets. - Start the RPC wallet:
monero-wallet-rpc --rpc-bind-port 28088 --daemon-address https://xmr-node.cakewallet.com:18081 --wallet-file /opt/wallet/walletname_viewonly --disable-rpc-login --password ""
Usage
- Visit 127.0.0.1:8900/view to view your superchat history
- Visit 127.0.0.1:8900/alert?auth=adminadmin to see notifications
- The default username is
adminand passwordadminadmin. Change these inmain.go - Edit web/index.html and web/style.css to customize your front page!
OBS
- Add a Browser source in obs and point it to
https://example.com/alert?auth=adminadmin
Future plans
- Blocklist for naughty words
- Widget for OBS displaying top donators
- Remove discord and streamlabs integration features
- Settings page for on-the-fly changes (minimum dono amount, hide all amounts, etc.)
License
GPLv3
Origin
This comes from https://git.sr.ht/~anon_/shadowchat and is not Luke's original work.
Donate
sir,,thank you
84U6xHT7KVaWqdKwc7LiwkAXKCS2f2g6b6SFyt1G7u6xWqLBYTVXH2aEsEPho64uPFJQS6KHqSg7XLEfEkqvjdgd9H1vQSm
Languages
Go
74.7%
HTML
19.6%
CSS
4.7%
Dockerfile
1%