32 Commits

Author SHA1 Message Date
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
ba1edf7dbf escaped " so it can be written in comment 2022-08-22 04:44:29 +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
6ee59e0e9a printed number of trees displayed. added option to change number of days dispayed 2022-08-19 11:51:46 +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
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
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
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
bcf023e156 separated files into two - events and tree 2022-08-16 04:53:42 +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
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
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
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
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
vishalxl
1ac279d6d7 removed duplicate requests for a user. Formatted message so its aligned at its place 2022-08-07 20:23:19 +05:30
vishalxl
78462f257d added a test, which will be used to test the proper creation of tree from event list, which is not yet done 2022-08-06 22:44:28 +05:30
vishalxl
f0156c3bae received events for ptags/mentions. Then removed duplicate events received. 2022-07-31 23:29:47 +05:30
vishalxl
f19135bfa2 sorted trees, and formatting changes 2022-07-31 21:36:50 +05:30
vishalxl
2e18ca8632 Added Tree and printed it from former EventNode 2022-07-30 23:16:39 +05:30
vishalxl
9c8d0c0af2 added mention of relay for an event, also printed it 2022-07-27 21:17:31 +05:30
vishalxl
24dfe80679 gets users posts and feed. has some issues, exceptions are not handled 2022-07-10 21:43:10 +05:30