https://github.com/dextryz/nostr-article
Nostr CLI to manage long form content
https://github.com/dextryz/nostr-article
nostr
Last synced: 6 months ago
JSON representation
Nostr CLI to manage long form content
- Host: GitHub
- URL: https://github.com/dextryz/nostr-article
- Owner: dextryz
- Created: 2024-02-02T18:22:35.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-05T15:00:24.000Z (over 2 years ago)
- Last Synced: 2026-01-12T01:52:38.078Z (7 months ago)
- Topics: nostr
- Language: Go
- Homepage:
- Size: 4.25 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Nostr Article CLI
Read-only CLI for long form content on [nostr](www.nostr.com). To manage your article with write permissions use the [Nostr Knowledge Management](https://github.com/dextryz/nkm) client.
## Setup
Create your config file in `~/.config/nostr/article.json` containing:
```
{
"relays": ["wss://relay.damus.io"],
"npub": "npub14ge829c4pvgx24c35qts3sv82wc2xwcmgng93tzp6d52k9de2xgqq0y4jk"
}
```
Finally, set your environment variable:
```shell
export NOSTR_CONFIG=~/.config/nostr/article.json`
```
Build the executable
```shell
make build
```
## Usage
View two articles
```shell
> nart list 2
The Art of War
naddr...
Channels in Go
naddr...
```
## Todo
```shell
# List articles whoes content contains the following keyword.
> nart search "hello friend"
# List articles with the following tags.
> nart tag "coding,go"
```