adds "HiNote" plugging for comments and highlights

This commit is contained in:
Marcin Czenko 2025-05-25 21:13:14 +02:00
parent 0f50dbbbb6
commit ee7f248c8c
No known key found for this signature in database
GPG Key ID: 33DEA0C8E30937C0
5 changed files with 3237 additions and 1 deletions

View File

@ -2,5 +2,6 @@
"obsidian42-brat",
"query-control",
"calendar",
"nldates-obsidian"
"nldates-obsidian",
"hi-note"
]

42
.obsidian/plugins/hi-note/data.json vendored Normal file
View File

@ -0,0 +1,42 @@
{
"excludePatterns": "",
"useCustomPattern": false,
"highlightPattern": "==\\s*(.*?)\\s*==|<mark[^>]*>(.*?)</mark>|<span[^>]*>(.*?)</span>",
"defaultHighlightColor": "#ffeb3b",
"ai": {
"provider": "ollama",
"ollama": {
"host": "http://localhost:11434",
"model": ""
},
"gemini": {
"apiKey": "",
"model": "gemini-pro",
"baseUrl": "",
"isCustomModel": false
},
"openai": {
"apiKey": "",
"model": "gpt-4o",
"baseUrl": ""
},
"anthropic": {
"apiKey": "",
"model": "claude-2",
"apiAddress": "",
"isCustomModel": false,
"lastCustomModel": ""
},
"deepseek": {
"apiKey": "",
"model": "deepseek-chat",
"baseUrl": ""
},
"prompts": {
"🤔 Key Insight": "{{highlight}}.Please reinterpret the above content from a fresh perspective and summarize its core idea within 200 characters."
}
},
"export": {
"exportPath": "90 Extras/HiNote"
}
}

227
.obsidian/plugins/hi-note/main.js vendored Normal file

File diff suppressed because one or more lines are too long

10
.obsidian/plugins/hi-note/manifest.json vendored Normal file
View File

@ -0,0 +1,10 @@
{
"id": "hi-note",
"name": "HiNote",
"version": "0.3.5",
"minAppVersion": "0.15.0",
"description": "Add comments to highlighted notes, use AI for thinking, and flashcards for memory.",
"author": "Kai",
"authorUrl": "https://github.com/CatMuse",
"isDesktopOnly": false
}

2956
.obsidian/plugins/hi-note/styles.css vendored Normal file

File diff suppressed because it is too large Load Diff