Repository navigation
What's new
Eight PRs landed since v0.2.0. The big one: the NIP-46 QR login (the "Scan with Amber" screen) was completely broken — selecting "Scan QR" produced a stuck "Generating…" screen and a refusable connect. That's now fixed end-to-end.
A separate code review pass found and fixed 11 more bugs (shadowed cache var, broken DM decryption, wrong NIP-89 kinds, unbounded cursors, swallowed errors, context leaks). Full list in CHANGELOG.md.
NIP-46 QR login (#65–#70)
- Visible, scannable QR code (was being rendered as 80 lines of vertical bars due to wrong half-block chars)
- Live spinner while waiting on
initQR; stale "Generating…" banner cleared - Title, QR, "Waiting for connection…", and "Press Esc…" all sit in one centered column
- Connects to all configured relays instead of just
relays[0]; serial relay dial happens before the QR is shown - Polling loop retries every ~4s — no more silently-stuck screens
Bug fixes (#71)
eventCacheshadowed by:=— caching is no longer silently brokennip04.Decryptcalled with raw private key ingetDMs— DMs screen now works- Text input gated on
cursor == 50 || cursor == 100— added 51 (nsec) and 200 (unlock profile) so you can actually type - NIP-89
kind:pubkey:dtag format andkind 31990(waskind 1984reports by mistake) - Bounds check on
tag[1]— no more panic risk on malformed relay events withLoadingerrors actually captureddefer cancel()insidefor _, r := range s.relaysno longer leaks N-1 contexts per publish- Home cursor bounded
publishToAllRelaysno longer fails when 1 of N relays rejectspublishPostTUIchecksGetPublicKey/Signerrors
Infrastructure
- Version, commit, date are now
varso goreleaser's ldflags inject them at build time hoot -versionshowshoot 0.3.0 (commit abc1234, built 2026-09-14)
Install
# macOS (intel + Apple Silicon) and Linux
tar -xzf hoot_v0.3.0_darwin_arm64.tar.gz # or darwin_amd64 / linux_amd64 / linux_arm64
sudo mv hoot /usr/local/bin/
# Windows: unzip hoot_v0.3.0_windows_amd64.zip (or windows_arm64) and move hoot.exe into your PATHVerify
hoot -version
# hoot 0.3.0 (commit 31929117a86c27f52c84, built 2026-09-15)