66 Commits

Author SHA1 Message Date
vishalxl
d51af83efb added other options which shows contact list v0.0.2.1 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
Vishal
148527c7d6
Update README.md 2022-08-18 18:40:07 +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
3c9110b539 printed the events whose parents are not known, so that they are printed with a dummy event as parent 2022-08-18 16:49:30 +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
Vishal
8307de4bf1
added screenshot 2022-08-16 05:31:16 +05:30
vishalxl
af9dadd4b9 improved menu a bit v0.0.2 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
7c24a9f9b7 Merge branch 'main' of https://github.com/vishalxl/nostr_console v0.0.1 2022-08-14 00:48:41 +05:30
vishalxl
61d8faab38 caught exception when parsing arguments. 2022-08-14 00:48:19 +05:30
Vishal
fd468d26e9
Update README.md 2022-08-14 00:20:52 +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
0a97377f44 fixed time duration in test with a workaround 2022-08-12 18:12:54 +05:30
vishalxl
a3221ab0e4 removed unused code in Tree::fromEvents() constructor. no functional change. 2022-08-12 18:09:39 +05:30
vishalxl
9b215038b5 increased delay to get more messages. improved mention formatting a bit 2022-08-12 17:49:45 +05:30
vishalxl
f1d9968140 added minimal support for mentions. not tested properly 2022-08-12 04:19:30 +05:30
vishalxl
56b44cb82a added --relay option 2022-08-12 03:12:33 +05:30
Vishal
3a9fa74972
Update README.md 2022-08-12 03:10:27 +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
8280785a4e changed formatting; improved date display format 2022-08-10 17:42: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
vishalxl
7ff49f7142 invoked multiple user request for rest of events too, for ptag mentions 2022-08-09 19:33:52 +05:30
vishalxl
d6f4e2671c combined requests for multiple users. improves response from relays. 2022-08-09 19:26:15 +05:30
vishalxl
93f08f4cf5 minor time delay 2022-08-09 18:33:44 +05:30
vishalxl
7bc148fd4e ignored one bot by adding a global list of bot id's 2022-08-08 16:44:42 +05:30
vishalxl
0d07600066 added nostr-relay.untethr.me as default relay rather than onsats, which returns lot more messages. and fixed some small old issues exposed such messages 2022-08-08 15:47:49 +05:30
vishalxl
afe266f75a wait time change 2022-08-08 14:35:33 +05:30
vishalxl
900913743f formatting changes 2022-08-08 14:30:06 +05:30
vishalxl
db1ca73dd5 formatting changes, no functional changes 2022-08-08 14:23:17 +05:30
vishalxl
c20f24cf76 processed kind 0 events to populate a global name map, which is used to print user names. formatting changes too. 2022-08-08 14:05:25 +05:30
vishalxl
151d226caf no real change; code cleanup 2022-08-08 02:54:37 +05:30
vishalxl
de7e624fa3 Rather than WebSocket based on dart.io, used web_socket_channel , which is an official dart package for cross-platform WebSockets 2022-08-08 02:22:46 +05:30
Vishal
572d64aca7
added invocation 2022-08-07 23:11:48 +05:30
vishalxl
d36b6b51c7 added argument parsing, now a request string can be sent to a relay, and its results printed as tree 2022-08-07 23:08:47 +05:30