Cognitive Glow
pendingby Justin Shank
Note activity heatmap/glow sidebar — navigate your vault by visual glow instead of hunting filenames.
Cognitive Glow
Cognitive Glow is an Obsidian plugin that shows a sidebar list of notes ranked by a computed glow score.
What it currently does
- Tracks note opens (
hitCount,lastOpened) from Obsidianfile-openevents. - Computes
glowScorefrom recency + frequency (+ manual gravity only if present in saved note stats). - Shows a Normal mode (all scored notes) and Focus mode (top
Nnotes). - Saves stats/settings with Obsidian
loadData/saveData. - Updates tracked paths on rename and removes stats on delete.
Installation (manual)
npm installnpm run build- Copy these files from the repo root into
.obsidian/plugins/cognitive-glow/:manifest.jsonmain.jsstyles.css
- Enable Cognitive glow in Community Plugins.
Usage
- Open notes normally in Obsidian.
- Open the Cognitive glow sidebar view (it auto-opens once on layout ready if no glow view exists).
- Switch between Normal and Focus.
- Click a row to open that note.
Command examples
- Dump glow scores to console
- Logs up to 20 notes sorted by glow score:
[
{ path: "Notes/Project.md", glowScore: 0.73 },
{ path: "Daily/2024-06-01.md", glowScore: 0.51 }
]
- Show persisted data (JSON)
- Opens a modal with the exact saved payload (
version,stats,settings).
- Opens a modal with the exact saved payload (
Settings
| Setting | Default |
|---|---|
| Focus mode top N | 5 |
| Show low-glow notes | true |
| Recency decay (ms) | 259200000 (3 days) |
| Hit count max scale | 20 |
| Max records | 3000 (0 disables cap) |
| Recency weight | 0.6 |
| Frequency weight | 0.4 |
| Gravity weight | 0.0 |
Data location
.obsidian/plugins/cognitive-glow/data.json
For implementation details, see 00_SPEC_COGNITIVE_GLOW.md.
For plugin developers
Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.