8000 GitHub - tyiu/nostash: A Nostr signing extension for Safari.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

tyiu/nostash

 
 

Repository files navigation

Nostash

Nostash is a NIP-07 compatible Safari extension for signing Nostr events that works on iPhone, iPad, and Mac.

Features

  • Login with Nostr (getPublicKey).
  • Post Nostr event (signEvent).
  • Encryption and decryption (nip44.encrypt, nip44.decrypt, nip04.encrypt, nip04.decrypt).
  • Multiple profiles.

Requirements

  • iOS 18+
  • iPadOS 18+
  • macOS 15+
  • Safari 18+

Installation

Download on the App Store for stable releases and TestFlight for beta releases.

App Store Download

Usage

Click the Nostash extension icon in the Safari toolbar, there should be a default profile with a new, random private key.

Feel free to change the name and edit the key with your personal Nostr key. Create additional profiles as desired. Whichever key profile is selected under Profile is the currently "active" profile for Nostr events.

Acknowledgements

Thanks to ursuscamp for creating Nostore, which this project was forked by tyiu at version 1.2.0 (c8458140e69dd30b35a31043daedcb88872a270e) and has since been archived.

Thanks to fiatjaf for envisioning Nostr, but also for creating nostr-tools and the nos2x extension, which was referenced liberally when stumped during development of this extension.

Privacy

This extension does not collect any user data, or transmit any data over a network connection. All private key data is sequestered in the extension's separate browser storage.

Development

  1. Open the project in Xcode.
  2. Open project folder in terminal.
  3. Run npm install to install the dependencies.
  4. Run npm run watch to watch and build the necessary extension files.
  5. Run npm run watch-tailwind to watch and build the pages with tailwinds CSS.
  6. After every rebuild, execute Run in Xcode to deploy the latest changes to Safari.

If you do not see the Nostash extension in your Safari toolbar, you need to activate unsigned extensions and Nostash:

  1. Safari menu -> Settings -> Advanced -> Show features for web developers.
  2. Click the Developer tab in Settings, select Allow unsigned extensions.
  3. Click the Extensions tab in Settings, activate Nostash.

About

A Nostr signing extension for Safari.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 55.6%
  • HTML 27.2%
  • Swift 14.1%
  • CSS 3.1%
0