Commit Graph

  • 14b69f36cf -q to silence stderr, -qq to silence everything. fiatjaf 2024-01-24 22:38:51 -03:00
  • 3f7089e27e signal that we accept patches over NIP-34. fiatjaf 2024-01-23 10:20:44 -03:00
  • 6a75c8aec3 UseShortOptionHandling and Suggest fiatjaf 2024-01-21 18:11:52 -03:00
  • b17887fe21 replace validate32BytesHex() with native calls from go-nostr. fiatjaf 2024-01-21 07:45:22 -03:00
  • 77103cae0c req: -d flag too. fiatjaf 2024-01-17 08:50:59 -03:00
  • 59a2c16b42 event: -d shortcut flag and use .AppendUnique() fiatjaf 2024-01-17 08:47:51 -03:00
  • 48d19196bb fix publishing to multiple relays. v0.1.7 fiatjaf 2024-01-16 09:16:56 -03:00
  • ad7010e506 use scanner.Buffer() to make stdin able to parse hellish giant events up to 256kb (the default was 64kb). fiatjaf 2024-01-11 21:48:54 -03:00
  • 584881266e bunker: update to go-nostr nip46 api breaking change. fiatjaf 2024-01-11 21:41:50 -03:00
  • a30f422d7d close relay websockets cleanly. fiatjaf 2024-01-11 21:29:39 -03:00
  • 637b9440ef upgrade go-nostr and xsync. fiatjaf 2024-01-10 21:19:19 -03:00
  • 16c1e795bd fetch: more places to fetch relay lists from. v0.1.6 fiatjaf 2024-01-02 11:05:43 -03:00
  • 8373da647e Fix tags with values containing = OHASHI Hideya 2023-12-24 14:46:35 +09:00
  • f295f130f2 remove .scalafmt.conf fiatjaf 2023-12-23 21:30:49 -03:00
  • 5415fd369c update go-nostr to fix pool infinite loop. v0.1.5 fiatjaf 2023-12-15 11:15:12 -03:00
  • f35cb4bd1d Fix tags with values containing = v0.1.4 Daniel Cadenas 2023-12-13 19:31:52 -03:00
  • 242b028656 -until now v0.1.3 Yasuhiro Matsumoto 2023-12-12 21:34:50 +09:00
  • f0d90b567c -since now Yasuhiro Matsumoto 2023-12-12 21:30:04 +09:00
  • 2d1e27f766 fix for nil error case on publish. v0.1.2 fiatjaf 2023-12-10 20:49:08 -03:00
  • bfa72640cd bunker: a better prompt. v0.1.1 fiatjaf 2023-12-09 17:42:01 -03:00
  • e5b0b15908 bunker: improve error message. fiatjaf 2023-12-09 17:11:55 -03:00
  • 0860cfcf6d rename nsecbunker->bunker. fiatjaf 2023-12-09 16:37:47 -03:00
  • b7b61c0723 support --auth/--sec/--prompt-sec on req. v0.1.0 fiatjaf 2023-12-09 16:32:04 -03:00
  • ed3156ae10 fix event publishing flow: no need to reconnect and AUTH messages make sense. fiatjaf 2023-12-09 09:14:45 -03:00
  • 30dbe2c1c0 fix handling multiple lines in event (broken in previous commit). fiatjaf 2023-12-07 18:14:26 -03:00
  • 4d75605c20 print event more consistently and auth when required and allowed. fiatjaf 2023-12-07 18:12:12 -03:00
  • 26b1aa359a nsecbunker/nip46 is working now. fiatjaf 2023-12-02 15:32:40 -03:00
  • bc7cd0939c nsecbunker work-in-progress. fiatjaf 2023-12-02 12:18:55 -03:00
  • 5657fdc6a7 update go-nostr. fiatjaf 2023-12-01 13:22:04 -03:00
  • d9d36e7619 use easyjson and envelopes. fiatjaf 2023-11-28 15:18:43 -03:00
  • f2f9dda33a actually this is the fix. v0.0.18 fiatjaf 2023-11-24 21:19:10 -03:00
  • 53cb2c0490 event: fix handling of -k and kind in stdin event, and default to 1. v0.0.17 fiatjaf 2023-11-24 21:08:13 -03:00
  • 4a3c7dc825 remove extra whitespace on usage strings. v0.0.16 fiatjaf 2023-11-20 15:01:51 -03:00
  • 05f2275c9e nak relay fiatjaf 2023-11-20 15:00:50 -03:00
  • 082be94614 update go-nostr. fiatjaf 2023-11-19 07:20:52 -03:00
  • 15217f2466 fetch: fix handling of --relay tags. fiatjaf 2023-11-15 09:48:57 -03:00
  • 8fbfdc65c8 add --silent global option to remove the stderr logs. fiatjaf 2023-11-13 15:03:27 -03:00
  • 11fe6b5809 connect to relays once per call instead of in each iteration and fail early if no connection works. fiatjaf 2023-11-13 14:57:35 -03:00
  • 6a7a5eb26e fix bug with kind being set to zero and replaced silently. v0.0.15 fiatjaf 2023-11-13 10:34:09 -03:00
  • 795e98bc2e close channel in getStdinLinesOrFirstArgument() v0.0.14 fiatjaf 2023-11-08 22:54:52 -03:00
  • 4fdd80670a encode npub and nprofile tests. fiatjaf 2023-11-08 22:54:34 -03:00
  • e507d90766 beginnings of some humble tests. fiatjaf 2023-11-08 22:26:41 -03:00
  • d95b6f50ff --prompt-sec for getting a secret key from a prompt. v0.0.13 fiatjaf 2023-11-08 14:26:25 -03:00
  • 200e4e61f7 add a more complex example of fetching subnotes to readme. fiatjaf 2023-11-08 12:56:38 -03:00
  • 714d65312c support multiline stdin on decode, encode and fetch, and improve the helpers. fiatjaf 2023-11-08 12:50:36 -03:00
  • 5722061bf3 update go-nostr and sdk to standalone module. v0.0.12 fiatjaf 2023-11-08 00:13:28 -03:00
  • 6f72d3c133 fix pipe check. fiatjaf 2023-11-07 23:51:07 -03:00
  • 78932833df support running nak with multiple lines of stdin sequentially. fiatjaf 2023-11-07 17:57:43 -03:00
  • 31b42c3499 public domain license. fiatjaf_ 2023-11-04 08:02:34 -03:00
  • 7bce92f56d nak verify v0.0.11 fiatjaf 2023-11-02 08:10:13 -03:00
  • be8e3dfb39 tweak gh actions build settings. fiatjaf 2023-10-29 23:55:40 -03:00
  • e681ad87cd fix install instructions (#5) Bitkarrot 2023-10-30 18:53:08 -07:00
  • 9e5e736395 update readme with some helpful examples instead of a giant wall of text. fiatjaf 2023-10-29 23:38:39 -03:00
  • c5573410df move nak-web into a separate repository. fiatjaf 2023-10-29 23:38:19 -03:00
  • 85d658bdd4 github action to publish the cli binaries. v0.0.10 fiatjaf 2023-10-29 21:53:32 -03:00
  • bf966b3e2c nak event can take (and optionally modify) events from stdin. fiatjaf 2023-10-29 21:48:18 -03:00
  • 0615a8b577 nak req can take (and optionally modify) filters from stdin. fiatjaf 2023-10-29 19:11:35 -03:00
  • c6e9fdd053 trim spaces from stdin. fiatjaf 2023-10-23 08:04:28 -03:00
  • 50dde2117c don't fail encode when reading from stdin because of the number of arguments. fiatjaf 2023-10-23 08:04:21 -03:00
  • ffa41046fd fetch with optional --relay flags. fiatjaf 2023-10-20 21:01:11 -03:00
  • 757a6eb313 support fetch npub fiatjaf 2023-10-20 20:57:38 -03:00
  • 208d909727 support reading from stdin. fiatjaf 2023-10-20 20:57:29 -03:00
  • 459b127988 fetch: use relay hints from author pubkeys. v0.0.9 fiatjaf 2023-10-15 09:22:39 -03:00
  • db157e6181 fetch method to fetch events from nip19 codes and relay hints. fiatjaf 2023-10-15 09:18:19 -03:00
  • ada76f281a add encode note. fiatjaf 2023-10-10 11:28:17 -03:00
  • 455ec79e58 NIP-50 search filter on req. v0.0.8 fiatjaf 2023-10-08 15:49:11 -03:00
  • 8d111e556e count uses all relays again, now correctly. fiatjaf 2023-10-08 15:31:20 -03:00
  • e4a9b3ccc7 fix count again, it was sending REQs instead of COUNTs to relays. only use the first relay. fiatjaf 2023-10-08 15:05:51 -03:00
  • 3896ef323b update go-nostr dependency. fiatjaf 2023-10-08 14:41:43 -03:00
  • c214513304 improve count. fiatjaf 2023-10-08 14:40:46 -03:00
  • 6ccca357e2 support NIP-45 COUNT Yasuhiro Matsumoto 2023-08-23 23:33:49 +09:00
  • f9cf01b48b do target validation on a case-by-case basis and don't validate empty -author on nevent. v0.0.7 fiatjaf 2023-07-08 20:52:50 -03:00
  • fb7c49bb5c add nak encode to readme. v0.0.6 fiatjaf 2023-07-05 15:05:09 -03:00
  • 4ad0769a62 add encode command with support for all the nip19 things. fiatjaf 2023-07-05 15:03:26 -03:00
  • 3ace11d7b2 support --nson flag on event. fiatjaf 2023-07-05 14:11:15 -03:00
  • 194e94ec9a update go-nostr for OK-related security fix. fiatjaf 2023-06-26 21:05:01 -03:00
  • 2b2018b742 allow extra tag elements on event creation, separated by ";" fiatjaf 2023-06-26 20:52:12 -03:00
  • 30c8eb83b2 rename editable to selectable. fiatjaf 2023-06-20 15:33:29 -03:00
  • 015cfd857c print naddr if parsed event is replaceable. fiatjaf 2023-06-20 15:31:53 -03:00
  • 4e5f7e6d21 print naddr when given an "a" tag. fiatjaf 2023-06-20 15:21:25 -03:00
  • fb9faf24ae mention that the "d" tag is the identifier. fiatjaf 2023-06-20 14:52:03 -03:00
  • 76ca99a73b clicking on edit button to fill in the input. fiatjaf 2023-06-20 14:49:56 -03:00
  • 7890466783 removing relay hints. fiatjaf 2023-06-20 11:57:01 -03:00
  • ba2d86ca33 each relay hint in a separate component. fiatjaf 2023-06-20 11:48:50 -03:00
  • dff57c207e accept tags with keys of any length. v0.0.5 fiatjaf 2023-06-07 07:02:38 -03:00
  • c3777abd81 fix "if this is a private key" section. fiatjaf 2023-06-02 09:04:25 -03:00
  • 746a13861d update go-nostr so subscriptions can end. v0.0.4 fiatjaf 2023-05-30 17:51:40 -03:00
  • bd7b22c4ff cancel publish context after 10 seconds. fiatjaf 2023-05-30 13:43:57 -03:00
  • 01b30b49de update example usage on readme. v0.0.3 fiatjaf 2023-05-23 23:31:43 -03:00
  • 9d4f1ec852 print the event before sending it to relays. fiatjaf 2023-05-23 23:31:31 -03:00
  • 88acf8ccda update readme and help text. fiatjaf 2023-05-23 23:26:27 -03:00
  • bbe4bfdaa0 nak event can also publish to relays directly. fiatjaf 2023-05-23 23:24:55 -03:00
  • bcb43ada77 update readme. v0.0.2 fiatjaf 2023-05-23 16:01:09 -03:00
  • dbccf720af "nak req" can now connect to relays and fetch events. fiatjaf 2023-05-23 15:57:03 -03:00
  • 1b07b4f78a add links to source code and cli app on the bottom. fiatjaf 2023-05-11 20:22:35 -03:00
  • 8ddea1fda5 mention nostril. fiatjaf 2023-05-04 12:05:29 -03:00
  • 60744d4f4a mention nostcat. fiatjaf 2023-05-04 12:04:28 -03:00
  • 25c937a524 temporarily name the package with its github name. v0.0.1 fiatjaf 2023-05-04 09:27:29 -03:00
  • 0031faa65e cli tool readme docs and examples. fiatjaf 2023-05-04 08:53:53 -03:00
  • d6ab152867 support nostr: prefix. fiatjaf 2023-05-04 08:53:43 -03:00