https://github.com/dextryz/nip84
CLI with NIP-84 implement
https://github.com/dextryz/nip84
highlight nostr
Last synced: 5 months ago
JSON representation
CLI with NIP-84 implement
- Host: GitHub
- URL: https://github.com/dextryz/nip84
- Owner: dextryz
- License: mit
- Created: 2024-02-13T12:50:23.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-14T15:46:06.000Z (over 2 years ago)
- Last Synced: 2025-12-18T01:45:52.090Z (7 months ago)
- Topics: highlight, nostr
- Language: Go
- Homepage:
- Size: 10.3 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# highlighter
CLI with NIP-84 implement
## Setup
Create your config file in `~/.config/nostr/highlighter.json` containing:
```json
{
"relays": ["wss://relay.highlighter.com/", "wss://relay.damus.io/"],
"npub": "npub14ge829c4pvgx24c35qts3sv82wc2xwcmgng93tzp6d52k9de2xgqq0y4jk"
}
```
Finally, set your environment variable:
```shell
export NOSTR=~/.config/nostr/highlighter.json`
```
Build the executable
```shell
make build
```
## Usage
```shell
> highlighter -content "Some highlighted content" -context "Why did you make this highlight" -url "https://go.dev/blog/strings"
```