aboutsummaryrefslogtreecommitdiffstats
path: root/nwcpush/.gitignore
Commit message (Collapse)AuthorAgeFilesLines
* The server-side services moved out: names, nwcpush, blossom and bridge now ↵Adam Soltys8 days1-2/+0
| | | | | | | live in coinosv3-server. The coinos-server agent on desk extracted them (2026-10-16, after the names.json truncation of 10-15: the registrar is on SQLite there, the drift that had only ever existed on cs is committed there, and names/nwcpush/blossom on cs run from a clone of that repo, deployed by git push through its own hook). Removed here with the tests that went with them (registry-ownership-test, deepl-translate.test); the README points at the new repository and AGENTS.md says how service changes deploy now (git push from ~/coinosv3-server, never scp). feed/ and vmedia/ stay for the moment — they are in coinosv3-server too but still deploy from ~/public-feed and ~/vmedia the old way — with public-feed-cache-test. sync-blob-test spawns blossom from the sibling coinosv3-server checkout (COINOSV3_SERVER overrides) and says so when it isn't there; it passes. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01J1Kon8bxJoHRpJdSzshCkp
* Add the NWC push notifier (step 1 of background wallet-connect)Adam Soltys2026-08-011-0/+2
A service worker cannot hold a relay socket open, so something must tell a closed browser "a request arrived". This watches the relays for NIP-47 requests addressed to the wallet-service pubkeys a device registers, and sends that device a Web Push. The service worker will do the actual work in the browser; keys never leave it. Scoped to leak as little as possible: the notifier learns the service pubkeys registered and the timing of requests to them, and nothing else. Request contents are encrypted to keys it doesn't hold, it never sees the wallet seed, and it cannot move funds — the worst it can do is fail to wake a device. No database or accounts: registrations live in one JSON file, expire if a device stops refreshing, and push endpoints that return 404/410 are dropped. Wake-ups are de-duplicated across relays and only fire for live traffic, so a replayed old request can't wake anyone. Co-Authored-By: Claude Fable 5 <[email protected]>