• Stars
    star
    122
  • Rank 292,031 (Top 6 %)
  • Language
    Go
  • Created over 2 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A simple Monero (XMR) superchat donation system in Go

Shadowchat

  • Self-hosted, noncustodial 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 install github.com/skip2/go-qrcode@latest
  5. edit config.json
  6. 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
  • Settings page for on-the-fly changes (minimum donation 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

More Repositories

1

voidrice

My dotfiles (deployed by LARBS)
Shell
4,189
star
2

mutt-wizard

A system for automatically configuring mutt and isync with a simple interface and safe passwords
Shell
2,305
star
3

based.cooking

A simple culinary website.
CSS
2,148
star
4

LARBS

Luke's Auto-Rice Bootstrapping Scripts: Installation Scripts for My Arch Linux Meta-Distribution
Shell
1,985
star
5

st

Luke's fork of the suckless simple terminal (st) with vim bindings and Xresource compatibility.
C
1,591
star
6

emailwiz

Script that installs/configures a Dovecot, Postfix, Spam Assassin, OpenDKIM Debian web server
Shell
1,527
star
7

dwm

Luke's build of dwm
C
777
star
8

dwmblocks

My status bar: my build of the modular dwmblocks
C
411
star
9

landchad

Landchad.net Website Tutorial Page
CSS
353
star
10

lb

Blog & RSS system in less than 100 lines of shell script
Shell
282
star
11

latex-templates

My LaTeX templates, bibliography file, etc.
TeX
208
star
12

lugo

Luke's Hugo Theme
HTML
157
star
13

dmenu

dmenu setup for LARBS
C
145
star
14

vul

Latin Vulgate Bible on the Command Line
Awk
107
star
15

md-website-cv

A system for CVs/resumes and websites based on markdown files
HTML
96
star
16

etc

Random files that could be of interest
83
star
17

grb

A cli-accessible Greek Bible with the Septuagint, SBL and Apocrypha
Awk
76
star
18

surf

Luke's build of the surf web browser
C
65
star
19

shortcut-sync

Luke's Scripts for bash, ranger and qutebrowser synchronization
Shell
59
star
20

vimling

Small vim scripts for writing IPA and other special characters
Vim Script
49
star
21

critique-of-reason

Term paper on Rationality
TeX
35
star
22

corpus-latinum

Luke's Latin Tagger and (under construction) Corpus
Python
26
star
23

go-webring

Go
25
star
24

scroll

Minor personal tweaks to suckless's scroll (for st)
C
24
star
25

syntax-without-syntax

Qualifying paper on how word orders are driven by prosodic parameters
TeX
18
star
26

scope-without-syntax

Quantifier scope ambiguities are derived entirely from pragmatic assumptions, implemented in Game Theory.
TeX
15
star