Claude 5260359385 feat: implement NIP-28 public channel support
Add full support for NIP-28 public channels with chat functionality,
client-side moderation, and rich event rendering.

**Features:**
- NIP-28 adapter with identifier parsing (note1/nevent1)
- Channel resolution (kind 40 creation + kind 41 metadata)
- Message loading and sending (kind 42 with NIP-10 threading)
- Client-side hide (kind 43) and mute (kind 44) actions
- Rich renderers for all NIP-28 event kinds (40-44)
- Auto-detect protocol in chat parser
- Relay hints from channel metadata

**Changes:**
- Created `src/lib/chat/adapters/nip-28-adapter.ts`
- Created channel renderers (ChannelMetadata, ChannelMessage, ChannelHide, ChannelMute)
- Registered renderers for kinds 40-44 in renderer registry
- Updated chat parser to support note1/nevent1 identifiers
- Updated ChatViewer to instantiate NIP-28 adapter
- Updated CLAUDE.md documentation
- Added tests for NIP-28 parsing

**Usage:**
```bash
chat note1abc...     # Join channel by creation event
chat nevent1...      # Join with relay hints
```

All tests pass (840/840).
2026-01-13 18:39:29 +00:00
2025-12-18 15:46:02 +01:00
👶
2025-12-09 16:26:31 +01:00
2025-12-19 12:49:29 +01:00
2025-12-13 15:06:05 +01:00
2025-12-10 13:00:39 +01:00
2025-12-22 20:40:16 +00:00
2026-01-13 17:16:31 +01:00
2026-01-13 17:16:31 +01:00
2025-12-20 14:25:40 +01:00
👶
2025-12-09 16:26:31 +01:00
👶
2025-12-09 16:26:31 +01:00
👶
2025-12-09 16:26:31 +01:00
👶
2025-12-09 16:26:31 +01:00
2025-12-14 16:50:16 +01:00

Grimoire

A Nostr protocol explorer and developer tool with a tiling window manager interface.

Features

  • Tiling Windows - Each window is a Nostr "app" (profile viewer, event feed, NIP docs, etc.)
  • Command Palette - Unix-style commands via Cmd+K to open apps and navigate
  • Multi-workspace - Virtual desktops with independent layouts
  • Real-time - Reactive event subscriptions with automatic updates

Stack

React 19, TypeScript, Vite, TailwindCSS, Jotai, Dexie, Applesauce

Getting Started

npm install
npm run dev

Scripts

Command Description
npm run dev Start dev server
npm run build Build for production
npm test Run tests in watch mode
npm run lint Lint code
npm run format Format code

License

MIT

Description
No description provided
Readme MIT 14 MiB
Languages
TypeScript 98.9%
CSS 0.8%
JavaScript 0.3%