MCPcopy Index your code
hub / github.com/emwalker/digraph

github.com/emwalker/digraph @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
1,258 symbols 3,638 edges 411 files 12 documented · 1%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Digraph

Digraph is a side project and a prototype of what a next iteration on search engines might look like. Search results are derived from manually curated topics.

Changes are tracked in a history that will eventually allow traveling back in time to see what things looked like at an earlier point. Links and topics are stored in repos, some public and some personal, which are combined to present a unified view. More on the vision here.

This is a personal project and is a work in progress.

Screenshot

Landing page

Development

Technical details:

  • Next.js, Mantine, React
  • GraphQL backend written in Rust
  • Object graphs stored in per-account Git repos
  • Postgres
  • Redis

Extension points exported contracts — how you extend this code

Markdown (Interface)
(no doc) [11 implementers]
backend/src/git/activity.rs
Window (Interface)
(no doc)
client/src/global.d.ts
SessionData (Interface)
(no doc)
next/lib/index.ts
Index (Interface)
(no doc) [3 implementers]
backend/src/git/index.rs
User (Interface)
(no doc)
client/src/global.d.ts
Downset (Interface)
(no doc) [2 implementers]
backend/src/types.rs
Location (Interface)
(no doc)
client/src/global.d.ts
Fetch (Interface)
(no doc) [2 implementers]
backend/src/http/mod.rs

Core symbols most depended-on inside this repo

iter
called by 91
backend/src/git/ext.rs
parse
called by 88
backend/src/http/repo_url.rs
try_into
called by 84
backend/src/git/stats.rs
insert
called by 79
backend/src/git/ext.rs
call
called by 66
backend/src/git/link.rs
topic_id
called by 43
backend/src/git/ext.rs
id
called by 29
backend/src/git/ext.rs
is_empty
called by 27
backend/src/git/ext.rs

Shape

Method 514
Function 441
Class 254
Interface 29
Enum 20

Languages

Rust73%
TypeScript27%

Modules by API surface

backend/src/git/index.rs62 symbols
backend/src/git/activity.rs57 symbols
backend/src/git/client.rs54 symbols
backend/src/types.rs52 symbols
backend/src/git/types.rs51 symbols
backend/src/git/ext.rs48 symbols
backend/src/git/search.rs46 symbols
backend/src/http/repo_url.rs45 symbols
backend/src/graphql/mutation.rs43 symbols
backend/tests/git/topic.rs37 symbols
backend/src/store.rs34 symbols
backend/src/graphql/topic.rs33 symbols

For agents

$ claude mcp add digraph \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact