Skip to content

Releases: vishalxl/nostr_console

Nostr Console v0.2.6-beta: fixed encrypted and tag channel related issues

05 Dec 16:47
Compare
Choose a tag to compare

0.2.6-beta

  • fixed issue where message to encrypted group wasn't going
  • added root tag when replying in tag room

0.2.5-beta

  • fixed some tag-channel lookup issues. Now unique names/id given are looked up instantly. and case isn't considered.

0.2.4-beta

  • added t tag with every tag that is mentioned in a comment. they are also seen in their own public rooms

0.2.3-beta

  • added support for public rooms created in menu 3 for #t and #location tags for each such tag

help and reference

Binaries

All binaries built using Github workflow automatically

  • nostr_console_win64.zip this has a win64 executable file.
  • nostr_console_elf64.zip this has a elf 64 executable file, 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

Use all_nostr_events.txt ( zipped as rar) 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. The program creates such a file ( by saving all events into it) if you do not supply this file initially.

Usage


usage: nostr_console [OPTIONS] 

  OPTIONS

      -p, --pubkey  <public key>    The hex public key of user whose events and feed are shown. Default is a hard-coded
                                    public key derived from a well known private key. When given, posts/replies can't be sent. 
      -k, --prikey  <private key>   The hex private key of user whose events and feed are shown. Also used to sign events 
                                    sent. Default is same-as-above hard-coded well known private key. 
      -r, --relay   <relay wss url> The relay url that is used as main relay. Default is wss://nostr-relay.untethr.me.
      -d, --days    <N as num>      The latest number of days for which events are shown. Default is 1.
      -q, --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.
      -f, --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).
      -s, --disable-file            When turned on, even the default file is not read from.
      -t, --translate               Translate some of the recent posts using Google translate site ( and not api). Google 
                                    is accessed for any translation request only if this flag is present, and not otherwise.
      -l, --location                The given value is added as a 'location' tag with every kind 1 post made
      -h, --help              Print this usage message and exit.
      -v, --version          Print version and exit.

      
  UI Options                                
      -a, --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. 
      -w, --width  <width as num>   This specifies how wide you want the text to be, in number of columns. Default is 100. 
                                    Cant be less than 60.
      -m, --maxdepth <depth as num> The maximum depth to which the threads can be displayed. Minimum is 2 and
                                    maximum allowed is 12. 
      -c, --color  <color>          Color option can be green, cyan, white, black, red and blue.

  Advanced
      -y, --difficulty <number>     The difficulty number in bits, only for kind 1 messages. Tne next larger number divisible by 4 is 
                                    taken as difficulty. Can't be more than 24 bits, because otherwise it typically takes too much 
                                    time. Minimum and default is 0, which means no difficulty.
      -e, --overwrite               Will over write the file with all the events that were read from file, and all newly received. Is
                                    useful when the file has to be cleared of old unused events. A backup should be made just in case
                                    of original file before invoking.

Nostr Console v0.2.5-beta: fixed tag channel related issues

05 Dec 13:00
Compare
Choose a tag to compare

0.2.5-beta

  • fixed some tag-channel lookup issues. Now unique names/id given are looked up instantly. and case isn't considered.

0.2.4-beta

  • added t tag with every tag that is mentioned in a comment. they are also seen in their own public rooms

0.2.3-beta

  • added support for public rooms created in menu 3 for #t and #location tags for each such tag

help and reference

Binaries

All binaries built using Github workflow automatically

  • nostr_console_win64.zip this has a win64 executable file.
  • nostr_console_elf64.zip this has a elf 64 executable file, 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

Use all_nostr_events.txt ( zipped as rar) 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. The program creates such a file ( by saving all events into it) if you do not supply this file initially.

Usage


usage: nostr_console [OPTIONS] 

  OPTIONS

      -p, --pubkey  <public key>    The hex public key of user whose events and feed are shown. Default is a hard-coded
                                    public key derived from a well known private key. When given, posts/replies can't be sent. 
      -k, --prikey  <private key>   The hex private key of user whose events and feed are shown. Also used to sign events 
                                    sent. Default is same-as-above hard-coded well known private key. 
      -r, --relay   <relay wss url> The relay url that is used as main relay. Default is wss://nostr-relay.untethr.me.
      -d, --days    <N as num>      The latest number of days for which events are shown. Default is 1.
      -q, --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.
      -f, --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).
      -s, --disable-file            When turned on, even the default file is not read from.
      -t, --translate               Translate some of the recent posts using Google translate site ( and not api). Google 
                                    is accessed for any translation request only if this flag is present, and not otherwise.
      -l, --location                The given value is added as a 'location' tag with every kind 1 post made
      -h, --help              Print this usage message and exit.
      -v, --version          Print version and exit.

      
  UI Options                                
      -a, --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. 
      -w, --width  <width as num>   This specifies how wide you want the text to be, in number of columns. Default is 100. 
                                    Cant be less than 60.
      -m, --maxdepth <depth as num> The maximum depth to which the threads can be displayed. Minimum is 2 and
                                    maximum allowed is 12. 
      -c, --color  <color>          Color option can be green, cyan, white, black, red and blue.

  Advanced
      -y, --difficulty <number>     The difficulty number in bits, only for kind 1 messages. Tne next larger number divisible by 4 is 
                                    taken as difficulty. Can't be more than 24 bits, because otherwise it typically takes too much 
                                    time. Minimum and default is 0, which means no difficulty.
      -e, --overwrite               Will over write the file with all the events that were read from file, and all newly received. Is
                                    useful when the file has to be cleared of old unused events. A backup should be made just in case
                                    of original file before invoking.

Nostr Console v0.2.4-beta: added t tag with every comment with tag(s)

05 Dec 06:33
Compare
Choose a tag to compare

0.2.4-beta

  • added t tag with every tag that is mentioned in a comment. they are also seen in their own public rooms

0.2.3-beta

  • added support for public rooms created in menu 3 for #t and #location tags for each such tag

help and reference

Binaries

All binaries built using Github workflow automatically

  • nostr_console_win64.zip this has a win64 executable file.
  • nostr_console_elf64.zip this has a elf 64 executable file, 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

