Pulsar

unlisted

by Lucas-Liona

Fade graph nodes by how recently each note was modified.

★ 1 starsUpdated 1mo agoMIT
View on GitHub

Pulsar

Pulsar. Your graph, graded by time. Recent work lights up, old notes sink back. Beside the words, part of a note graph where a scattering of nodes is bright and most are dim.

Fades the nodes in Obsidian's graph by how recently you touched each note, so the part of your vault you're actually working in lights up and the rest sinks back.

CI License Version Minimum Obsidian version

A graph of about 1200 notes. A scattering of nodes is bright white, most are dim, and the dimmest are barely visible against the background.

My own vault, 1200 notes. Every bright dot is something I touched this week.

Animation of a note graph as the fade is swept from hardest to softest. It begins almost empty, with one bright green node, and fills in until the whole vault is visible.

Sweeping the fade from hardest to softest. The green dot is the note I touched last.

The same graph of 20,000 notes twice, side by side, each a round cloud of points. On the left, on a dark background, the newest notes glow with soft white halos like the brightest stars in a cluster. On the right, on a white background, the same notes sit in soft black halos.

20,000 notes with stars on: the 250 newest glow, and on a light theme they're black holes.

Why I made it

I built this plugin a year ago and I've been using it since so I wanted to finally share it with people.

When you have a vault this big, you forget things you used to write. The cool features that differentiate obsidian become pretty hard to use. Currently, Graph mode equalizes every note so a note from two years ago looks the same as one written this morning. I wanted the graph to carry time in it, so I could instantly see what I've been working on without reading, and so old actually looks old. To keep the graph load time blazingly fast you can filter notes to only show your most recent. I kept extending this idea to build time into most other surfaces like tabs, edit history, and writing. It does little to actually track where you put your work in, but that could be an interesting extension. Right now it mainly signals to you what you've been working on.

Streaks could be another idea to play with, I would like to hear other peoples ideas too! I love community plugins and the obsidian ecosystem. I mainly use git sync, dataviews, omnisearch and stylistic ones. You can see an image of my entire setup on my website.

I have found that this plugin helps me stay on track, use links better, and build up projects or systems of notes. Features like cluster and link opacity are meant to encourage this. Copy/Paste and junk notes show up bright and in your face, where they wouldn't be in Recent Notes if you didn't open them. I am writing more often and breaking notes into smaller linked notes.

I also want to see how other people use this plugin, I find I use the graph way more and I like it better than the file system. I use a Zettelkasten vault setup with subfolders for organized structure, but I will find and edit notes with the graph and omnisearch.

How I use it

Set Obsidian's text fade threshold (Graph view settings → Display) so the titles only appear once you lean in. Then at rest you're not reading anything — you're just looking at colour, and you can feel what's new and what's gone quiet. Zoom in a little and the names fade up right where you're looking.

It does the same thing for the local graph. When you're in a note and you can see which of its neighbours are alive and which have been sitting there for a year, that's a different kind of context than a list of links.

I also like to have lists of links (like an index) in my vault, the icon's next to them make it clear where things are and where I am writing.

What it does

Every note gets a recency value between 0 and 1 — 0 at the old end of the range, 1 at the new one. A fade curve shapes that number, and the result becomes the node's opacity.

Documentation

Every surface/setting has a doc page. Start wherever you are curious; nothing here need to be read in order.

The same part of a demo graph three times, labelled × 0.25, × 1 and × 6. At × 0.25 most notes are lit; at × 6 only the newest few are, in green, and the rest have nearly gone.
Time
What counts as old, and how an age becomes a brightness. The number everything else reads.
A small graph on a dark theme and on a light one. The newest notes are green, with a soft glow around them on the dark side and a soft shadow on the light side.
The graph
Stars around the newest notes, size by age, the age above a node, the spotlight, the glow between neighbours, and what links carry.
A graph with a line across the top reading “110 of 110 notes, 2 hours ago back to 11 months ago”.
The age filter
Taking notes out of the graph rather than dimming them, with a scrubber in the graph's own panel.
A local graph around a note called Reinforcement Learning, with its age, 2 weeks ago, above its title. Its neighbours from the last week are drawn brighter than the ones from four and five months ago, and the newest, 5 days ago, is green.
The local graph
The panel around one note, measured against its own notes, or from the note in the middle.
Part of a graph with ages above the titles. Three notes from 9 and 11 months ago are pinned and drawn in purple at full strength, while notes from the last few weeks around them are faded.
Pins
Notes you hold bright whatever their dates say. The one place you overrule the clock.
Three moments of a tab bar: a faded tab marked asleep, the pointer clicking it, and the tab opened.
Tabs
The tab bar as a readout of attention: tabs fade by how long since you looked, and the ones you have left alone sleep.
A note on a dark theme in which the most recently typed sentences are green.
Fresh writing
Text takes a colour as you type it and cools back to normal.
Two notes’ histories side by side, each a rail marked now, 1 hour, 1 day, 1 week, 1 month and 1 year, with a bead for every sitting. One note was worked on ten months ago and again this week; the other only in the last two days, so its rail stops at a week.
A note's history
Each sitting on a note as a bead down the sidebar, from Pulsar's own edit history.
Dot plot on a logarithmic time axis, one row per operation, before and after, with Pulsar off where measured: opening the graph, note switches, a load with fresh writing on, a graph at rest after its timelapse, a refilter and a keystroke.
Performance
What Pulsar costs at 20,000 notes, where the time goes, and how it was measured.
Every setting
The reference table, with every default and what each one applies to.

