Skip to content

zero-confirmation, zero-javascript, monero-only superchat app for livestreams

Notifications You must be signed in to change notification settings

ChanoSan/shadowchat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Donate

sir,,thank you 84U6xHT7KVaWqdKwc7LiwkAXKCS2f2g6b6SFyt1G7u6xWqLBYTVXH2aEsEPho64uPFJQS6KHqSg7XLEfEkqvjdgd9H1vQSm

About

zero-confirmation, zero-javascript, monero-only superchat app for livestreams

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published