r/coolgithubprojects • • 5d ago

Strand

Post image

Strand is a Rust dependency/impact analysis engine built on an instant-open, single-file graph format. It lets you build a dependency graph for a project and output it as one file - no database, no backend server, no waiting. Very large projects with tens of millions of connections load almost instantly because the file is memory-mapped and queried in place.

It supports many ecosystems: source scanning for Rust, Python, JavaScript and TypeScript (via real parsers — syn for Rust, tree-sitter for the rest, so comments/strings/docstrings can't create phantom edges), plus lockfile/manifest import for Cargo, npm, Poetry, Go modules, and Maven. There's also a read-write store format if you need to edit graphs programmatically.

Why use this?

  • The graph is a single shareable file - copy it, diff it, commit it, attach it to CI.
  • It answers "what breaks if I change this?" in milliseconds, and can gate pull requests on impact (strand impact, --git-diff).
  • There's a native desktop app (egui, no webview) for visualizing structure, detecting cycles, and editing the graph directly - with force-directed layout, A/B comparison, and worker-thread analysis so it stays responsive on big graphs.
  • cargo install strand-cli / cargo install strand-gui (or both at once), with a built-in update checker. Apache-2.0, on crates.io as strand-core, strand-import, strand-store, strand-cli, strand-gui.

GitHub: https://github.com/Biggest-Bee/Strand

I'd love to know what you think!

3 Upvotes

0 comments sorted by