Access the graph from multiple machines #1408
|
I have my main coding machine, and I intend on installing Graphify. However, when I'm on the move, I will sometimes code or want to access information via my laptop. For someone who works like this, what's the best way forward? Is there a way of building the graph using the main machine and then hosting it somewhere so the laptop can access it also and contribute towards it? |
Replies: 3 comments 2 replies
|
Hi futureformed, This is actually exactly how Graphify is designed to be used, no separate hosting/sync setup needed.
A couple of things worth knowing if both machines might run extraction at different times: graphify-out/cache/ and graphify-out/manifest.json are meant to be gitignored - the cache is mtime-based and invalid after a fresh clone anyway, and the manifest is just local token-usage tracking. If both machines happen to commit graph changes around the same time, you can get graph.json merge conflict markers. Run graphify hook install (mentioned above) - it also sets up a git merge driver that union-merges graph.json automatically, so this shouldn't bite you in normal use. So no need to "host" anything separately... git itself is the sync mechanism, and the hook handles keeping things current on whichever machine you're on. |
|
Adding one option to @daveshenal's answer, for anyone who lands here looking for the "host it somewhere" route: committing graphify-out/ is the simplest setup for your own machines. If you'd rather have your assistants query one always-fresh graph without installing Graphify on each machine (or share it with a team), Graphify's built-in HTTP mode does that: I packaged this as a one-click Railway template: it clones a repo, builds the graph with --code-only, serves it behind an API key and rebuilds it hourly on new commits. It's code-only for now, so it won't cover the Google Drive documents part of your question. https://railway.com/deploy/graphify-or-team-mcp-server-with-auto-up Unofficial, not affiliated with Graphify Labs. Disclosure: Railway shares part of the hosting fees with template authors. |
|
For the Drive gap in the hosted setup, I’d put a stable Docs link in the relevant README or runbook and keep the document body in Drive. Then try a fresh Codex chat on the laptop: “Which decision in the linked runbook explains this module’s retry limit? Cite the Doc and the line where the limit is set.” That checks whether you can get both halves of the answer without copying the document into the repo or rebuilding the graph on the laptop. I work on Zortex, which can supply the Drive lookup in Codex. If Drive is part of your workflow, I can walk through that check with one sample Doc and a Drive-only connection. I haven’t tested it with the Railway template. |
Adding one option to @daveshenal's answer, for anyone who lands here looking for the "host it somewhere" route: committing graphify-out/ is the simplest setup for your own machines. If you'd rather have your assistants query one always-fresh graph without installing Graphify on each machine (or share it with a team), Graphify's built-in HTTP mode does that:
I packaged this as a one-click Railway template: it clones a repo, builds the graph with --code-only, serves it behind an API key and rebuilds it hourly on new commits. It's code-only for now, so it won't cover the Google Drive document…