Skip to content

Supported channels and kind 40/42 events

Pre-release
Pre-release
Compare
Choose a tag to compare
@vishalxl vishalxl released this 24 Aug 18:40
· 564 commits to main since this release

Binaries

  • nostr_console_win64.exe this is a win64 executable file.
  • nostr_console_linux64 this is an elf 64, dynamically linked, built using 'dart compile' on a Ubuntu 21 64 bit
  • nostr_console_macOS.zip has an executable .app file. Needs to be unzipped. Built similarly on macOS
  • version v0.0.6-beta

Use all_nostr_events.txt as --file option to the application, which improves the performance because even if some events are not received, they are read from such a file.

New features

  • added support for chat menu and channels, which can be read and replied to. more info

  • added help and about info

version 0.0.5 features

  • translate flag to allow for translation
  • thread sorted by newest reply
  • can view a user profile, which shows only their comments and likes
  • can search for a word in all posts

fixed issues:

  • escaped character " so that it can be printed.

Known issues:

  • Some non-latin comments are still not getting published.
  • Likes are shown twice
  • Some replies/posts are missing, or not shown.
  • smiley like ¯_(ツ)_/¯ cannot be sent

Usage


usage: nostr_console [OPTIONS] 

  OPTIONS
      --pubkey  <public key>    The hex public key of user whose events and feed are shown. Default is a hard-coded
                                well known private key. When given, posts/replies can't be sent. Same as -p
      --prikey  <private key>   The hex private key of user whose events and feed are shown. Also used to sign events 
                                sent. Default is a hard-coded well known private key. Same as -k
      --relay   <relay wss url> The relay url that is used as main relay. Default is 'wss://nostr-relay.untethr.me'. Same as -r
      --days    <N>             The latest number of days for which events are shown. Default is 1. Same as -d
      --request <REQ string>    This request is sent verbatim to the default relay. It can be used to recieve all events
                                from a relay. If not provided, then events for default or given user are shown. Same as -q
      --file    <filename>      Read from given file, if it is present, and at the end of the program execution, write
                                to it all the events (including the ones read, and any new received). Same as -f
      --translate               This flag, if present, will make the application translate some of the recent posts using
                                google translate. Save as -t

  UI Options                                
      --align  <left>           When "left" is given as option to this argument, then the text is aligned to left. By default
                                the posts or text is aligned to the center of the terminal. Same as -a 
      --width  <width as num>   This specifies how wide you want the text to be, in number of columns. Default is 120. 
                                Cant be less than 60. Same as -w
      --maxdepth <depth as num> The maximum depth to which the threads can be displayed. Minimum is 2 and
                                maximum allowed is 12. Same as -m
      --help                    Print this usage message and exit. Same as -h