4afc8bd067c2250c9a8e7f63e2fd4e2a60996538
Gooti
Nostr Identity Manager & Signer
Gooti is a browser extension for managing multiple Nostr identities and for signing events on web apps without having to give them your keys.
It implements these mandatory NIP-07 methods:
async window.nostr.getPublicKey(): string
async window.nostr.signEvent(event: { created_at: number, kind: number, tags: string[][], content: string }): Event
It also implements these optional methods:
async window.nostr.getRelays(): { [url: string]: {read: boolean, write: boolean} }
async window.nostr.nip04.encrypt(pubkey, plaintext): string
async window.nostr.nip04.decrypt(pubkey, ciphertext): string
The repository is configured as monorepo to hold the extensions for Chrome and Firefox.
Develop Chrome Extension
To build and run the Chrome extension from this code:
git clone https://github.com/sam-hayes-org/gooti-extension
cd gooti-extension
npm ci
npm run build:chrome
then
- within Chrome go to
chrome://extensions - ensure "developer mode" is enabled on the top right
- click on "Load unpackaged"
- select the
dist/chromefolder
Develop Firefox Extension
To build and run the Firefox extension from this code:
git clone https://github.com/sam-hayes-org/gooti-extension
cd gooti-extension
npm ci
npm run build:firefox
then
- within Firefox go to
about://debugging - click "This Firefox" on the left
- click on "Load Temporary Add-on..."
- select the
dist/firefoxfolder
LICENSE: Public Domain
Languages
TypeScript
71.3%
HTML
14.8%
SCSS
11.7%
Python
1.5%
JavaScript
0.6%