feat: add support for web bookmarks (NIP-B0, kind:39701)

- Update bookmarkService to fetch kind:39701 events
- Add processing logic for web bookmark events in bookmarkProcessing
- Update bookmark deduplication to handle web bookmarks
- Add 'web' type to IndividualBookmark interface
- Implement distinct icon (fa-bookmark + fa-globe) for web bookmarks
- Update CompactView and CardView to display web bookmark icon
- Add web-bookmarks rule documentation
This commit is contained in:
Gigi
2025-10-06 20:30:53 +01:00
parent 1f9dbf576c
commit 1a7a8367a0
7 changed files with 52 additions and 8 deletions

View File

@@ -37,7 +37,7 @@ export interface IndividualBookmark {
tags: string[][]
parsedContent?: ParsedContent
author?: string
type: 'event' | 'article'
type: 'event' | 'article' | 'web'
isPrivate?: boolean
encryptedContent?: string
// When the item was added to the bookmark list (synthetic, for sorting)