Add Text Highlights using NIP-84
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 45/100
Research direction
No files or tests are named; start by reading the NIP-84 reference and locating the note display, text-selection, and knowledge-area entry points. Done means users can select note text, create a kind:9802 event referencing the original note, and view saved highlights without changing Saved Notes.
Written by the indexing model from the issue text.
Description
Description
Add the ability for users to select a specific part of a note and highlight it.
This is different from Saved Notes:
- 🔖 Save → saves the whole note.
- 🟨 Highlight → saves an important part of the note.
Example
A note contains:
RAG retrieves relevant context before generating an answer.
The user selects that sentence and taps Highlight.
UNIUN creates a NIP-84 highlight event referencing the original note and the selected text.
Why
Highlights can become smaller pieces of knowledge that UNIUN can use later for:
- Personal knowledge discovery
- Brahma knowledge graph
- Shiv/RAG context
- Community insights
Initial Scope
- Allow text selection inside notes.
- Add a Highlight action.
- Create NIP-84
kind:9802highlight events. - Reference the original note.
- Display saved highlights in the user's knowledge area.
Saved Notes will remain unchanged.
Reference
- NIP-84 — Highlights
- Dominant language
- Dart
- Stars
- 2
- Forks
- 2
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 35
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from basictech01/uniun
-
bug good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
basictech01/uniun#300 ·
Maintainers usually reply within 1 day
-
enhancement good first issue P2-Medium
Difficulty 5/5 Over a week Newbie friendliness 25/100
basictech01/uniun#296 ·
Maintainers usually reply within 1 day
-
bug good first issue P2-Medium
Difficulty 4/5 1-2 days Newbie friendliness 22/100
basictech01/uniun#293 ·
Maintainers usually reply within 1 day
-
bug P1-High
Difficulty 4/5 3-5 days Newbie friendliness 18/100
basictech01/uniun#286 · 2 comments ·
Maintainers usually reply within 1 day
-
P3-Low
Difficulty 4/5 1-2 days Newbie friendliness 30/100
basictech01/uniun#282 · 1 comment ·
Maintainers usually reply within 1 day
All issues in basictech01/uniun
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
AppFlowy-IO/AppFlowy#9075 ·
-
Paste asks for iOS paste permission because the default context menu ignores SystemContextMenuPossibly taken @dorklein claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
maheshj01/searchfield#267 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
avdept/JellyBoxPlayer#375 ·
Maintainers usually reply within 1 day
-
Listener that removes itself in its callback causes other listeners to miss updatesPossibly taken @RaphaelFakhri claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
RevenueCat/purchases-flutter#1962 ·
Maintainers usually reply within 1 day