How to access Nostr in the browser

(desktop only)
est. time to complete: 5 minutes

0. Understanding keys

Each Nostr account is based on a private/public key pair. Your public key is your username and your private key is your password. You are responsible for keeping your private key safe, and it cannot be reset if lost.

While you can sign into a client by pasting in your private key, that method is not recommended - it's tedious and insecure. Instead, we will use a crypto wallet, which is a piece of software specifically designed to manage your private keys.

The Alby extension & lightning wallet has built in support for Nostr. It's a great option for new users, but you can also add your existing Nostr private key.

1. Install Alby extension

Visit getalby.com and click the "Install Alby" button. Install the extension to your browser.

During alby setup, you will be prompted to connect to a lightning wallet. If you do not have a wallet, continue with the alby wallet option and sign up for an alby account. If you already have a lightning wallet, you can connect to it.

2. Generate your private key

Once alby is installed and connected to a lightning wallet, navigate to the alby settings page. Scroll to the Nostr section and click the "generate" button in the private key field. This will generate a private key and save it to your alby wallet. You can now use this private key to log into Nostr.

3. Log into Nostr on a client

Now that you have a private key, you can log into Nostr. But remember, Nostr is only a protocol, not an application, so you will need to use a Nostr client to access the network. For this guide we'll use Astral, a simple twitter-like web client.

  1. Navigate to astral.ninja
  2. In the login popup, click the "USE PUBLIC KEY FROM EXTENSION" button.
  3. Authorize key usage in the alby extension popup.

You are logged in! It may take a few moments for content to start loading. From year you can follow friends (by searching for their pubkey), view different feeds, and post content.

4. Find and follow friends

  • If you know someone on Nostr, find their profile by searching their public key.
  • Many Twitter users are tweeting their Nostr pubkeys with the hashtag #nostr
  • nostr.directory is a database mapping twitter users to their Nostr pubkeys

Back