diff.rs icon indicating copy to clipboard operation
diff.rs copied to clipboard

Support for non-rust repositories or projects

Open janvhs opened this issue 11 months ago • 1 comments

Hi, I am using diff.rs quite a lot recently. I mainly use it with cargo-vet to audit code diffs reasonably quick and comfortable, and would love to use it for non-Rust programs or projects.

Is this something of interest? I didn't look too close at the source yet, but it seems to use Git under the hood, which could allow for a general Git integration. Given that diff.rs uses the crate name as its first path element, some illegal crate name like the Git URL would be possible without breaking changes to the API. As an example: diff.rs/https://git.sr.ht/~janvhs/meson-web-app/50339538/6db554fa or diff.rs/https://github.com/trento-project/web/012f2f8/7c77a4f

janvhs avatar Jan 23 '25 08:01 janvhs

Hey! Sorry for the super late response. Life's been quite busy recently but I picked up maintaining this again.

I think that sounds like a good idea — and it should not be too hard to implement.

I'll look into it, I think there's a bit of a backlog of stuff I need to fix fist.

xfbs avatar Jul 05 '25 15:07 xfbs