Use all_nostr_events.txt ( zipped as rar) 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. The program creates such a file ( by saving all events into it) if you do not supply this file initially.

Usage


usage: nostr_console [OPTIONS] 

  OPTIONS

      -p, --pubkey  <public key>    The hex public key of user whose events and feed are shown. Default is a hard-coded
                                    public key derived from a well known private key. When given, posts/replies can't be sent. 
      -k, --prikey  <private key>   The hex private key of user whose events and feed are shown. Also used to sign events 
                                    sent. Default is same-as-above hard-coded well known private key. 
      -r, --relay   <relay wss url> The relay url that is used as main relay. Default is wss://nostr-relay.untethr.me.
      -d, --days    <N as num>      The latest number of days for which events are shown. Default is 1.
      -q, --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.
      -f, --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).
      -s, --disable-file            When turned on, even the default file is not read from.
      -t, --translate               Translate some of the recent posts using Google translate site ( and not api). Google 
                                    is accessed for any translation request only if this flag is present, and not otherwise.
      -l, --location                The given value is added as a 'location' tag with every kind 1 post made
      -h, --help              Print this usage message and exit.
      -v, --version          Print version and exit.

      
  UI Options                                
      -a, --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. 
      -w, --width  <width as num>   This specifies how wide you want the text to be, in number of columns. Default is 100. 
                                    Cant be less than 60.
      -m, --maxdepth <depth as num> The maximum depth to which the threads can be displayed. Minimum is 2 and
                                    maximum allowed is 12. 
      -c, --color  <color>          Color option can be green, cyan, white, black, red and blue.

  Advanced
      -y, --difficulty <number>     The difficulty number in bits, only for kind 1 messages. Tne next larger number divisible by 4 is 
                                    taken as difficulty. Can't be more than 24 bits, because otherwise it typically takes too much 
                                    time. Minimum and default is 0, which means no difficulty.
      -e, --overwrite               Will over write the file with all the events that were read from file, and all newly received. Is
                                    useful when the file has to be cleared of old unused events. A backup should be made just in case
                                    of original file before invoking.

Nostr Console v0.2.3-beta: created public rooms for #t and #location tags

05 Dec 05:07
Compare
Choose a tag to compare

0.2.3-beta

  • added support for public rooms created in menu 3 for #t and #location tags for each such tag

help and reference

Binaries

All binaries built using Github workflow automatically

  • nostr_console_win64.zip this has a win64 executable file.
  • nostr_console_elf64.zip this has a elf 64 executable file, 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

Use all_nostr_events.txt ( zipped as rar) 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. The program creates such a file ( by saving all events into it) if you do not supply this file initially.

Usage


usage: nostr_console [OPTIONS] 

  OPTIONS

      -p, --pubkey  <public key>    The hex public key of user whose events and feed are shown. Default is a hard-coded
                                    public key derived from a well known private key. When given, posts/replies can't be sent. 
      -k, --prikey  <private key>   The hex private key of user whose events and feed are shown. Also used to sign events 
                                    sent. Default is same-as-above hard-coded well known private key. 
      -r, --relay   <relay wss url> The relay url that is used as main relay. Default is wss://nostr-relay.untethr.me.
      -d, --days    <N as num>      The latest number of days for which events are shown. Default is 1.
      -q, --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.
      -f, --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).
      -s, --disable-file            When turned on, even the default file is not read from.
      -t, --translate               Translate some of the recent posts using Google translate site ( and not api). Google 
                                    is accessed for any translation request only if this flag is present, and not otherwise.
      -h, --help              Print this usage message and exit.
      -v, --version          Print version and exit.

      
  UI Options                                
      -a, --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. 
      -w, --width  <width as num>   This specifies how wide you want the text to be, in number of columns. Default is 100. 
                                    Cant be less than 60.
      -m, --maxdepth <depth as num> The maximum depth to which the threads can be displayed. Minimum is 2 and
                                    maximum allowed is 12. 
      -c, --color  <color>          Color option can be green, cyan, white, black, red and blue.

  Advanced
      -y, --difficulty <number>     The difficulty number in bits, only for kind 1 messages. Tne next larger number divisible by 4 is 
                                    taken as difficulty. Can't be more than 24 bits, because otherwise it typically takes too much 
                                    time. Minimum and default is 0, which means no difficulty.
      -e, --overwrite               Will over write the file with all the events that were read from file, and all newly received. Is
                                    useful when the file has to be cleared of old unused events. A backup should be made just in case
                                    of original file before invoking.

Nostr Console v0.2.2-beta: fixed encrypted group issue

02 Dec 06:52
Compare
Choose a tag to compare

Binaries

All binaries built using Github workflow automatically

  • nostr_console_win64.zip this has a win64 executable file.
  • nostr_console_elf64.zip this has a elf 64 executable file, 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

Use all_nostr_events.txt ( zipped as rar) 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. The program creates such a file ( by saving all events into it) if you do not supply this file initially.

0.2.2-beta

  • fixed issue with encrypted groups where an invite from non-follow wasn't processed/received
  • now more of events received are saved ( removed restrictions on which events were saved to file)

0.2.1-beta

  • Improved UI , notifications
  • after tagging: changed version number and fixed profile view

0.2.0-beta

  • improved notifications
  • fetched 14x only after receiving the invite ( improved logic, not user facing)
  • fix over previous release regarding encrypted group channel creation
  • improved channel, direct rooms display.
  • chmod fix so that all built files are already marked as executable
  • Only part of the replied-to post is quoted now. mentioned the person replied to by name.

after tagging

  • fixes for notifications

0.1.9-beta

  • Now encrypted groups use kind 104 to send shared secret. reference; Previous encrypted groups won't be seen with this version.
  • more support for Spanish and Portugese ( to english) translation
  • by default now program can be invoked without any argument, and it would allow user to see/read all public messages or posts
  • printed qr code in profile display
  • other bug fixes

after tagging

  • fixed issue with channel creation and addition of members

0.1.8-beta

  • New menu system for the 'social network' - now it gets its own full menu

2022-11-24 (10)

0.1.7-beta

  • put delay after sending kind 1 so that it makes (more) sure they reach the relay
  • improved url breaking vis a vis #, $ and other chars
  • improved info printed when more than one account is listed ( for ex when checking profile)

