Commit Graph

18 Commits

Author SHA1 Message Date
fiatjaf
fd5cd55f6f replace encoding/json with json-iterator everywhere so we get rid of HTML encoding and maybe be faster. 2024-12-03 00:43:52 -03:00
redraw
932361fe8f fix(decode): handle event id flag 2024-12-02 10:25:38 -03:00
redraw
7033bfee19 fix(decode): handle pubkey flag 2024-12-02 09:11:19 -03:00
fiatjaf
2b5f3355bc use a single global sdk.System and its Pool. 2024-09-17 11:33:02 -03:00
fiatjaf
88a07a3504 update go-nostr and nostr-sdk to fix bad nevent/naddr parsing bug. 2024-09-05 14:43:34 -03:00
fiatjaf
c90e61dbec set .DisableSliceFlagSeparator to true.
fixes nostr:nevent1qqs9qwgwnr2rzguzrgt99hhhyv8e84mcdr4mnk86uvm6ndjvzl4rjxqpzpmhxue69uhkztnwdaejumr0dshsz9mhwden5te0vf5hgcm0d9hx2u3wwdhkx6tpdshszxnhwden5te0vfhhxarj9ekx2cm5w4exjene9ehx2ap0j8u0fj
2024-08-07 11:46:08 -03:00
fiatjaf
928c73513c just move imports around. 2024-07-30 11:43:14 -03:00
fiatjaf
220fe84f1b hardcode our fork of urfave/cli because go is stupid.
fixes https://github.com/fiatjaf/nak/issues/26
2024-07-23 15:23:13 -03:00
fiatjaf
316d94166e fix lineProcessingError() -- it wasn't returning a ctx so it was a noop. 2024-07-11 15:33:44 -03:00
fiatjaf
dba2ed0b5f update to cli v3. 2024-06-25 22:18:26 -03:00
fiatjaf
569d38a137
accept multiple arguments in many commands, add a lot of more tests. 2024-03-19 11:34:59 -03:00
mattn
01e1f52a70
fix panic (#12)
* c.Args().Len() - 1 might be negative value

* fix getStdinLinesOrFirstArgument

* fix getStdinLinesOrFirstArgument
2024-02-03 10:03:32 -03:00
fiatjaf
14b69f36cf
-q to silence stderr, -qq to silence everything. 2024-01-24 22:38:51 -03:00
fiatjaf
714d65312c
support multiline stdin on decode, encode and fetch, and improve the helpers. 2023-11-08 12:50:36 -03:00
fiatjaf
5722061bf3
update go-nostr and sdk to standalone module. 2023-11-08 00:13:28 -03:00
fiatjaf
dbccf720af
"nak req" can now connect to relays and fetch events. 2023-05-23 15:57:03 -03:00
fiatjaf
d6ab152867
support nostr: prefix. 2023-05-04 08:53:43 -03:00
fiatjaf
6c97f12418
nak decode 2023-05-04 08:45:48 -03:00