2022-07-16 23:02:25 +02:00
2022-03-05 22:38:58 -07:00
2022-07-16 21:48:50 +02:00
2022-07-16 23:01:59 +02:00
2022-07-16 23:02:25 +02:00
2022-07-16 23:01:35 +02:00
2022-04-15 21:53:30 -06:00

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

  1. apt install golang
  2. git clone https://git.sr.ht/~anon_/shadowchat
  3. cd shadowchat
  4. go get github.com/skip2/go-qrcode
  5. go mod init shadowchat && go mod tidy
  6. edit config.json
  7. 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

  1. Generate a view only wallet using the monero-wallet-gui from getmonero.org. Preferably with no password
  2. Copy the newly generated walletname_viewonly and walletname_viewonly.keys files to your VPS
  3. Download the monero-wallet-rpc binary that is bundled with the getmonero.org wallets.
  4. 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 admin and password adminadmin. Change these in main.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

S
Description
No description provided
Readme
90 KiB
Languages
Go 74.7%
HTML 19.6%
CSS 4.7%
Dockerfile 1%