Gemini Fortune Bot
_.-'\ /'-._
_.-' _\ .-. /_ '-._
.-' _.-' |/.-.\| '-._ '-.
.' .-' _|| ||_ '-. '.
/ .' .-' ||___|| '-. '. \
/ .' .-' _.-'-----'-._ '-. '. \
/ / .' .-' ~ ~ '-. '. \ \
/ / / .' ~ * ~ ~ '. \ \ \
/ / /.'........ * ~ * ~'.\ \ \
| / //:::::::::: ~ _____._____ \\ \ |
| | |/::::::::::: * '-----------' \| | |
.--.|__||_____________________________||__|.--.
.' '----. .-----------------------. .----' '.
'.________' |o|==|o|====:====|o|==|o| '________.'
.'--------. |o|==|o|====:====|o|==|o| .--------'.
'.________' |o|==|o|====:====|o|==|o| '________.'
.'--------. |o|==|o|====:====|o|==|o| .--------'.
'.________' |o|==|o|====:====|o|==|o| '________.'
| | || ____ |:| | | | | |:| ____ || | |
| | || | ||:| | | | | |:|| | || | |
| | || |____||: diskogurdo :||____| || | |
| | || | /|:| | | | | |:|\ | || | |
| | || |_.` |:| | | | | |:| `._| || | |
| | || .---.-'-'-'-'-'-'-'-'-.---. || | |
| | || | |\ /\ / \ /\ /| | || | |
| | || | |~\/ \/ ~ \/ \/ | | || | |
| | || | | /\ ~/\ ~ /\ ~/\ | | || | |
| | || | |/ \/ \ / \/ ~\| | || | |
| | || | |\~ /\~ / \~ /\ /| | || | |
| | || | | \/ \/ ~ \/ \/ | | || | |
| | || | | /\~ /\ ~ /\ ~/\ | | || | |
| | || |===|/ \/ .-. \/ \|===| || | |
| | || | | ~ /\ ( * ) /\ ~ | | || | |
| | || | \ / \/'-'\/ \ / | || | |
/-._|__|| \ \ ~ /\ ~ /\~ / / ||__|_.-\
|-._/__/| \ './ .-. \.' / |\__\_.-|
| | | || '._ '-| |-' _.' || | | |
| | | || '._ | | _.' || | | |
| | | || '-._| |_.-' || | | |
| | | || __ | | || | | |
| | | || O__O |_| || | | |
'.|_|__||_____________________________||__|_|.'
| | |-----------------------------| | |
| | [_____________________________] | |
| | |/ \| | |
'._|__.' '.__|_.'
Intro
This bot acts as a jukebox machine
. If configured correctly, the bot can play an mpd radio after a transaction of any size is sent to the bots cryptocurrency address.
It's current play status will be reflected on a Gemini website
Everytime the jukebox stops or starts a gemlog and ATOM feed are created.
Installation
git clone https://github.com/t-900-a/gemini-jukebox-bot
go build .
A program called gemini-jukebox-bot
will end up in your current
directory.
Usage
gemini-fortune-bot [website uri] [stream url] [tx hash] [payment uri] [payment view key]
fortune -h|--help
For the bot to run only after a small payment has been made see below:
monero-wallet-rpc --wallet-file ~/mywallet --prompt-for-password \
--tx-notify "/usr/bin/gemini-jukebox-bot monero:donate.getmonero.org %s"
The bot assumes that mpd is already running in a paused or stopped state.
For icecast2 and mpd configuration see here
License and Copyright
See the accompanying License file.