All the docs
The same pages, and where every picture here came from.

Switching it off

One toggle at the top of the settings, above everything else, and off means off: no events watched, no caches built, no timers running, no editor carrying anything of ours, no status bar item, and every graph handed back its own colours. The settings page collapses to that one switch.

Every feature below it can also be switched off on its own. A new install starts with most of them on, so the first look shows what Pulsar does. The ones that would hide notes or change what a brightness means start off: the age filter, group temperature, and the blend with how much each note was edited.

Worth knowing

  • Node names keep up with node size. Obsidian sizes a title from its node but only rebuilds the text when something flags the node dirty, and moving the graph's node size slider doesn't. So the circles grow and the names stay put. Pulsar flags them, because it draws text beside those names at the same size and can't very well leave them behind.
  • Only notes are faded. Attachments and unresolved links keep whatever colour the graph gives them. Their timestamps don't say anything about when you were actually working on something.
  • Your group colours survive. The plugin changes how transparent a node is and leaves its colour alone, so anything you've set up with graph groups still works. Two things paint a node — the spotlight and a pin — and both hand the colour back when they move on. The spotlight marks the newest note from the start; a pin paints nothing until you pin something.
  • A faded node is still there. Obsidian draws labels, links and physics with their own opacity, so a note at minimum opacity still has a visible title and stays clickable. To take notes out of the graph instead, that's the age filter. To quiet the titles, turn up the text fade threshold, which is the better way to use it anyway.
  • Opacity isn't polled. It's reapplied when a note changes, when a graph rebuilds, and when you change a setting — never on a timer. The only timers in the plugin belong to the features that fade against the clock rather than against the vault: the status bar re-reads it once a minute, the tabs twice a minute, and fresh writing once per shade — and that last one only runs in an editor that still has something left to cool. The one exception is a star's pulse, off unless you turn it on: it draws the graph up to 30 times a second while the graph is otherwise still, and stops when the pulse does.
  • It reads timestamps and file sizes, never contents. How recently a note was modified, and how long it is. Fresh writing adds one more of the same kind: where in a note an edit landed, and how long it was — never what it said. Not a word of what any note says, no network calls of any kind, and nothing written anywhere except this plugin's own folder. The one place it reads outside the vault is core File recovery's snapshot database, and only when you press Import earlier history — it takes the timestamps and cannot reach the note text those snapshots contain.

What it costs

Horizontal bars, seconds. Until the layout settles: Pulsar off 30.65, 1.38.0 10.94, 1.39.0 6.16, 1.40.0 6.14. Main thread blocked: Pulsar off 25.84, 1.38.0 5.02, 1.39.0 0.30, 1.40.0 0.28.

Measured in a vault of 20,000 generated notes, and in the demo vault:

  • Opening the graph with the age filter on settles in 6.1 seconds, against 30.7 for Obsidian on its own, and blocks the window for 0.3 seconds rather than 25.8, because Obsidian is handed the 4,168 notes the filter keeps instead of all 20,000.
  • Switching notes at 20,000 notes blocks for 75 ± 6 ms.
  • A graph at rest stays asleep. In the demo vault, after its timelapse has run, the graph's renderer uses 0.078 of a core, against 0.072 with Pulsar off.

Those are 1.40.0's figures. Every run, the machine, the method and what it gets wrong are on the performance page.

Install

Pulsar isn't in the community directory yet. Until it is:

  1. Download main.js, manifest.json and styles.css from the latest release.
  2. Put all three in YourVault/.obsidian/plugins/pulsar-graph/. The folder and the plugin id stay pulsar-graph; only the name is shorter.
  3. Reload Obsidian and turn it on under Community plugins.

Compatibility

Obsidian 1.8.0 or newer, desktop and mobile, global and local graph views.

The plugin reaches into Obsidian's graph renderer, which isn't part of the public API. It's written to quietly do nothing rather than break if those internals change, but a graph update can still mean it needs a fix here.

Where it's going

I originally made this to do one thing well, and I'd rather keep it that way than bolt on everything. That said, time is a bigger idea than opacity, and the overall direction I have been developing is making time easier to see throughout the graph and obsidian. It is currently feature rich but entirely configurable for your own preferences.

In the future I would like icons in the file system, search and the quick switcher, the note itself, and Bases view.

I soon might add streaks for notes edited multiple days in a row. It could display the most used notes (although this borders on a heatmap/usage tool), I may also add more spontaneous random features, but I will let the plugin sit for a while.

It's all in the issues. The ones marked help wanted are open to anyone. If you use this and something is missing, open one.

Development

git clone https://github.com/Lucas-Liona/obsidian-pulsar-graph.git
cd obsidian-pulsar-graph
npm install
npm run dev     # watch build
npm run build   # production build, type-check included
npm run lint

main.js is built, not committed. To try a build, copy it next to manifest.json in a vault's plugin folder and reload the plugin. AGENTS.md has the repo conventions and the release process.

Credits

Written by me. I built the first version on my own (from Obsidians plugin template if you would like to try yourself), and since 1.0 most of the code has been written with Claude Opus 5.5: the edit history, tabs, fresh writing, the age filter, stars and the performance work. Every change went in as a pull request with its measurements in it, and I decided what shipped. All of it in my free time.

More of what I make is at lucasliona.tech.

License

MIT

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.