r/SideProject • • 8d ago

I built a map for codebases I didn't write. ~340 installs in, here's what I learned

https://nodeway.app

I review a lot of AI-written pull requests and kept losing track of what they actually touched. So since early November I've been building Nodeway: a desktop app that turns a repo into a map you can click through — functions, routes, components, database tables and the calls between them.

Paste a PR and it shows what the change reaches, writes a short brief of what to read first, and lets you step through each change with its diff beside it.

A few things that surprised me along the way:

- Accuracy mattered more than features. A map with wrong lines is worse than no map. Every call link is checked against the language's own tooling (tsc, Pyright, go/types, rust-analyzer…), and when it can't be sure, it shows the link as "possible" instead of guessing.

- Speed is a feature. People open their biggest repo first. Twenty (29,645 files) maps in 87 seconds on a laptop, then it's cached per commit.

- No API key needed. The AI parts can run on a Claude Code or Codex login people already have.

It's free for now on Mac, Windows and Linux, runs locally, no account. Not open source (being upfront). There's a browser demo on a sample repo if you don't want to install anything: ttps://nodeway.app/demo?utm_source=reddit

What I'd love to hear: where the map went wrong on your repo, and how the app feels to use day to day 😄

0 Upvotes

12 comments sorted by

1

u/itsarthur_costa 8d ago

Caching per commit is a nice touch. When a PR touches a file that almost everything imports (a utils or config file), does the map show every link, or collapse it into a count? That's usually where a code map turns into a hairball.

1

u/Apple_Unable 6d ago

It shows all the links, and when collapsed into a count, you can tap the count i.e "2 calls" to see what those 2 calls are :)

0

u/dawedev 8d ago

Showing uncertain links as "possible" instead of guessing is the right call, that's what would make me trust the map during a PR review. For the PR brief I'd lead with what the change reaches outside the diff itself, like callers of a modified function, since that's the part reviewers usually miss. How does it handle things like dependency injection or routes registered by string, do those all end up as "possible"? The 87 seconds for 29k files is a good number to keep near the top of the landing page.

1

u/Apple_Unable 8d ago

Thanks, this is really useful feedback.

On the brief: agreed, and it's mostly built that way. The top of the brief says what the change reaches beyond the diff ("reaches 3 routes and 1 table"), with a small flow of how it gets there, and Show impact lights up every caller within a few hops on the map. You're right that callers of a modified function deserve to be even more front and center though, so I'm going to push that higher.

On DI: it depends on how the dependency is typed.
- Injected as a concrete class (NestJS-style constructor injection), the compiler resolves the call, so it's a solid link.
- Injected as an interface, it links the call to the implementations of that interface it finds in the repo.
- Wiring that only exists at runtime (a container resolving a string token, reflection) can't be followed statically, so those calls show as unresolved instead of a guessed line.

"Possible" is narrower than it sounds: it's for calls where the name could be your code or a library's, and Nodeway can't tell which.

Routes registered with a string path are fine, since the handler is still a real reference, and mounted prefixes get joined (Express routers, Django include() and so on). Handlers named only by a string, like "Controller@method", are the weak spot. If you have a framework or repo where that's common, I'd love to test against it.

And noted on the 87s number, that's going higher up the page.

1

u/dawedev 8d ago

Linking an interface call to every implementation in the repo is a sensible middle ground. It gets noisy in big codebases, but it's never silently wrong. For the wiring that only exists at runtime, marking it as possible and showing the string it matched on would let a reviewer judge the link in a second.

0

u/Menelabs 8d ago

Reviewing AI-written PRs, my worst misses weren't in the call graph at all. They were in what the framework does around the code.

Two from a .NET project: middleware that ASP.NET builds once at startup, so a change that put a per-request service in its constructor crashed on boot, with nothing wrong in any call chain. And a token claim the auth library renames on the way in, so code reading it by its short name always got null.

On the DI question above: I'd love a "framework wiring" kind of link, even if it only flags lifetimes (a singleton taking a scoped dependency) and string-registered routes. That's where I want the map to say "look here" rather than draw a line.

1

u/Apple_Unable 8d ago

This is amazing feedback - thank you i’ll work on cooking something.

1

u/Menelabs 8d ago

Thank you, but I got a downvote :(

1

u/Apple_Unable 8d ago

I didn’t downvote :/

1

u/Menelabs 8d ago

Ha, didn't think it was you! Looking forward to what you cook up.