Skip to content

Pregonero v0.1.0

Choose a tag to compare

@Forte11Cuba Forte11Cuba released this 30 Nov 22:51
· 27 commits to main since this release
fb6a898

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. .env holds 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 -d

Image: ghcr.io/forte11cuba/pregonero:0.1.0

Or use the public instance: @mostropregonerobot.