Commit Graph

255 Commits

Author SHA1 Message Date
fiatjaf
e507d90766
beginnings of some humble tests. 2023-11-08 22:26:41 -03:00
fiatjaf
d95b6f50ff
--prompt-sec for getting a secret key from a prompt. 2023-11-08 14:26:25 -03:00
fiatjaf
200e4e61f7
add a more complex example of fetching subnotes to readme. 2023-11-08 12:56:38 -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
6f72d3c133
fix pipe check. 2023-11-07 23:51:07 -03:00
fiatjaf
78932833df
support running nak with multiple lines of stdin sequentially. 2023-11-07 23:43:37 -03:00
fiatjaf_
31b42c3499
public domain license. 2023-11-04 08:02:34 -03:00
fiatjaf
7bce92f56d
nak verify 2023-11-02 08:10:29 -03:00
fiatjaf
be8e3dfb39
tweak gh actions build settings. 2023-11-02 08:10:29 -03:00
Bitkarrot
e681ad87cd
fix install instructions (#5) 2023-10-30 22:53:08 -03:00
fiatjaf
9e5e736395
update readme with some helpful examples instead of a giant wall of text. 2023-10-29 23:39:52 -03:00
fiatjaf
c5573410df
move nak-web into a separate repository. 2023-10-29 23:39:52 -03:00
fiatjaf
85d658bdd4
github action to publish the cli binaries. 2023-10-29 23:15:04 -03:00
fiatjaf
bf966b3e2c
nak event can take (and optionally modify) events from stdin. 2023-10-29 21:48:18 -03:00
fiatjaf
0615a8b577
nak req can take (and optionally modify) filters from stdin. 2023-10-29 19:11:35 -03:00
fiatjaf
c6e9fdd053
trim spaces from stdin. 2023-10-23 08:04:28 -03:00
fiatjaf
50dde2117c
don't fail encode when reading from stdin because of the number of arguments. 2023-10-23 08:04:21 -03:00
fiatjaf
ffa41046fd
fetch with optional --relay flags. 2023-10-20 21:01:11 -03:00
fiatjaf
757a6eb313
support fetch npub 2023-10-20 20:57:41 -03:00
fiatjaf
208d909727
support reading from stdin. 2023-10-20 20:57:29 -03:00
fiatjaf
459b127988
fetch: use relay hints from author pubkeys. 2023-10-15 09:22:45 -03:00
fiatjaf
db157e6181
fetch method to fetch events from nip19 codes and relay hints. 2023-10-15 09:18:23 -03:00
fiatjaf
ada76f281a
add encode note. 2023-10-10 11:29:06 -03:00
fiatjaf
455ec79e58
NIP-50 search filter on req. 2023-10-08 15:49:11 -03:00
fiatjaf
8d111e556e
count uses all relays again, now correctly. 2023-10-08 15:31:20 -03:00
fiatjaf
e4a9b3ccc7
fix count again, it was sending REQs instead of COUNTs to relays. only use the first relay. 2023-10-08 15:05:51 -03:00
fiatjaf
3896ef323b
update go-nostr dependency. 2023-10-08 14:47:45 -03:00
fiatjaf
c214513304
improve count. 2023-10-08 14:40:46 -03:00
Yasuhiro Matsumoto
6ccca357e2 support NIP-45 COUNT 2023-08-23 12:50:23 -03:00
fiatjaf
f9cf01b48b
do target validation on a case-by-case basis and don't validate empty -author on nevent. 2023-07-08 20:52:50 -03:00
fiatjaf
fb7c49bb5c
add nak encode to readme. 2023-07-05 15:05:09 -03:00
fiatjaf
4ad0769a62
add encode command with support for all the nip19 things. 2023-07-05 15:03:26 -03:00
fiatjaf
3ace11d7b2
support --nson flag on event. 2023-07-05 14:11:15 -03:00
fiatjaf
194e94ec9a
update go-nostr for OK-related security fix. 2023-06-26 21:05:01 -03:00
fiatjaf
2b2018b742
allow extra tag elements on event creation, separated by ";" 2023-06-26 20:52:12 -03:00
fiatjaf
30c8eb83b2
rename editable to selectable. 2023-06-20 15:33:29 -03:00
fiatjaf
015cfd857c
print naddr if parsed event is replaceable. 2023-06-20 15:31:53 -03:00
fiatjaf
4e5f7e6d21
print naddr when given an "a" tag. 2023-06-20 15:21:25 -03:00
fiatjaf
fb9faf24ae
mention that the "d" tag is the identifier. 2023-06-20 14:52:03 -03:00
fiatjaf
76ca99a73b
clicking on edit button to fill in the input. 2023-06-20 14:49:56 -03:00
fiatjaf
7890466783
removing relay hints. 2023-06-20 11:57:01 -03:00
fiatjaf
ba2d86ca33
each relay hint in a separate component. 2023-06-20 11:48:50 -03:00
fiatjaf
dff57c207e
accept tags with keys of any length. 2023-06-07 07:02:38 -03:00
fiatjaf
c3777abd81
fix "if this is a private key" section. 2023-06-02 09:04:25 -03:00
fiatjaf
746a13861d
update go-nostr so subscriptions can end. 2023-05-30 17:51:40 -03:00
fiatjaf
bd7b22c4ff
cancel publish context after 10 seconds. 2023-05-30 13:43:57 -03:00
fiatjaf
01b30b49de
update example usage on readme. 2023-05-23 23:31:43 -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