A nostr bot to zap a note when you like it.
Clone repository:
git clone https://github.com/silencesoft/likzap.git
cd likzap
cp .env.sample .env
With docker:
docker-compose build
docker-compose up -d
Local test and deployment:
yarn
yarn dev
Modify the environment variables file:
- USER_PUBLIC_KEY : Your npub key
- USER_SECRET_KEY : Your hex secret key
- NOSTR_RELAYS : A list of relays comma separated
- LNDHUB_URL : LNDHub server
- DEFAULT_ZAP_VALUE : Default zap amount, empty if you only want specific reactions zaps.
- REACTION_VALUE_* : Reaction zap value. Emoji or string and value. Sample: 🤙|21 - +|1
- There is a known bug with yarn build in nostr-relaypool library
Support: npub1djxd9fd495r2llyjsx4aed0elcgy8fndw0pxx80pl0tuaa3kkuhq6r9mgy
My Nostr Public key: npub1gcmpunjrue2aq5um7qgnp4p6uxarlxw2z6djehaf0emxjf6gr9us548zdf
Buy me a coffee (with satoshis): https://lncoffee.me/silencesoft