0.1.6-beta

  • support for reply to specific message ( using /reply id message) in encrypted group chat on lines of public group chats
  • quoted mentions of events a la NIP 8 (issue 30)
  • fix: even if a user does not have a kind 0 event, even then their profile can now be seen.
  • fix: newer nip 05 info will correctly supersede info of older one

0.1.5-beta

  • better NIP 10 support by improved how reply/root tags are handled and threads created
  • added support for double qoutes ( now one can write double quotes) by escaping them as needed
  • more support for nip05 - now it can be mentioned when editing profile
  • changed setting so that only 2 relays are queried now. and fewer events are received ( 2500 each with each non-first invocation. First time 30k events are received and saved into file)
  • enabled --relay argument
  • print all verified in menu 6 -> 9
  • test for checking valid dm's to fix a bug where a DM to/from a pubkey with too many zeros was crashing the app (bug fix)

0.1.4-beta

  • NIP 05 support. Whether user has NIP05 verification is shown in their full profile. Its mentioned when multiple pubkeys are displayed when searching for user names.
  • Support for heart and another positive emoji ( two hands together)

0.1.3-beta

  • screen cleared after most menus, where appropriate. Screen cleared by printing 20+ newlines, so old history is still there.
  • horizontal menus for better screen space use
  • other UI improvements like better printing of channel overview

0.1.2-beta

  • update your own profile - kind 0 message support.
  • url's aren't cut when displayed so that they can be clicked
  • menus are made horizontal to save screen space ( testing)
  • if comment replies to a non kind-1 message like reaction, it gest printed

changes after tag

  • added clear screen after most menus specially public channel menu.

0.1.1-beta

  • reply to specific messages in public groups

0.1.0-beta

  • improved display of encrypted and public channels
  • x exits from any menu
  • improved speed by keeping only latest 20 days events
  • added delay when sending group and direct messages to ensure delivery

after tag

  • fix for channel overview out of range crash
  • 442/42 issue which won't get 42 messages

0.0.9-beta

  • has encrypted group chat. A wiki page with info on how to use this feature is found here. This implements the new proposed NIP 38

0.0.8a-beta

  • can delete channel posts
  • fixed translate crash ( bug fix)
  • create channels
  • channels messages do print date (bug fix)
  • expand mentions in incoming direct messages

0.0.7a-beta

  • previous version is not fetching contact list. fixed that.
  • improved direct chats overview printing

0.0.7-beta

  • private encrypted direct message support, both read and send/write. Can send DM to self too.
  • direct messages overview and public channels overview are sorted by latest message recieved
  • improved display of Social network by adding boxes at ends of a thread
  • faster screen printing in SN
  • fetched individual events so less events are missed
  • support for delete kind 5 event which can be used to delete any of your event
  • the reaction ! hides any comment ( to be proposed to NIP)
  • added color option in arguments. Colored names of users.
  • French is translated with other non-Latin languages
  • Github workflow added with name 'dart' which automatically builds binaries
  • added --difficulty option, maximum value 24 bits
  • writing only new events to file. Speeds up exit a lot.
  • added --overwrite option to force write file

Older releases

version 0.0.6-beta features added

  • 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 added

  • 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

Known issues

  • comment can't be more than 255 chars in Windows
  • Some non-latin comments are still not getting published.
  • smiley like ¯_(ツ)_/¯ cannot be sent

Usage


usage: nostr_console [OPTIONS] 

  OPTIONS

      -p, --pubkey  <public key>    The hex public key of user whose events and feed are shown. Default is a hard-coded
                                    public key derived from a well known private key. When given, posts/replies can't be sent. 
      -k, --prikey  <private key>   The hex private key of user whose events and feed are shown. Also used to sign events 
                                    sent. Default is same-as-above hard-coded well known private key. 
      -r, --relay   <relay wss url> The relay url that is used as main relay. Default is wss://nostr-relay.untethr.me.
      -d, --days    <N as num>      The latest number of days for which events are shown. Default is 1.
      -q, --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.
      -f, --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).
      -s, --disable-file            When turned on, even the default file is not read from.
      -t, --translate               Translate some of the recent posts using Google translate site ( and not api). Google 
                                    is accessed for any translation request only if this flag is present, and not otherwise.
      -h, --help              Print this usage message and exit.
      -v, --version          Print version and exit.

      
  UI Options                                
      -a, --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. 
      -w, --width  <width as num>   This specifies how wide you want the text to be, in number of columns. Default is 100. 
                                    Cant be less than 60.
      -m, --maxdepth <depth as num> The maximum depth to which the threads can be displayed. Minimum is 2 and
                                    maximum allowed is 12. 
      -c, --color  <color>          Color option can be green, cyan, white, black, red and blue.

  Advanced
      -y, --difficulty <number>     The difficulty number in bits, only for kind 1 messages. Tne next larger number divisible by 4 is 
                                    taken as difficulty. Can't be more than 24 bits, because otherwise it typically takes too much 
                                    time. Minimum and default is 0, which means no difficulty.
      -e, --overwrite               Will over write the file with all the events that were read from file, and all newly received. Is
                                    useful when the file has to be cleared of old unused events. A backup should be made just in case
                     ...
Read more

Nostr Console v0.2.1-beta: Improved UI , notifications

30 Nov 06:46
Compare
Choose a tag to compare

Binaries

All binaries built using Github workflow automatically

  • nostr_console_win64.zip this has a win64 executable file.
  • nostr_console_elf64.zip this has a elf 64 executable file, 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

Use all_nostr_events.txt ( zipped as rar) 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. The program creates such a file ( by saving all events into it) if you do not supply this file initially.

0.2.1-beta

  • Improved UI , notifications
  • after tagging: changed version number and fixed profile view

0.2.0-beta

  • improved notifications
  • fetched 14x only after receiving the invite ( improved logic, not user facing)
  • fix over previous release regarding encrypted group channel creation
  • improved channel, direct rooms display.
  • chmod fix so that all built files are already marked as executable
  • Only part of the replied-to post is quoted now. mentioned the person replied to by name.

after tagging

  • fixes for notifications

0.1.9-beta

  • Now encrypted groups use kind 104 to send shared secret. reference; Previous encrypted groups won't be seen with this version.
  • more support for Spanish and Portugese ( to english) translation
  • by default now program can be invoked without any argument, and it would allow user to see/read all public messages or posts
  • printed qr code in profile display
  • other bug fixes

after tagging

  • fixed issue with channel creation and addition of members

0.1.8-beta

  • New menu system for the 'social network' - now it gets its own full menu

2022-11-24 (10)

0.1.7-beta

  • put delay after sending kind 1 so that it makes (more) sure they reach the relay
  • improved url breaking vis a vis #, $ and other chars
  • improved info printed when more than one account is listed ( for ex when checking profile)

0.1.6-beta

  • support for reply to specific message ( using /reply id message) in encrypted group chat on lines of public group chats
  • quoted mentions of events a la NIP 8 (issue 30)
  • fix: even if a user does not have a kind 0 event, even then their profile can now be seen.
  • fix: newer nip 05 info will correctly supersede info of older one

0.1.5-beta

  • better NIP 10 support by improved how reply/root tags are handled and threads created
  • added support for double qoutes ( now one can write double quotes) by escaping them as needed
  • more support for nip05 - now it can be mentioned when editing profile
  • changed setting so that only 2 relays are queried now. and fewer events are received ( 2500 each with each non-first invocation. First time 30k events are received and saved into file)
  • enabled --relay argument
  • print all verified in menu 6 -> 9
  • test for checking valid dm's to fix a bug where a DM to/from a pubkey with too many zeros was crashing the app (bug fix)

0.1.4-beta

  • NIP 05 support. Whether user has NIP05 verification is shown in their full profile. Its mentioned when multiple pubkeys are displayed when searching for user names.
  • Support for heart and another positive emoji ( two hands together)

0.1.3-beta

  • screen cleared after most menus, where appropriate. Screen cleared by printing 20+ newlines, so old history is still there.
  • horizontal menus for better screen space use
  • other UI improvements like better printing of channel overview

0.1.2-beta

  • update your own profile - kind 0 message support.
  • url's aren't cut when displayed so that they can be clicked
  • menus are made horizontal to save screen space ( testing)
  • if comment replies to a non kind-1 message like reaction, it gest printed

changes after tag

  • added clear screen after most menus specially public channel menu.

0.1.1-beta

  • reply to specific messages in public groups

0.1.0-beta

  • improved display of encrypted and public channels
  • x exits from any menu
  • improved speed by keeping only latest 20 days events
  • added delay when sending group and direct messages to ensure delivery

after tag

  • fix for channel overview out of range crash
  • 442/42 issue which won't get 42 messages

0.0.9-beta

  • has encrypted group chat. A wiki page with info on how to use this feature is found here. This implements the new proposed NIP 38

0.0.8a-beta

  • can delete channel posts
  • fixed translate crash ( bug fix)
  • create channels
  • channels messages do print date (bug fix)
  • expand mentions in incoming direct messages

0.0.7a-beta

  • previous version is not fetching contact list. fixed that.
  • improved direct chats overview printing

0.0.7-beta

  • private encrypted direct message support, both read and send/write. Can send DM to self too.
  • direct messages overview and public channels overview are sorted by latest message recieved
  • improved display of Social network by adding boxes at ends of a thread
  • faster screen printing in SN
  • fetched individual events so less events are missed
  • support for delete kind 5 event which can be used to delete any of your event
  • the reaction ! hides any comment ( to be proposed to NIP)
  • added color option in arguments. Colored names of users.
  • French is translated with other non-Latin languages
  • Github workflow added with name 'dart' which automatically builds binaries
  • added --difficulty option, maximum value 24 bits
  • writing only new events to file. Speeds up exit a lot.
  • added --overwrite option to force write file

Older releases

version 0.0.6-beta features added

  • 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 added

  • 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

Known issues

  • comment can't be more than 255 chars in Windows
  • Some non-latin comments are still not getting published.
  • smiley like ¯_(ツ)_/¯ cannot be sent

Usage


usage: nostr_console [OPTIONS] 

  OPTIONS

      -p, --pubkey  <public key>    The hex public key of user whose events and feed are shown. Default is a hard-coded
                                    public key derived from a well known private key. When given, posts/replies can't be sent. 
      -k, --prikey  <private key>   The hex private key of user whose events and feed are shown. Also used to sign events 
                                    sent. Default is same-as-above hard-coded well known private key. 
      -r, --relay   <relay wss url> The relay url that is used as main relay. Default is wss://nostr-relay.untethr.me.
      -d, --days    <N as num>      The latest number of days for which events are shown. Default is 1.
      -q, --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.
      -f, --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).
      -s, --disable-file            When turned on, even the default file is not read from.
      -t, --translate               Translate some of the recent posts using Google translate site ( and not api). Google 
                                    is accessed for any translation request only if this flag is present, and not otherwise.
      -h, --help              Print this usage message and exit.
      -v, --version          Print version and exit.

      
  UI Options                                
      -a, --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. 
      -w, --width  <width as num>   This specifies how wide you want the text to be, in number of columns. Default is 100. 
                                    Cant be less than 60.
      -m, --maxdepth <depth as num> The maximum depth to which the threads can be displayed. Minimum is 2 and
                                    maximum allowed is 12. 
      -c, --color  <color>          Color option can be green, cyan, white, black, red and blue.

  Advanced
      -y, --difficulty <number>     The difficulty number in bits, only for kind 1 messages. Tne next larger number divisible by 4 is 
                                    taken as difficulty. Can't be more than 24 bits, because otherwise it typically takes too much 
                                    time. Minimum and default is 0, which means no difficulty.
      -e, --overwrite               Will over write the file with all the events that were read from file, and all newly received. Is
                                    useful when the file has to be cleared of old unused events. A backup should be made just in case
                                    of original file before invoking.

Nostr Console v0.2.0-beta: Better channel overview and improved notifications

29 Nov 20:22
Compare
Choose a tag to compare

Binaries

All binaries built using Github workflow automatically

  • nostr_console_win64.zip this has a win64 executable file.
  • nostr_console_elf64.zip this has a elf 64 executable file, 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

