Commit Graph

  • 441ee9a5ed update go-nostr so just "localhost[:port]" works as a relay url. v0.3.0 fiatjaf 2024-07-05 00:11:59 -03:00
  • 9a41450209 use modified cli library that accepts flags after arguments. fiatjaf 2024-06-25 23:23:51 -03:00
  • dba2ed0b5f update to cli v3. fiatjaf 2024-06-25 22:18:26 -03:00
  • 2079ddf818 support prompting for a password on nak decrypt. fiatjaf 2024-06-25 13:46:15 -03:00
  • 2135b68106 more aliases in nak encode flags. fiatjaf 2024-06-13 12:05:27 -03:00
  • 9f98a0aea3 fix nak key encrypt reading from stdin. fiatjaf 2024-06-12 08:54:00 -03:00
  • 1ba39ca7d7 print bunker restart command without schemes in relay urls when possible. fiatjaf 2024-06-07 06:30:55 -03:00
  • 262c0c892a fix simple test event ordering. fiatjaf 2024-06-06 15:43:42 -03:00
  • 363bd66a8a accept relay URLs without scheme everywhere. fiatjaf 2024-06-06 15:38:40 -03:00
  • eccce6dc4a nak key combine now returns all possible combinations. v0.2.2 fiatjaf 2024-05-16 19:45:30 -03:00
  • 31f007ffc2 fix: musig2 event to cli args was generating multivalue tags wrongly. v0.2.1 fiatjaf 2024-05-15 18:49:03 -03:00
  • bb45059218 refactor bunker to work better. remove prompts, use lists of keys and secrets and a new random key. fiatjaf 2024-05-15 17:31:01 -03:00
  • 71dfe583ed rename flags from --musig2-... to --musig-..., add id to event and other small tweaks. v0.2.0 fiatjaf 2024-05-14 23:52:56 -03:00
  • 84bde7dacd musig2 works now. fiatjaf 2024-05-14 23:41:12 -03:00
  • 81968f6c0c nak key combine and nak event --musig2 fiatjaf 2024-05-14 15:23:08 -03:00
  • f198a46c19 remove wss:// from relay urls in readme. fiatjaf 2024-04-29 08:36:59 -03:00
  • c3ea9c15f6 LimitZero when -l 0 and when --stream fiatjaf 2024-03-29 08:16:15 -03:00
  • 8ddb9ce021 fix color output on Windows Yasuhiro Matsumoto 2024-03-29 00:19:20 +09:00
  • 569d38a137 accept multiple arguments in many commands, add a lot of more tests. fiatjaf 2024-03-19 11:34:59 -03:00
  • 34c189af28 bunker improvements. fiatjaf 2024-03-02 08:18:40 -03:00
  • ffe2db7f96 event: accept tags with a single item. fiatjaf 2024-02-21 09:47:34 -03:00
  • c5f7926471 bunker: repeat connection info every now and then. v0.1.13 fiatjaf 2024-02-17 17:56:57 -03:00
  • e008e08105 bunker: send responses to relays concurrently. fiatjaf 2024-02-16 11:08:48 -03:00
  • 5dd5a7c699 bunker: better colors and prompts. v0.1.12 fiatjaf 2024-02-12 15:39:13 -03:00
  • 347a82eaa9 verify: accept event to be verified as json argument. fiatjaf 2024-02-12 15:38:43 -03:00
  • e89823b10e ensure at least one blank line will be emitted when piped. fiatjaf 2024-02-06 12:47:58 -03:00
  • 6626001dd2 --connect-as to specify client pubkey when using --connect to bunker fiatjaf 2024-02-06 12:47:46 -03:00
  • b7a7e0504f --connect to use nip46 as a client to sign event and auth messages. v0.1.11 fiatjaf 2024-02-06 00:58:26 -03:00
  • 01e1f52a70 fix panic (#12) mattn 2024-02-03 22:03:32 +09:00
  • 0b9e861f90 fix: print prompt to stderr. v0.1.10 fiatjaf 2024-02-02 14:13:11 -03:00
  • bda18e035a fix reading hex secret key from input. fiatjaf 2024-02-02 14:11:58 -03:00
  • 0d46d48881 fix naddr. fiatjaf 2024-01-29 15:37:21 -03:00
  • 6f24112b5e support ncryptsec in all operations that require a private key and have a nice password prompt. fiatjaf 2024-01-29 09:47:26 -03:00
  • f4921f1fe9 nak key: generate, public, encrypt, decrypt. v0.1.9 fiatjaf 2024-01-25 08:19:55 -03:00
  • 3dfcec69b7 --nevent flag on nak event to print an nevent at the end. v0.1.8 fiatjaf 2024-01-24 22:43:23 -03:00
  • 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