100 Commits
Author SHA1 Message Date
fiatjaf 160afb540c git: percent-decode relay and identifier segments in nostr://
copied from https://gitworkshop.dev/fiatjaf.com/nak/prs/nevent1qqswm2nmw68uqf9d66f3c4vspt0fna8g0vd24z5yyeq35a0p33kmpach2gch6/files
2026-07-23 09:25:02 -03:00
fiatjaf 5a82298d95 event: exit with error when all the publishes fail. 2026-07-22 12:12:27 -03:00
fiatjaf a3890c4976 bunker: don't conflict with stored if only default --sec exists, not explicit.
fixes nostr:nevent1qvzqqqqqqypzprqgrf7tvq6w3gzkmltk6n4s7hxa6xzc0dgn7mrgr77cjs87svqzqyd8wumn8ghj7cnpwdehq6tnw3hkctn0wfnj76twvfhhsqglwaehxw309ac8junpd45kgtnxd9shg6npvchxxmmd9a5kucn00qqzq570y8j7wet7fw6qz39z3kchqdxxw6wp7anxnxpy62x0qhqd6fhlz79p53
2026-07-22 08:31:18 -03:00
fiatjaf 1403c7d2cd fetch: use more outbox relays. 2026-07-21 20:42:52 -03:00
fiatjaf 6855722ba5 make the relay connection timeout configurable. 2026-07-21 20:41:45 -03:00
fiatjaf aac995714b timeout relay connections at 2s. 2026-07-21 18:51:41 -03:00
fiatjaf a9df9c6a21 groups: nip29 parenting. 2026-07-20 17:05:36 -03:00
fiatjaf 57be7627d4 git: allow pushing without updating the repository announcement. 2026-07-17 22:51:21 -03:00
fiatjaf 5b7f3eb4db git: 'patch pull' similar to 'pr pull'. 2026-07-16 17:08:02 -03:00
fiatjaf 6d4f4c03ec git: eliminate maintainer and web setup. 2026-07-16 15:36:59 -03:00
fiatjaf eb9afd0b54 pr: merge. 2026-07-16 15:32:42 -03:00
fiatjaf 9c35de2b02 nak git pr 2026-07-16 15:23:30 -03:00
fiatjaf b65683886b nak key public prints our key if given by --sec. 2026-07-15 16:30:58 -03:00
fiatjaf e36d546548 nip: eliminate wrong prints. 2026-07-15 12:55:54 -03:00
fiatjaf d374fe9bd3 publish: allow kind:1111 comment, force when --comment is used instead of --reply. 2026-07-02 13:32:41 -03:00
fiatjaf 4ea0edc52b two blossom tweaks. 2026-07-02 00:48:43 -03:00
fiatjaf 6087c71072 publish: proper root/reply tags. 2026-07-02 00:18:30 -03:00
fiatjaf 0bcb90e37e publish: also read from arguments, not only stdin. 2026-07-02 00:12:54 -03:00
fiatjaf 98b7a1ae6a admin: color flag is an int now. 2026-06-25 19:00:44 -03:00
fiatjaf 46a809d284 admin: new nip86 "role" commands. 2026-06-25 17:54:52 -03:00
fiatjaf 62fa610a06 add --jq examples to README. 2026-06-21 08:38:15 -03:00
fiatjaf 5afdce2672 profile: flags to print only specific things. 2026-06-21 08:26:55 -03:00
fiatjaf 4fd7400272 date function helpers in --jq 2026-06-21 08:19:33 -03:00
fiatjaf 40a934e3f9 fix conflicts with running bunker connections (client and server apparently) through auth-required relays, clarify "connect-as" and use a special flag for it, let's see.
hopefully fixes https://github.com/fiatjaf/nak/issues/116
2026-06-20 20:30:45 -03:00
fiatjaf 12000232a7 bunker: remove duplicated "--sec" flags that were interfering with everything. 2026-06-20 20:24:18 -03:00
fiatjaf cc879b6bf6 serve: --auth and --eager-auth flags. 2026-06-20 20:23:39 -03:00
fiatjaf 483bf94ff4 support --jq flag on fetch and event commands. 2026-06-17 11:39:30 -03:00
fiatjaf 814059fcec also use the default key as the bunker client key if nothing else is provided. 2026-06-17 11:11:57 -03:00
fiatjaf b3e009730c use a default key that is different for each machine. 2026-06-17 10:59:22 -03:00
fiatjaf 7bbff0a3ad fix blossom ipv6 dialing.
fixes https://github.com/fiatjaf/nak/issues/142
2026-06-15 08:31:32 -03:00
fiatjaf c97e1815b4 nsite: --title 2026-06-15 08:30:22 -03:00
fiatjaf 29113783b3 nip: use the full terminal width. 2026-06-13 09:39:02 -03:00
fiatjaf 59c691f4d5 bring back color. 2026-06-11 18:10:33 -03:00
fiatjaf 0c8e643609 key and auth flags on root command. 2026-06-11 17:49:20 -03:00
fiatjaf 7872c61a4d combineFlags() and authFlags compendium. 2026-06-11 16:23:20 -03:00
fiatjaf 97950d1203 nsite: fine-grained relay control. 2026-06-11 14:16:18 -03:00
fiatjaf 0960ceb6a6 nsite: --tag 2026-06-11 13:59:34 -03:00
fiatjaf 6a95407939 fix getKindSlice() usage. keep nil when no kinds are specified. 2026-06-08 21:41:14 -03:00
fiatjaf ac988a792d nsite: log identifiers instead of printing. 2026-06-08 21:14:26 -03:00
fiatjaf fa41c22c12 nak profile example on README. 2026-06-04 16:13:13 -03:00
fiatjaf c2902bfb5d nak kind, and accept names on --kind flags. 2026-06-04 16:13:13 -03:00
fiatjaf 0f7268c071 preliminary (half-broken) podcast support. 2026-06-04 16:12:48 -03:00
fiatjaf e2f791ab85 fetch: support --auth. 2026-06-02 21:35:58 -03:00
fiatjaf b41260f663 --outbox help text better. 2026-05-26 19:51:18 -03:00
fiatjaf c9e1511865 bunker: fix relay handling, don't mix custom with main relay URLs. 2026-05-21 20:25:07 -03:00
fiatjaf 5af1d111ba key-combine: support parsing npubs and nprofiles. 2026-05-20 16:14:11 -03:00
fiatjaf 2922a0de25 git: support nostr://... URLs without requiring the <relay> component. 2026-05-17 17:10:29 -03:00
fiatjaf 35d628ef6d bunker: fix concurrent map writes (url.Values is a map). 2026-05-16 23:16:30 -03:00
fiatjaf a2f109c8c8 encode: support reading pointer data as json from stdin also in specific subcommands. 2026-05-16 19:32:15 -03:00
fiatjaf d9cc9f1d80 encode: fix reading pointer objects as json from stdin. 2026-05-16 14:43:38 -03:00
fiatjaf d97937eaa4 encode: correctly fail on unsupported modes. 2026-05-16 14:19:42 -03:00
fiatjaf bdd3aa1093 bunker: fix waiting for slow relays? 2026-05-15 17:27:18 -03:00
fiatjaf 02c12cb671 decode: fix missing identifiers in printed json. 2026-05-08 12:53:42 -03:00
fiatjaf c04add227d fix serve never starting. 2026-05-05 11:54:09 -03:00
fiatjaf a152d7f633 verify: debug mode (-vv) prints useful info about event serialization. 2026-04-23 22:26:52 -03:00
fiatjaf 25d2045640 event: --no-verify flag. 2026-04-23 20:54:58 -03:00
fiatjaf 09b9939956 nsite command. 2026-04-23 20:50:03 -03:00
fiatjaf 2a8cd898c2 allow --auth on 'group'. 2026-04-19 20:37:41 -03:00
fiatjaf eae828e03b update to the fact that Pool doesn't use PoolOptions anymore, just modify the global pool directly. 2026-04-19 20:17:00 -03:00
fiatjaf 9ae5798a24 print event in 'validate' and 'filter', apply jq on 'filter' and 'req' with gojq. 2026-04-19 19:28:34 -03:00
fiatjaf 5930437578 nak validate 2026-04-18 19:15:51 -03:00
fiatjaf 2193491c3b encode: support naddr for replaceable events and improve kind and d-tag validation..
fixes https://github.com/fiatjaf/nak/issues/122

