akiomik / nostui

A TUI client for Nostr
MIT License
34 stars 5 forks source link
nostr ratatui social-media-app tui

nostui

crates.io CI

A TUI client for Nostr

screenshot

Current Features

Getting Started

Dowonload binaries from the release page.

Or, install manually via crates.io:

cargo install nostui

On NetBSD, a package is available from the official repositories. To install it, simply run:

pkgin install nostui

Setup

[!NOTE] Other extensions supported are .json5, .yaml, .toml and .ini.

  1. Create a config.json to the following path:
  1. Add your privatekey to the config.json:
{
    "privatekey": "nsec1...",
    "relays": ["wss://nos.lol"] // optional
}

Usage

Commands

nostui [OPTIONS]

Options:
  -t, --tick-rate <FLOAT>   Tick rate, i.e. number of ticks per second [default: 16]
  -f, --frame-rate <FLOAT>  Frame rate, i.e. number of frames per second [default: 16]
  -h, --help                Print help
  -V, --version             Print version

Default Keybindings

Keybinding Description
k up Scroll up
j down Scroll down
q Ctrl-c Ctrl-d Quit
home g Scroll to top
end Shift-g Scroll to bottom
Ctrl-z Suspend
esc Unselect
n New text note
Ctrl-p Submit text note
r Reply to the selected note
f Send reaction
t Repost