Changelog —
Nostr viewer | Search by npub, note, naddr, nevent, nprofile and custom request.
Search and view Nostr events with high-quality support for npub, note, naddr, nevent, and nprofile. Fast, reliable events viewer for the Nostr netw...
(Nostr Viewer Search Upgrade)
✨ New Features & UI
• Search-Style Hero Home Page: Centered search experience with a rounded search bar, quick-clear button, and instant category pills (All, Notes, People, Articles, Media, Market).
• "More" Category Dropdown: Expandable pill for niche event kinds including Highlights, Communities, Live, Events, Wiki, and Audio—dynamically updating the pill label when active.
• Compact Header Search: Results and event pages now feature a persistent, prefilled compact search bar at the top for quick query switching.
• Interactive Kind Pills: Clicking any category pill immediately re-runs the active search for those kinds; hovering reveals the exact underlying Nostr event kind numbers.
• Collapsible Advanced Filters Drawer: Hidden by default (and auto-expanded when loading shared URLs with active filters), featuring:
• Author filter: Accepts npub, nprofile, or 64-char hex pubkeys.
• Custom Kind override: Numeric input to query any arbitrary Nostr event kind.
• Time Window: Filter by Any time, Past 24 hours, Past week, or Past month.
• NIP-50 Modifiers: Language filter (lang), NIP-05 domain: filter, and an include:spam toggle.
• Search Relay Status Pill: Displays the active search relay count (N search relays), expands on click to list queried endpoints, and notifies users when querying specialized kinds (like Media or Market) that fewer relays index.
🧠 Smart Query Parsing & Routing
• Direct NIP-19 Jump: Entering npub1…, nprofile1…, note1…, nevent1…, or naddr1… routes directly to its dedicated entity view.
• Hybrid Hashtag & Text Splitting: Standalone #tags route as standard #t filters across default relays (working even without NIP-50), while mixed queries like latte #coffee automatically split into keyword search + #t tag filtering.
• NIP-05 Resolution with Fallback: Typing name@domain.com resolves the profile directly, gracefully falling back to a domain: search query if blocked by CORS or lookup errors.
• Author-Only Queries: Filtering by author without keywords executes a clean standard relay query without requiring NIP-50 search relays.
• Shareable Hash-State URLs: Search terms remain clean in the URL path (e.g., /bitcoin), while active filters live in the URL hash (e.g., #tab=articles&range=week&lang=en) so links are shareable without breaking server rewrite rules.
⚡ Results & Data Handling
• Contextual Summary Line: Displays active query parameters and queried relay count above results (e.g., "“bitcoin” · All · past week · 7 search relays").
• Replaceable & Addressable Deduplication: Automatically deduplicates profiles (kind: 0) and addressable events (kind: 30000+) so only the latest version per key is displayed.
• Strict Client-Side Enforcement: Drops out-of-scope events returned by lenient relays that don't strictly honor kind, author, or time filters.
• Entity Unescaping (SearchRaw): Properly decodes PHP-escaped characters (&, quotes) on the client side for multi-character queries.