Your First Nostr Profile
A Nostr profile is a key pair. Your private key proves you own the public key everyone sees.
How It Works
When you create a profile in Hoot:
- You provide an nsec (private key in bech32 format, starts with
nsec1) - Hoot encrypts it with your password and stores it locally
- Your npub (public key) is derived automatically
Your private key never leaves your machine unless you explicitly share it.
Create a New Key Pair
If you don’t have a Nostr key yet, generate one:
# Generate a random key pair (using nostr CLI tools)
# Or use an online generator like https://nostr.band to get an nsec
Security note: Generating keys online means trusting that site. For production use, generate keys locally or use a hardware wallet.
Add Profile in Hoot TUI
-
Launch Hoot:
hoot -
Select Create new profile
-
Enter a name for this profile (e.g., “main” or your handle)
-
Enter your nsec1… private key
-
Create a password to encrypt this key locally
- This password decrypts your key each session
- It’s stored only on your machine
- If forgotten, you cannot recover the key
-
You’re logged in and ready to post
Multiple Profiles
Hoot supports multiple profiles. After creating your first:
- Select + Add new profile to add another account
- Use Switch Profile from the home menu to change accounts
- Each profile has its own encrypted key file
What Gets Created
Hoot stores your data in:
| OS | Location |
|---|---|
| Linux | ~/.config/nostr-cli/ |
| macOS | ~/Library/Application Support/nostr-cli/ |
| Windows | %APPDATA%\nostr-cli\ |
Files created:
profiles.json— encrypted profile metadatanwc.txt— NWC wallet connection (if configured)relays.txt— your relay list (optional)
Next Steps
Once you have a profile: