Skip to content

adamm-xyz/nostratui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nostratui

A terminal user interface (TUI) for browsing Nostr posts, written in Rust.

nostratui is a minimalist, responsive, and highly efficient terminal client for the nostr protocol.

Installation

Clone and Build

git clone https://github.com/adamm-xyz/nostratui.git
cd nostratui
cargo build

Config

You must create a config.json at:

~/.config/nostratui/config.json

Then, you can add your private key, the list of relays you use and public keys you follow.

{
    "key":"nsec1...",
    "relays":[
        "wss://myrelay.xyz",
        "wss://nostr.example.net"
    ],
    "contacts":[
        [
            "npub1...",
            "matthew"
        ],
        [
            "npub1...",
            "mark"
        ],
        [
            "npub1...",
            "luke"
        ]
    ]
}

Usage

Run

cargo run

Keybindings

keybind Description
k navigate up
j navigate down
Ctrl-r refresh feed
n create new post
r reply to selected post
q quit

Roadmap

  • NIP-01, fetch and display basic notes
  • NIP-02, fetch follow list
  • Display contacts page
  • NIP-05 display user name handles
  • Key generation with NIP-06
  • NIP-08 display mentions in posts
  • NIP-09 issue delete requests
  • NIP-10 show note threads (still WIP)

About

A TUI for nostr

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages