68 Commits

Author SHA1 Message Date
Vishal
cb24f7e2bf added since in request to relays, for 120 days before now.
comments created in last 120 days are requested only.
2022-08-28 06:38:38 +05:30
Vishal
01b5b82228 used unique names for subscription strings, used set of events rather than list, and called multiple relays for third call in main 2022-08-28 05:33:01 +05:30
Vishal
075894541d translated for just 1 day rather than 4 for faster access 2022-08-27 19:33:50 +05:30
Vishal
2796930cb2 fixed tag logic for client tag; other minor changes including basic test for French 2022-08-27 16:26:45 +05:30
Vishal
1f09d44538 improved color logic so that notification color remains different than text color 2022-08-27 13:58:53 +05:30
Vishal
a09c046787 Added color option and made file as default of name all_nostr_events.txt which can be disabled with --disable-file 2022-08-27 13:28:36 +05:30
vishalxl
5a86a0e663 improved processReaction so double reactions aren't printed, only 1 as needed for each reaction 2022-08-27 03:25:47 +05:30
vishalxl
6515958cd8 fixed json decode issue. added more profile info including distance. added search by client 2022-08-26 12:41:30 +05:30
vishalxl
58d605470f improved logic in case terminal width is less than 120 etc 2022-08-26 00:40:48 +05:30
vishalxl
6057e16005 invoked more relays. NIP not followed yet tho. Printed info for application through menu 2022-08-26 00:05:07 +05:30
vishalxl
8264e9acb0 user can now add a contact, kind 3 event is broadcast in that case 2022-08-25 18:33:29 +05:30
vishalxl
94c21342d1 improved isLatin function by considering whitespace too 2022-08-25 02:30:05 +05:30
vishalxl
10bc0d187b channel menu and comments; contact update halfway done; created settings.dart file with all settings 2022-08-24 22:07:03 +05:30
vishalxl
3f80520c0c added --translate flag, so translation is only done when its enabled. called expand/translate for new events too 2022-08-23 16:47:24 +05:30
vishalxl
0da2278ea3 implemented nip 10 by adding a global contact list, and using it to get the e relay tag info, and adding a p tag to all replies 2022-08-22 04:06:18 +05:30
vishalxl
5fecdada18 sorted threads according to the newest post/reply in them. loaded file events even for --request argument case. 2022-08-22 02:19:17 +05:30
vishalxl
57ef23d232 no functional change 2022-08-21 00:23:53 +05:30
vishalxl
d4cc9fbcae added support for reading and writing events from/to a file with command line argument. Display and other improvements: printed user logged in for information. 2022-08-21 00:11:50 +05:30
vishalxl
2c37201185 added method to write events in file. not used. 2022-08-20 00:53:33 +05:30
vishalxl
c2fb18f4bd ignored duplicate events at relay itself by adding a set of id's in relays. Improved get multiple user events by breaking down request for multiple authors into smaller requests 2022-08-19 23:01:22 +05:30
vishalxl
8bf61d346d formatting changes, and improved mentions logic when displaying 2022-08-19 21:22:16 +05:30
vishalxl
80eb7d8bfd caught exception on terminal size when run under git bash. 2022-08-19 12:39:30 +05:30
vishalxl
cb0baaa4f2 blocked social relay that was not returning events. separated console_ui.dart into separate file. printed total messages in menu 2022-08-19 05:19:47 +05:30
vishalxl
d51af83efb added other options which shows contact list 2022-08-19 00:17:41 +05:30
vishalxl
dc7ddaffb1 added pubkey and maxdepth arguments. Fixed so that re-shifting of thread to left shows where the reshifting part ends 2022-08-19 00:04:41 +05:30
vishalxl
bf734a3d92 minor improvement in re alignment logic 2022-08-18 19:09:20 +05:30
vishalxl
52b52cfe05 fixed some minor issue with left margin calculation 2022-08-18 18:58:14 +05:30
vishalxl
f7b78aa171 added options align and width, which control display. now text can be left or center aligned. default is center. fixed issue with dashes when re-aligning tree 2022-08-18 18:34:37 +05:30
vishalxl
32192ddf94 no functional change. formatting 2022-08-18 05:42:22 +05:30
vishalxl
42111a7569 improved logic that new event are not printed twice 2022-08-17 23:13:48 +05:30
vishalxl
ee35160fec added notification in color cyan for the event by adding a flag and using it in EventData 2022-08-17 22:34:20 +05:30
vishalxl
dd5b80e2ab printed notifications: threads with new replies are printed from their topmost comment 2022-08-17 05:51:48 +05:30
vishalxl
605fce8f63 separated tree into separate file. changed logic so that when doing a reply, the latest comment with matching id-prefix is replied to. this allows for short id-prefixes to be used 2022-08-16 16:08:33 +05:30
vishalxl
e91414a60b version number to 0.0.2 and changed interface so that tree is displayed before menu now 2022-08-16 05:39:44 +05:30
vishalxl
af9dadd4b9 improved menu a bit 2022-08-16 05:13:40 +05:30
vishalxl
bcf023e156 separated files into two - events and tree 2022-08-16 04:53:42 +05:30
vishalxl
56ce55d261 added bitcoin_bot to blocked bots. left shifted the thread if it becomes to deep for better ui 2022-08-15 17:58:33 +05:30
vishalxl
61d8faab38 caught exception when parsing arguments. 2022-08-14 00:48:19 +05:30
vishalxl
53303b075d validated input where invalid number is entered in menu() 2022-08-14 00:17:09 +05:30
vishalxl
1d21ce6679 minor improvements, including in printing usage 2022-08-14 00:03:54 +05:30
vishalxl
43722efa70 added usage string and other minor improvements 2022-08-13 21:40:39 +05:30
vishalxl
9738244d44 removed fetch events option. can reply to posts, and create new post from cmd 2022-08-13 20:31:00 +05:30
vishalxl
b457016a3f added menu support. and posting of message using throwaway hard-coded pubkey. git bash is not giving input readline, but works on win cmd 2022-08-13 18:50:07 +05:30
vishalxl
9b215038b5 increased delay to get more messages. improved mention formatting a bit 2022-08-12 17:49:45 +05:30
vishalxl
56b44cb82a added --relay option 2022-08-12 03:12:33 +05:30
vishalxl
31228e5561 added --days options, which controls how many recent days of posts are shown, default value is 3 days. This reduces clutter on output 2022-08-11 02:36:38 +05:30
vishalxl
a43acbee21 improved time display 2022-08-10 21:58:04 +05:30
vishalxl
57a0838dd4 minor printing changes 2022-08-10 16:56:38 +05:30
vishalxl
03d898877f added option for --user or -u <public id> which fetches results for the given user public id 2022-08-10 05:41:07 +05:30
vishalxl
23005cb488 improved kind 3 processing so the latest list is considered. other improvements and tested for multiple users. 2022-08-10 00:01:48 +05:30