ponthief / nostroBolt

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BoltCard Command Control Bot

  • Control your physical BoltCard running on BoltCard Service via Nostr account
  • Command bot written in Rust for making updates to the card settings on the BoltCard Service.

Pre-requisites:

  • Card Name - as is in the BoltCard Service DB (card_db) 'cards' table - 'card_name' column
  • Nostr account private key

Running the bot:

  • BoltCard Service is running on the same host as the Bot
  • Install Rust
  • clone this repo: git clone https://github.com/ponthief/nostr_boltcard_bot.git
  • edit/save src/main.rs: set BECH32_SK variable to your Nostr account private key (nsec)
  • compile binary in the top folder: cargo build
  • run BoltCard Bot: cargo run
  • on your mobile device Nostr client, follow the public key of the BoltCard Bot

Make sure that you activate Incognito mode in the chat window with Bot. To view commands supported enter: /help in the private chat with Bot of your Nostr client app (Amethyst, IRIS etc.)

About


Languages

Language:Rust 100.0%