Repository navigation
Pregonero v0.1.0
First release of Pregonero: publishes the orders of Mostro nodes to Telegram channels and deletes each message as soon as its order is taken, canceled or expires.
Highlights
- Setup from Telegram. Channel admins link their channel to any Mostro node with a five-step wizard: buttons, a Back button on every step, Spanish and English.
- lnp2pBot-style messages with the node's name, amount, payment methods, the maker's trades and rating,
#SELLEUR-style hashtags, and a button that opens the order in the Mostro web client. - Live and reconciled. Order events are followed live and the channel is reconciled with the relays every five minutes, so taken, canceled and expired orders always disappear. If no relay answers, nothing is touched.
- Security. Only current channel admins can link or remove a channel, the bot's own rights are checked and the channel is paused if they are lost, channels are stored by numeric id, and only public
wss://relays are used. - One setting.
.envholds only the Telegram token; everything else lives in SQLite.
Run it
curl -O https://raw.githubusercontent.com/Forte11Cuba/pregonero/main/compose.yml
echo "TELEGRAM_TOKEN=..." > .env && chmod 600 .env
docker compose up -dImage: ghcr.io/forte11cuba/pregonero:0.1.0
Or use the public instance: @mostropregonerobot.