honestly I don't know why you want to naddr-encode replaceable events, that sounds like an awful idea, but what can I do.
2026-04-18 15:07:27 -03:00
fiatjaf d3f4548dbd why were we recreating the pool? 2026-04-18 11:13:08 -03:00
fiatjaf 07b791e90a adapt to some nostrlib changes. 2026-04-18 09:19:43 -03:00
fiatjaf 2c3d72b337 nak key validate. 2026-04-10 09:31:51 -03:00
fiatjaf 0834420d89 replace %w with %s in lineProcessingError(). 2026-04-05 18:24:59 -03:00
fiatjaf 217352ed0b blossom: take multiple --server flags. 2026-04-05 17:12:01 -03:00
fiatjaf 318838b3ff key: a command for expanding partial keys by left-padding with zeroes. 2026-04-03 01:36:08 -03:00
fiatjaf b811396d8b fetch: exit with error if event is not fetched. 2026-04-02 03:59:45 -03:00
fiatjaf 2bc1cf3417 performReq now uses "read" relays from p/P-tags when no authors are specified in outbox mode. 2026-04-02 03:46:54 -03:00
fiatjaf 65ddf7b821 use appendUnique from nostrlib. 2026-04-02 03:24:05 -03:00
fiatjaf e19306b124 event: --outbox flag for publishing. 2026-04-02 03:14:19 -03:00
fiatjaf e059fba487 event/req: accept -h tag and addresses in -a tag. 2026-03-30 12:20:52 -03:00
fiatjaf 00f44958de git: take npub, nip05 or hex for user fields on "init". 2026-03-30 10:03:35 -03:00
fiatjaf e37ea23a8d groups: stop appending undefined tags to edit-metadata. 2026-03-30 08:56:24 -03:00
fiatjaf 3c4cb533b4 groups: create-group. 2026-03-30 08:56:24 -03:00
fiatjaf be26dfca3c print "connecting to..." message without the leading scheme. 2026-03-30 08:56:24 -03:00
fiatjaf 0dbe14aa93 git: 'download' command for downloading individual files. 2026-03-26 17:46:47 -03:00
fiatjaf ec1721cfe3 count: support CLOSED and AUTH.
fixes https://github.com/fiatjaf/nak/issues/117
2026-03-25 21:42:11 -03:00
fiatjaf 3b318fec54 event: must clear events before reusing. 2026-03-24 22:34:10 -03:00
fiatjaf 82275e4b9e when parsing a nip05 as a pubkey there is no point in falling back to parsing as hex or npub. 2026-03-22 17:17:28 -03:00
fiatjaf ae98e99ec6 update nostrlib to fix stuck subscriptions. 2026-03-20 20:56:38 -03:00
fiatjaf 59fecacbdc ensure we're adding a "K" tag to kind:1111 events. 2026-03-17 20:48:53 -03:00
fiatjaf faac4d9440 ensure an event is not resigned if it was already signed and wasn't changed. 2026-03-17 19:32:47 -03:00
fiatjaf f00a4a7d2a fix potential double-yield() usage on reading lines from stdin. 2026-03-17 14:57:42 -03:00
fiatjaf d823ac55a6 fix nostrlib dependency. 2026-03-17 14:57:11 -03:00
fiatjaf 105ccef7ec gift: fix potential keys ordering and rumor decryption failure check. 2026-03-17 14:56:55 -03:00
fiatjaf 9d4df21836 gift/encrypt: fix wording and yield returns. 2026-03-17 11:49:09 -03:00
fiatjaf 952d638ac3 git: fix --owner flag in "init".
fixes https://github.com/fiatjaf/nak/issues/113
2026-03-16 16:09:00 -03:00
fiatjaf c1e72e0af1 convert tags to appropriate hex pubkeys, ids etc, even from nip05, but check the tag name first for better (hardcoded) context. 2026-03-13 00:30:46 -03:00
fiatjaf 5f4efdbc69 'group forum' with the ui like 'nak git issue'. 2026-03-12 19:03:20 -03:00
fiatjaf 4967db13a1 update nostrlib dependency. 2026-03-12 16:50:19 -03:00
fiatjaf da0b753371 group: edit-metadata as PUT, not PATCH. 2026-03-12 16:33:50 -03:00
fiatjaf bef67d35d2 groups: replace no-text with supported_kinds support. 2026-03-12 16:20:23 -03:00
fiatjaf a8fb2e4189 git: allow closing a patch as applied. 2026-03-12 16:19:58 -03:00
fiatjaf 7aea4cf9a1 git: ensure some operations are only completed if you're a maintainer. 2026-03-08 21:24:28 -03:00
fiatjaf d472efe707 git: issue and patch closing. 2026-03-08 21:06:34 -03:00
fiatjaf 17341b3af6 git: issue and patch listing unified in base command. 2026-03-08 21:02:52 -03:00
fiatjaf ff5a7b4ba7 git: issue replying in the middle of a thread. 2026-03-08 18:29:53 -03:00
fiatjaf 6bd2d1cdfc git: issues and patches improved enormously. 2026-03-07 23:10:00 -03:00