Use all_nostr_events.txt ( zipped as rar) 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. The program creates such a file ( by saving all events into it) if you do not supply this file initially.

0.2.0-beta

  • improved notifications
  • fetched 14x only after receiving the invite ( improved logic, not user facing)
  • fix over previous release regarding encrypted group channel creation
  • improved channel, direct rooms display.
  • chmod fix so that all built files are already marked as executable
  • Only part of the replied-to post is quoted now. mentioned the person replied to by name.

after tagging

  • fixes for notifications

0.1.9-beta

  • Now encrypted groups use kind 104 to send shared secret. reference; Previous encrypted groups won't be seen with this version.
  • more support for Spanish and Portugese ( to english) translation
  • by default now program can be invoked without any argument, and it would allow user to see/read all public messages or posts
  • printed qr code in profile display
  • other bug fixes

after tagging

  • fixed issue with channel creation and addition of members

0.1.8-beta

  • New menu system for the 'social network' - now it gets its own full menu

2022-11-24 (10)

0.1.7-beta

  • put delay after sending kind 1 so that it makes (more) sure they reach the relay
  • improved url breaking vis a vis #, $ and other chars
  • improved info printed when more than one account is listed ( for ex when checking profile)

0.1.6-beta

  • support for reply to specific message ( using /reply id message) in encrypted group chat on lines of public group chats
  • quoted mentions of events a la NIP 8 (issue 30)
  • fix: even if a user does not have a kind 0 event, even then their profile can now be seen.
  • fix: newer nip 05 info will correctly supersede info of older one

0.1.5-beta

  • better NIP 10 support by improved how reply/root tags are handled and threads created
  • added support for double qoutes ( now one can write double quotes) by escaping them as needed
  • more support for nip05 - now it can be mentioned when editing profile
  • changed setting so that only 2 relays are queried now. and fewer events are received ( 2500 each with each non-first invocation. First time 30k events are received and saved into file)
  • enabled --relay argument
  • print all verified in menu 6 -> 9
  • test for checking valid dm's to fix a bug where a DM to/from a pubkey with too many zeros was crashing the app (bug fix)

0.1.4-beta

  • NIP 05 support. Whether user has NIP05 verification is shown in their full profile. Its mentioned when multiple pubkeys are displayed when searching for user names.
  • Support for heart and another positive emoji ( two hands together)

0.1.3-beta

  • screen cleared after most menus, where appropriate. Screen cleared by printing 20+ newlines, so old history is still there.
  • horizontal menus for better screen space use
  • other UI improvements like better printing of channel overview

0.1.2-beta

  • update your own profile - kind 0 message support.
  • url's aren't cut when displayed so that they can be clicked
  • menus are made horizontal to save screen space ( testing)
  • if comment replies to a non kind-1 message like reaction, it gest printed

changes after tag

  • added clear screen after most menus specially public channel menu.

0.1.1-beta

  • reply to specific messages in public groups

0.1.0-beta

  • improved display of encrypted and public channels
  • x exits from any menu
  • improved speed by keeping only latest 20 days events
  • added delay when sending group and direct messages to ensure delivery

after tag

  • fix for channel overview out of range crash
  • 442/42 issue which won't get 42 messages

0.0.9-beta

  • has encrypted group chat. A wiki page with info on how to use this feature is found here. This implements the new proposed NIP 38

0.0.8a-beta

  • can delete channel posts
  • fixed translate crash ( bug fix)
  • create channels
  • channels messages do print date (bug fix)
  • expand mentions in incoming direct messages

0.0.7a-beta

  • previous version is not fetching contact list. fixed that.
  • improved direct chats overview printing

0.0.7-beta

  • private encrypted direct message support, both read and send/write. Can send DM to self too.
  • direct messages overview and public channels overview are sorted by latest message recieved
  • improved display of Social network by adding boxes at ends of a thread
  • faster screen printing in SN
  • fetched individual events so less events are missed
  • support for delete kind 5 event which can be used to delete any of your event
  • the reaction ! hides any comment ( to be proposed to NIP)
  • added color option in arguments. Colored names of users.
  • French is translated with other non-Latin languages
  • Github workflow added with name 'dart' which automatically builds binaries
  • added --difficulty option, maximum value 24 bits
  • writing only new events to file. Speeds up exit a lot.
  • added --overwrite option to force write file

Older releases

version 0.0.6-beta features added

  • 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 added

  • 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

Known issues

  • comment can't be more than 255 chars in Windows
  • Some non-latin comments are still not getting published.
  • smiley like ¯_(ツ)_/¯ cannot be sent

Usage


usage: nostr_console [OPTIONS] 

  OPTIONS

      -p, --pubkey  <public key>    The hex public key of user whose events and feed are shown. Default is a hard-coded
                                    public key derived from a well known private key. When given, posts/replies can't be sent. 
      -k, --prikey  <private key>   The hex private key of user whose events and feed are shown. Also used to sign events 
                                    sent. Default is same-as-above hard-coded well known private key. 
      -r, --relay   <relay wss url> The relay url that is used as main relay. Default is wss://nostr-relay.untethr.me.
      -d, --days    <N as num>      The latest number of days for which events are shown. Default is 1.
      -q, --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.
      -f, --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).
      -s, --disable-file            When turned on, even the default file is not read from.
      -t, --translate               Translate some of the recent posts using Google translate site ( and not api). Google 
                                    is accessed for any translation request only if this flag is present, and not otherwise.
      -h, --help              Print this usage message and exit.
      -v, --version          Print version and exit.

      
  UI Options                                
      -a, --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. 
      -w, --width  <width as num>   This specifies how wide you want the text to be, in number of columns. Default is 100. 
                                    Cant be less than 60.
      -m, --maxdepth <depth as num> The maximum depth to which the threads can be displayed. Minimum is 2 and
                                    maximum allowed is 12. 
      -c, --color  <color>          Color option can be green, cyan, white, black, red and blue.

  Advanced
      -y, --difficulty <number>     The difficulty number in bits, only for kind 1 messages. Tne next larger number divisible by 4 is 
                                    taken as difficulty. Can't be more than 24 bits, because otherwise it typically takes too much 
                                    time. Minimum and default is 0, which means no difficulty.
      -e, --overwrite               Will over write the file with all the events that were read from file, and all newly received. Is
                                    useful when the file has to be cleared of old unused events. A backup should be made just in case
                                    of original file before invoking.

