Commit Graph

26 Commits

Author SHA1 Message Date
Daniel Cadenas
f35cb4bd1d Fix tags with values containing = 2023-12-13 20:48:01 -03:00
fiatjaf
2d1e27f766
fix for nil error case on publish. 2023-12-10 20:49:08 -03:00
fiatjaf
b7b61c0723
support --auth/--sec/--prompt-sec on req. 2023-12-09 16:32:04 -03:00
fiatjaf
ed3156ae10
fix event publishing flow: no need to reconnect and AUTH messages make sense. 2023-12-09 09:14:45 -03:00
fiatjaf
30dbe2c1c0
fix handling multiple lines in event (broken in previous commit). 2023-12-07 18:14:26 -03:00
fiatjaf
4d75605c20
print event more consistently and auth when required and allowed. 2023-12-07 18:12:18 -03:00
fiatjaf
bc7cd0939c
nsecbunker work-in-progress. 2023-12-02 12:20:15 -03:00
fiatjaf
d9d36e7619
use easyjson and envelopes. 2023-11-28 15:18:43 -03:00
fiatjaf
f2f9dda33a
actually this is the fix. 2023-11-24 21:19:10 -03:00
fiatjaf
53cb2c0490
event: fix handling of -k and kind in stdin event, and default to 1. 2023-11-24 21:08:13 -03:00
fiatjaf
4a3c7dc825
remove extra whitespace on usage strings. 2023-11-20 15:01:53 -03:00
fiatjaf
8fbfdc65c8
add --silent global option to remove the stderr logs. 2023-11-13 15:03:27 -03:00
fiatjaf
11fe6b5809
connect to relays once per call instead of in each iteration and fail early if no connection works. 2023-11-13 14:57:35 -03:00
fiatjaf
6a7a5eb26e
fix bug with kind being set to zero and replaced silently. 2023-11-13 10:34:09 -03:00
fiatjaf
d95b6f50ff
--prompt-sec for getting a secret key from a prompt. 2023-11-08 14:26:25 -03:00
fiatjaf
78932833df
support running nak with multiple lines of stdin sequentially. 2023-11-07 23:43:37 -03:00
fiatjaf
bf966b3e2c
nak event can take (and optionally modify) events from stdin. 2023-10-29 21:48:18 -03:00
fiatjaf
3ace11d7b2
support --nson flag on event. 2023-07-05 14:11:15 -03:00
fiatjaf
2b2018b742
allow extra tag elements on event creation, separated by ";" 2023-06-26 20:52:12 -03:00
fiatjaf
dff57c207e
accept tags with keys of any length. 2023-06-07 07:02:38 -03:00
fiatjaf
bd7b22c4ff
cancel publish context after 10 seconds. 2023-05-30 13:43:57 -03:00
fiatjaf
9d4f1ec852
print the event before sending it to relays. 2023-05-23 23:31:31 -03:00
fiatjaf
88acf8ccda
update readme and help text. 2023-05-23 23:26:27 -03:00
fiatjaf
bbe4bfdaa0
nak event can also publish to relays directly. 2023-05-23 23:24:55 -03:00
fiatjaf
56f3539d06
nak event: fix created-at. 2023-05-03 19:49:07 -03:00
fiatjaf
2b08f66520
nak event 2023-05-03 18:14:06 -03:00