Googstr/package.json
Jason Tudisco fcfaec675a Add NIP-46 signer, optional NIP-07 extension, passkey protection, backups
- NIP-46 remote signer in the page (bunker:// and nostrconnect:// pairing)
- Chrome extension (NIP-07) with per-site permission prompts, unlocked by
  the site via externally_connectable; downloadable from the page
- Passkey (WebAuthn PRF) encryption of the Drive key file
- NIP-49 backups: download or save to Drive; reveal nsec
- Fix: oldest key file wins when two devices sign up at once
- Fix: never overwrite an existing kind-0 because a relay was slow
- Fix: EOSE tracking; relays reconnect with backoff; verify event signatures
- One-click re-sign-in (consent only the first time)
- Vendored, pinned nostr-tools; CSP; no third-party scripts but Google's

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 08:33:02 -06:00

26 lines
827 B
JSON

{
"name": "goostr-static",
"version": "0.2.0",
"description": "Sign in with Google → a nostr identity stored in your Drive App Data. Includes a NIP-46 remote signer and an optional NIP-07 browser extension. Pure static site, no server.",
"type": "module",
"main": "public/goostr.js",
"exports": {
".": "./public/goostr.js"
},
"files": [
"public/goostr.js",
"public/drive.js",
"public/passkey.js",
"public/bunker.js",
"public/vendor/nostr-tools.js"
],
"scripts": {
"serve": "python3 -m http.server -d public 5174",
"test": "node test/bunker.test.mjs",
"build:extension": "sh scripts/build-extension.sh",
"vendor": "sh scripts/vendor-nostr-tools.sh"
},
"keywords": ["nostr", "google", "oauth", "drive-appdata", "nip-46", "nip-07", "static"],
"license": "MIT"
}