Nostr Console v0.1.9-beta: Encrypted channels use kind 104 and other changes

27 Nov 20:24
Compare
Choose a tag to compare

Binaries

All binaries built using Github workflow automatically

  • nostr_console_win64.zip this has a win64 executable file.
  • nostr_console_elf64.zip this has a elf 64 executable file, 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

Use all_nostr_events.txt ( zipped as rar) 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. The program creates such a file ( by saving all events into it) if you do not supply this file initially.

0.1.9-beta

  • Now encrypted groups use kind 104 to send shared secret. reference; Previous encrypted groups won't be seen with this version.
  • more support for Spanish and Portugese ( to english) translation
  • by default now program can be invoked without any argument, and it would allow user to see/read all public messages or posts
  • printed qr code in profile display
  • other bug fixes

after tagging

  • fixed issue with channel creation and addition of members

0.1.8-beta

  • New menu system for the 'social network' - now it gets its own full menu

2022-11-24 (10)

0.1.7-beta

  • put delay after sending kind 1 so that it makes (more) sure they reach the relay
  • improved url breaking vis a vis #, $ and other chars
  • improved info printed when more than one account is listed ( for ex when checking profile)

0.1.6-beta

  • support for reply to specific message ( using /reply id message) in encrypted group chat on lines of public group chats
  • quoted mentions of events a la NIP 8 (issue 30)
  • fix: even if a user does not have a kind 0 event, even then their profile can now be seen.
  • fix: newer nip 05 info will correctly supersede info of older one

0.1.5-beta

  • better NIP 10 support by improved how reply/root tags are handled and threads created
  • added support for double qoutes ( now one can write double quotes) by escaping them as needed
  • more support for nip05 - now it can be mentioned when editing profile
  • changed setting so that only 2 relays are queried now. and fewer events are received ( 2500 each with each non-first invocation. First time 30k events are received and saved into file)
  • enabled --relay argument
  • print all verified in menu 6 -> 9
  • test for checking valid dm's to fix a bug where a DM to/from a pubkey with too many zeros was crashing the app (bug fix)

0.1.4-beta

  • NIP 05 support. Whether user has NIP05 verification is shown in their full profile. Its mentioned when multiple pubkeys are displayed when searching for user names.
  • Support for heart and another positive emoji ( two hands together)

0.1.3-beta

  • screen cleared after most menus, where appropriate. Screen cleared by printing 20+ newlines, so old history is still there.
  • horizontal menus for better screen space use
  • other UI improvements like better printing of channel overview

0.1.2-beta

  • update your own profile - kind 0 message support.
  • url's aren't cut when displayed so that they can be clicked
  • menus are made horizontal to save screen space ( testing)
  • if comment replies to a non kind-1 message like reaction, it gest printed

changes after tag

  • added clear screen after most menus specially public channel menu.

0.1.1-beta

  • reply to specific messages in public groups

0.1.0-beta

  • improved display of encrypted and public channels
  • x exits from any menu
  • improved speed by keeping only latest 20 days events
  • added delay when sending group and direct messages to ensure delivery

after tag

  • fix for channel overview out of range crash
  • 442/42 issue which won't get 42 messages

0.0.9-beta

  • has encrypted group chat. A wiki page with info on how to use this feature is found here. This implements the new proposed NIP 38

0.0.8a-beta

  • can delete channel posts
  • fixed translate crash ( bug fix)
  • create channels
  • channels messages do print date (bug fix)
  • expand mentions in incoming direct messages

0.0.7a-beta

  • previous version is not fetching contact list. fixed that.
  • improved direct chats overview printing

0.0.7-beta

  • private encrypted direct message support, both read and send/write. Can send DM to self too.
  • direct messages overview and public channels overview are sorted by latest message recieved
  • improved display of Social network by adding boxes at ends of a thread
  • faster screen printing in SN
  • fetched individual events so less events are missed
  • support for delete kind 5 event which can be used to delete any of your event
  • the reaction ! hides any comment ( to be proposed to NIP)
  • added color option in arguments. Colored names of users.
  • French is translated with other non-Latin languages
  • Github workflow added with name 'dart' which automatically builds binaries
  • added --difficulty option, maximum value 24 bits
  • writing only new events to file. Speeds up exit a lot.
  • added --overwrite option to force write file

Older releases

version 0.0.6-beta features added

  • 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 added

  • 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

Known issues

  • comment can't be more than 255 chars in Windows
  • Some non-latin comments are still not getting published.
  • smiley like ¯_(ツ)_/¯ cannot be sent

Usage


usage: nostr_console [OPTIONS] 

  OPTIONS

      -p, --pubkey  <public key>    The hex public key of user whose events and feed are shown. Default is a hard-coded
                                    public key derived from a well known private key. When given, posts/replies can't be sent. 
      -k, --prikey  <private key>   The hex private key of user whose events and feed are shown. Also used to sign events 
                                    sent. Default is same-as-above hard-coded well known private key. 
      -r, --relay   <relay wss url> The relay url that is used as main relay. Default is wss://nostr-relay.untethr.me.
      -d, --days    <N as num>      The latest number of days for which events are shown. Default is 1.
      -q, --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.
      -f, --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).
      -s, --disable-file            When turned on, even the default file is not read from.
      -t, --translate               Translate some of the recent posts using Google translate site ( and not api). Google 
                                    is accessed for any translation request only if this flag is present, and not otherwise.
      -h, --help              Print this usage message and exit.
      -v, --version          Print version and exit.

      
  UI Options                                
      -a, --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. 
      -w, --width  <width as num>   This specifies how wide you want the text to be, in number of columns. Default is 100. 
                                    Cant be less than 60.
      -m, --maxdepth <depth as num> The maximum depth to which the threads can be displayed. Minimum is 2 and
                                    maximum allowed is 12. 
      -c, --color  <color>          Color option can be green, cyan, white, black, red and blue.

  Advanced
      -y, --difficulty <number>     The difficulty number in bits, only for kind 1 messages. Tne next larger number divisible by 4 is 
                                    taken as difficulty. Can't be more than 24 bits, because otherwise it typically takes too much 
                                    time. Minimum and default is 0, which means no difficulty.
      -e, --overwrite               Will over write the file with all the events that were read from file, and all newly received. Is
                                    useful when the file has to be cleared of old unused events. A backup should be made just in case
                                    of original file before invoking.

