https://github.com/gnostr-org/gnostr-query
construct nostr queries
https://github.com/gnostr-org/gnostr-query
gnostr nostr rust
Last synced: 2 months ago
JSON representation
construct nostr queries
- Host: GitHub
- URL: https://github.com/gnostr-org/gnostr-query
- Owner: gnostr-org
- License: apache-2.0
- Created: 2025-03-21T01:20:05.000Z (2 months ago)
- Default Branch: master
- Last Pushed: 2025-03-21T01:23:29.000Z (2 months ago)
- Last Synced: 2025-03-21T02:28:30.784Z (2 months ago)
- Topics: gnostr, nostr, rust
- Language: Rust
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## gnostr-query
### construct nostr queries
```sh
Usage: gnostr-query [OPTIONS]Options:
-a, --authors Comma-separated list of authors
-p, --mentions Comma-separated list of mentions
-e, --references Comma-separated list of references
-t, --hashtag Comma-separated list of hashtags
-i, --ids Comma-separated list of ids
-k, --kinds Comma-separated list of kinds (integers)
-g, --generic Generic tag query: #: value
-l, --limit Limit the number of results
-h, --help Print help
```## Install gnostr-query 0.0.1
### Install prebuilt binaries via shell script
```sh
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/gnostr-org/gnostr-query/releases/download/v0.0.1/gnostr-query-installer.sh | sh
```### Install prebuilt binaries via powershell script
```sh
powershell -ExecutionPolicy Bypass -c "irm https://github.com/gnostr-org/gnostr-query/releases/download/v0.0.1/gnostr-query-installer.ps1 | iex"
```### Install prebuilt binaries via Homebrew
```sh
brew install gnostr-org/gnostr-org/gnostr-query
```## Download gnostr-query 0.0.1
| File | Platform | Checksum |
|--------|----------|----------|
| [gnostr-query-aarch64-apple-darwin.tar.xz](https://github.com/gnostr-org/gnostr-query/releases/download/v0.0.1/gnostr-query-aarch64-apple-darwin.tar.xz) | Apple Silicon macOS | [checksum](https://github.com/gnostr-org/gnostr-query/releases/download/v0.0.1/gnostr-query-aarch64-apple-darwin.tar.xz.sha256) |
| [gnostr-query-x86_64-apple-darwin.tar.xz](https://github.com/gnostr-org/gnostr-query/releases/download/v0.0.1/gnostr-query-x86_64-apple-darwin.tar.xz) | Intel macOS | [checksum](https://github.com/gnostr-org/gnostr-query/releases/download/v0.0.1/gnostr-query-x86_64-apple-darwin.tar.xz.sha256) |
| [gnostr-query-x86_64-pc-windows-msvc.zip](https://github.com/gnostr-org/gnostr-query/releases/download/v0.0.1/gnostr-query-x86_64-pc-windows-msvc.zip) | x64 Windows | [checksum](https://github.com/gnostr-org/gnostr-query/releases/download/v0.0.1/gnostr-query-x86_64-pc-windows-msvc.zip.sha256) |
| [gnostr-query-x86_64-unknown-linux-gnu.tar.xz](https://github.com/gnostr-org/gnostr-query/releases/download/v0.0.1/gnostr-query-x86_64-unknown-linux-gnu.tar.xz) | x64 Linux | [checksum](https://github.com/gnostr-org/gnostr-query/releases/download/v0.0.1/gnostr-query-x86_64-unknown-linux-gnu.tar.xz.sha256) |Usage:
```
gnostr-query -i 9f832fda858fdddb86c5c79dcc271767804fb3562ed5eea8c8be4f19be8e9cdc
```