https://github.com/kehiy/nadge
a simple nostr badge client.
https://github.com/kehiy/nadge
Last synced: about 1 month ago
JSON representation
a simple nostr badge client.
- Host: GitHub
- URL: https://github.com/kehiy/nadge
- Owner: kehiy
- License: mit
- Created: 2024-12-23T15:47:49.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-12-26T18:28:24.000Z (5 months ago)
- Last Synced: 2025-01-04T04:49:44.795Z (5 months ago)
- Language: Go
- Homepage:
- Size: 12.7 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# nadge
a nostr badge client on cli written in golang for fun!
# how to install?
```
go install github.com/kehiy/nadge@latest
```# how to use?
you can use `issue` command to issue new badge.
example:
```sh
nadge issue ./badge.json --nsec="nsec163yk7pd3gx3m59exje5c72tmsdeaatdesejjevumv9zw0e7z8wpqjll76r" --relays="wss://jellyfish.land,wss://nos.lol"
```
> [example template file](/badge_issue_template.json)you can use list command to get all badges issued by someone:
```sh
nadge list --npub="npub10q6ut93r6c7d3xxvea8nzuch5d80kevwrhf5ucw0tj7xkzjq765qd4test"
```you can award a badge like this:
```sh
nadge award "*if#s0G" npub1h49w8en79xty6j2pwgnpm3znjhyf767jua6xgt3kvyn3w80ms86s2z9kay --nsec="nsec163yk7pd3gx3m59exje5c72tmsdeaatdesejjevumv9zw0e7z8wpqjll76r" --relays="wss://jellyfish.land,wss://nos.lol"
```first argument is badge unique id, second one is awardee npub.
# license
this software is published under [mit license](./LICENSE)