Nostr Console v0.1.8-beta: New menu system for social network

24 Nov 15:37
Compare
Choose a tag to compare

Binaries

All binaries built using Github workflow automatically

  • nostr_console_win64.zip this has a win64 executable file.
  • nostr_console_elf64.zip this has a elf 64 executable file, 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

Use all_nostr_events.txt ( zipped as rar) 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. The program creates such a file ( by saving all events into it) if you do not supply this file initially.

0.1.8-beta

  • New menu system for the 'social network' - now it gets its own full menu

2022-11-24 (10)

0.1.7-beta

  • put delay after sending kind 1 so that it makes (more) sure they reach the relay
  • improved url breaking vis a vis #, $ and other chars
  • improved info printed when more than one account is listed ( for ex when checking profile)

0.1.6-beta

  • support for reply to specific message ( using /reply id message) in encrypted group chat on lines of public group chats
  • quoted mentions of events a la NIP 8 (issue 30)
  • fix: even if a user does not have a kind 0 event, even then their profile can now be seen.
  • fix: newer nip 05 info will correctly supersede info of older one

0.1.5-beta

  • better NIP 10 support by improved how reply/root tags are handled and threads created
  • added support for double qoutes ( now one can write double quotes) by escaping them as needed
  • more support for nip05 - now it can be mentioned when editing profile
  • changed setting so that only 2 relays are queried now. and fewer events are received ( 2500 each with each non-first invocation. First time 30k events are received and saved into file)
  • enabled --relay argument
  • print all verified in menu 6 -> 9
  • test for checking valid dm's to fix a bug where a DM to/from a pubkey with too many zeros was crashing the app (bug fix)

0.1.4-beta

  • NIP 05 support. Whether user has NIP05 verification is shown in their full profile. Its mentioned when multiple pubkeys are displayed when searching for user names.
  • Support for heart and another positive emoji ( two hands together)

0.1.3-beta

  • screen cleared after most menus, where appropriate. Screen cleared by printing 20+ newlines, so old history is still there.
  • horizontal menus for better screen space use
  • other UI improvements like better printing of channel overview

0.1.2-beta

  • update your own profile - kind 0 message support.
  • url's aren't cut when displayed so that they can be clicked
  • menus are made horizontal to save screen space ( testing)
  • if comment replies to a non kind-1 message like reaction, it gest printed

changes after tag

  • added clear screen after most menus specially public channel menu.

0.1.1-beta

  • reply to specific messages in public groups

0.1.0-beta

  • improved display of encrypted and public channels
  • x exits from any menu
  • improved speed by keeping only latest 20 days events
  • added delay when sending group and direct messages to ensure delivery

after tag

  • fix for channel overview out of range crash
  • 442/42 issue which won't get 42 messages

0.0.9-beta

  • has encrypted group chat. A wiki page with info on how to use this feature is found here. This implements the new proposed NIP 38

0.0.8a-beta

  • can delete channel posts
  • fixed translate crash ( bug fix)
  • create channels
  • channels messages do print date (bug fix)
  • expand mentions in incoming direct messages

0.0.7a-beta

  • previous version is not fetching contact list. fixed that.
  • improved direct chats overview printing

0.0.7-beta

  • private encrypted direct message support, both read and send/write. Can send DM to self too.
  • direct messages overview and public channels overview are sorted by latest message recieved
  • improved display of Social network by adding boxes at ends of a thread
  • faster screen printing in SN
  • fetched individual events so less events are missed
  • support for delete kind 5 event which can be used to delete any of your event
  • the reaction ! hides any comment ( to be proposed to NIP)
  • added color option in arguments. Colored names of users.
  • French is translated with other non-Latin languages
  • Github workflow added with name 'dart' which automatically builds binaries
  • added --difficulty option, maximum value 24 bits
  • writing only new events to file. Speeds up exit a lot.
  • added --overwrite option to force write file

Older releases

version 0.0.6-beta features added

  • 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 added

  • 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

Known issues

  • comment can't be more than 255 chars in Windows
  • Some non-latin comments are still not getting published.
  • smiley like ¯_(ツ)_/¯ cannot be sent

Usage


usage: nostr_console [OPTIONS] 

  OPTIONS

      -p, --pubkey  <public key>    The hex public key of user whose events and feed are shown. Default is a hard-coded
                                    public key derived from a well known private key. When given, posts/replies can't be sent. 
      -k, --prikey  <private key>   The hex private key of user whose events and feed are shown. Also used to sign events 
                                    sent. Default is same-as-above hard-coded well known private key. 
      -r, --relay   <relay wss url> The relay url that is used as main relay. Default is wss://nostr-relay.untethr.me.
      -d, --days    <N as num>      The latest number of days for which events are shown. Default is 1.
      -q, --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.
      -f, --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).
      -s, --disable-file            When turned on, even the default file is not read from.
      -t, --translate               Translate some of the recent posts using Google translate site ( and not api). Google 
                                    is accessed for any translation request only if this flag is present, and not otherwise.
      -h, --help              Print this usage message and exit.
      -v, --version          Print version and exit.

      
  UI Options                                
      -a, --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. 
      -w, --width  <width as num>   This specifies how wide you want the text to be, in number of columns. Default is 100. 
                                    Cant be less than 60.
      -m, --maxdepth <depth as num> The maximum depth to which the threads can be displayed. Minimum is 2 and
                                    maximum allowed is 12. 
      -c, --color  <color>          Color option can be green, cyan, white, black, red and blue.

  Advanced
      -y, --difficulty <number>     The difficulty number in bits, only for kind 1 messages. Tne next larger number divisible by 4 is 
                                    taken as difficulty. Can't be more than 24 bits, because otherwise it typically takes too much 
                                    time. Minimum and default is 0, which means no difficulty.
      -e, --overwrite               Will over write the file with all the events that were read from file, and all newly received. Is
                                    useful when the file has to be cleared of old unused events. A backup should be made just in case
                                    of original file before invoking.

