Commit Graph

32 Commits

Author SHA1 Message Date
fiatjaf d733a31898 convert to using nostrlib. 2025-04-20 18:11:21 -03:00
fiatjaf 703c186958 much more colors everywhere and everything is prettier. 2025-04-03 14:50:25 -03:00
fiatjaf 9547711e8d nice dynamic UI when connecting to relays, and go much faster concurrently. 2025-04-03 11:42:33 -03:00
fiatjaf 26930d40bc migrate to urfave/cli/v3 again now that they have flags after arguments. 2025-02-16 13:02:04 -03:00
fiatjaf 17920d8aef adapt to go-nostr's new methods that take just one filter (and paginator). 2025-02-13 23:10:18 -03:00
fiatjaf 81571c6952 global bold/italic helpers. 2025-01-30 16:05:51 -03:00
fiatjaf 6e43a6b733 reword NIP-XX to nipXX everywhere. 2025-01-29 19:13:30 -03:00
fiatjaf 2d992f235e bunker: fix MarshalIndent() is not allowed to have a prefix on json-iterator. 2024-12-13 23:27:08 -03:00
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
fiatjaf ea53eca74f update go-nostr for nip44-on-nip46 fixes. 2024-10-27 09:56:49 -03:00
fiatjaf 43fe41df5d use log() function instead of fmt.Fprintf(os.Stderr) in some places. 2024-09-22 19:04:21 -03:00
fiatjaf 2b5f3355bc use a single global sdk.System and its Pool. 2024-09-17 11:33:02 -03:00
fiatjaf cf1694704e bunker: fix printing bunker uri. 2024-08-23 16:17:17 -03:00
fiatjaf cfdea699bc fix using NOSTR_SECRET_KEY environment variable. 2024-08-21 10:46:29 -03:00
fiatjaf 2edfa5cbea nak serve 2024-08-19 12:49:52 -03:00
fiatjaf c90e61dbec set .DisableSliceFlagSeparator to true.
fixes nostr:nevent1qqs9qwgwnr2rzguzrgt99hhhyv8e84mcdr4mnk86uvm6ndjvzl4rjxqpzpmhxue69uhkztnwdaejumr0dshsz9mhwden5te0vf5hgcm0d9hx2u3wwdhkx6tpdshszxnhwden5te0vfhhxarj9ekx2cm5w4exjene9ehx2ap0j8u0fj
2024-08-07 11:46:08 -03:00
fiatjaf 3d78e91f62 bunker: deny getPublicKey() even though it's harmless.
fixes https://github.com/fiatjaf/nak/issues/27
2024-08-06 10:56: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 ac00c5065f nak req: --force-pre-auth flag. 2024-07-10 14:48:02 -03:00
fiatjaf dba2ed0b5f update to cli v3. 2024-06-25 22:18:26 -03:00
fiatjaf 1ba39ca7d7 print bunker restart command without schemes in relay urls when possible. 2024-06-07 06:30:58 -03:00
fiatjaf bb45059218 refactor bunker to work better. remove prompts, use lists of keys and secrets and a new random key. 2024-05-15 17:31:01 -03:00
fiatjaf 34c189af28
bunker improvements. 2024-03-02 08:18:40 -03:00
fiatjaf c5f7926471
bunker: repeat connection info every now and then. 2024-02-17 17:56:57 -03:00
fiatjaf e008e08105
bunker: send responses to relays concurrently. 2024-02-16 11:08:48 -03:00
fiatjaf 5dd5a7c699
bunker: better colors and prompts. 2024-02-12 15:39:13 -03:00
fiatjaf b7a7e0504f
--connect to use nip46 as a client to sign event and auth messages. 2024-02-06 00:58:26 -03:00
fiatjaf 584881266e
bunker: update to go-nostr nip46 api breaking change. 2024-01-11 21:41:50 -03:00
fiatjaf bfa72640cd
bunker: a better prompt. 2023-12-09 17:42:01 -03:00
fiatjaf e5b0b15908
bunker: improve error message. 2023-12-09 17:11:55 -03:00
fiatjaf 0860cfcf6d
rename nsecbunker->bunker. 2023-12-09 16:37:59 -03:00