Temporal enrichment for Graphify #1612
todotge
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I use Graphify a lot, and one thing I wanted to explore further was time — when did a node first show up, what came before what. Graphify already gives you the structure; I wanted to add a temporal layer on top of it.
Turns out your filesystem already tracks this: mtime, ctime, birthtime, even the parent directory's mtime. That's a timeline sitting there for free, no LLM call needed.
So I built graphify-temporal, a companion CLI that runs after a graphify build:
It stats the file behind each node, stamps file_mtime / file_birthtime / dir_mtime, and chains nodes with preceded_by edges — within a file by line order, and optionally across the whole project. It's idempotent, so you can re-run with different flags anytime.
Once the graph has timestamps, query and timeline let you filter and walk it by time — what changed since a date, oldest node in a file, gap stats across the project.
Repo: github.com/todotge/graphify-temporal
Beta Was this translation helpful? Give feedback.
All reactions