nostui

Crates.ionostui
lib.rsnostui
version0.1.0
sourcesrc
created_at2024-01-14 05:31:50.328808
updated_at2024-01-14 05:31:50.328808
descriptionA TUI client for Nostr
homepagehttps://github.com/akiomik/nostui
repositoryhttps://github.com/akiomik/nostui
max_upload_size
id1099207
size1,515,672
Akiomi KAMAKURA (akiomik)

documentation

README

nostui

CI

A TUI client for Nostr

screenshot

Current features

  • Timeline
  • Post, Reply, Reaction, Repost

Getting Started

Requirements

  • git
  • rust

Installation

  1. Clone this repository and move to the directory:
git clone https://github.com/akiomik/nostui
cd nostui
  1. Install nostui binary:
# Install to ~/.cargo/bin/nostui
cargo install --path .

Setup

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

  1. Create a config.json to the following path:
  • Linux: ~/.config/notsui/config.json
  • Windows: ~\AppData\Roaming\0m1\nostui\config.json
  • macOS: ~/Library/Application Support/io.0m1.nostui/config.json
  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
Commit count: 0

cargo fmt