Nostr Console v0.1.7-beta: Fix so that kind 1 messages are delivered properly

23 Nov 18:58
Compare
Choose a tag to compare

Binaries

All binaries built using Github workflow automatically

  • nostr_console_win64.zip this has a win64 executable file.
  • nostr_console_elf64.zip this has a elf 64 executable file, 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

Use all_nostr_events.txt ( zipped as rar) 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. The program creates such a file ( by saving all events into it) if you do not supply this file initially.

0.1.7-beta

  • put delay after sending kind 1 so that it makes (more) sure they reach the relay
  • improved url breaking vis a vis #, $ and other chars
  • improved info printed when more than one account is listed ( for ex when checking profile)

0.1.6-beta

  • support for reply to specific message ( using /reply id message) in encrypted group chat on lines of public group chats
  • quoted mentions of events a la NIP 8 (issue 30)
  • fix: even if a user does not have a kind 0 event, even then their profile can now be seen.
  • fix: newer nip 05 info will correctly supersede info of older one

0.1.5-beta

  • better NIP 10 support by improved how reply/root tags are handled and threads created
  • added support for double qoutes ( now one can write double quotes) by escaping them as needed
  • more support for nip05 - now it can be mentioned when editing profile
  • changed setting so that only 2 relays are queried now. and fewer events are received ( 2500 each with each non-first invocation. First time 30k events are received and saved into file)
  • enabled --relay argument
  • print all verified in menu 6 -> 9
  • test for checking valid dm's to fix a bug where a DM to/from a pubkey with too many zeros was crashing the app (bug fix)

0.1.4-beta

  • NIP 05 support. Whether user has NIP05 verification is shown in their full profile. Its mentioned when multiple pubkeys are displayed when searching for user names.
  • Support for heart and another positive emoji ( two hands together)

0.1.3-beta

  • screen cleared after most menus, where appropriate. Screen cleared by printing 20+ newlines, so old history is still there.
  • horizontal menus for better screen space use
  • other UI improvements like better printing of channel overview

0.1.2-beta

  • update your own profile - kind 0 message support.
  • url's aren't cut when displayed so that they can be clicked
  • menus are made horizontal to save screen space ( testing)
  • if comment replies to a non kind-1 message like reaction, it gest printed

changes after tag

  • added clear screen after most menus specially public channel menu.

0.1.1-beta

  • reply to specific messages in public groups

0.1.0-beta

  • improved display of encrypted and public channels
  • x exits from any menu
  • improved speed by keeping only latest 20 days events
  • added delay when sending group and direct messages to ensure delivery

after tag

  • fix for channel overview out of range crash
  • 442/42 issue which won't get 42 messages

0.0.9-beta

  • has encrypted group chat. A wiki page with info on how to use this feature is found here. This implements the new proposed NIP 38

0.0.8a-beta

  • can delete channel posts
  • fixed translate crash ( bug fix)
  • create channels
  • channels messages do print date (bug fix)
  • expand mentions in incoming direct messages

0.0.7a-beta

  • previous version is not fetching contact list. fixed that.
  • improved direct chats overview printing

0.0.7-beta

  • private encrypted direct message support, both read and send/write. Can send DM to self too.
  • direct messages overview and public channels overview are sorted by latest message recieved
  • improved display of Social network by adding boxes at ends of a thread
  • faster screen printing in SN
  • fetched individual events so less events are missed
  • support for delete kind 5 event which can be used to delete any of your event
  • the reaction ! hides any comment ( to be proposed to NIP)
  • added color option in arguments. Colored names of users.
  • French is translated with other non-Latin languages
  • Github workflow added with name 'dart' which automatically builds binaries
  • added --difficulty option, maximum value 24 bits
  • writing only new events to file. Speeds up exit a lot.
  • added --overwrite option to force write file

Older releases

version 0.0.6-beta features added

  • 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 added

  • 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

Known issues

  • comment can't be more than 255 chars in Windows
  • Some non-latin comments are still not getting published.
  • smiley like ¯_(ツ)_/¯ cannot be sent

Usage


usage: nostr_console [OPTIONS] 

  OPTIONS

      -p, --pubkey  <public key>    The hex public key of user whose events and feed are shown. Default is a hard-coded
                                    public key derived from a well known private key. When given, posts/replies can't be sent. 
      -k, --prikey  <private key>   The hex private key of user whose events and feed are shown. Also used to sign events 
                                    sent. Default is same-as-above hard-coded well known private key. 
      -r, --relay   <relay wss url> The relay url that is used as main relay. Default is wss://nostr-relay.untethr.me.
      -d, --days    <N as num>      The latest number of days for which events are shown. Default is 1.
      -q, --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.
      -f, --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).
      -s, --disable-file            When turned on, even the default file is not read from.
      -t, --translate               Translate some of the recent posts using Google translate site ( and not api). Google 
                                    is accessed for any translation request only if this flag is present, and not otherwise.
      -h, --help              Print this usage message and exit.
      -v, --version          Print version and exit.

      
  UI Options                                
      -a, --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. 
      -w, --width  <width as num>   This specifies how wide you want the text to be, in number of columns. Default is 100. 
                                    Cant be less than 60.
      -m, --maxdepth <depth as num> The maximum depth to which the threads can be displayed. Minimum is 2 and
                                    maximum allowed is 12. 
      -c, --color  <color>          Color option can be green, cyan, white, black, red and blue.

  Advanced
      -y, --difficulty <number>     The difficulty number in bits, only for kind 1 messages. Tne next larger number divisible by 4 is 
                                    taken as difficulty. Can't be more than 24 bits, because otherwise it typically takes too much 
                                    time. Minimum and default is 0, which means no difficulty.
      -e, --overwrite               Will over write the file with all the events that were read from file, and all newly received. Is
                                    useful when the file has to be cleared of old unused events. A backup should be made just in case
                                    of original file before invoking.