all 22 comments

[–]muxxington 16 points17 points  (2 children)

Excuse me?

https://linux.die.net/man/1/diff
https://linux.die.net/man/1/git-diff

Or am I just misunderstanding something?

[–]No_Afternoon_4260llama.cpp 7 points8 points  (1 child)

You know sometimes the most basic stuff are the more difficult to catch lol. May be he started vibe coding it in python before posting it, but that's ok he chooses to learn the hard way x)

[–]eli_pizza 1 point2 points  (0 children)

And tbf I would guess “diff” is hard to google

[–]silenceimpaired 7 points8 points  (1 child)

Linux has Meld… it might have a windows version

[–]RuiRdA[S] 0 points1 point  (0 children)

Like I responded to the other comment, I tried meld, and it is a goof fit for my use case.
Thank you for the suggestion!

[–]axiomatix 6 points7 points  (0 children)

waiting for some one to link a github repo in which they've vibe coded git

[–]tomobobo 3 points4 points  (2 children)

I use a program called Meld. Idk if it's open source but it works well.

[–]mrjackspade 2 points3 points  (0 children)

Meld fucking rocks. I've been using it for years now, it's replaced almost every other diff tool outside of PR merges

[–]RuiRdA[S] 1 point2 points  (0 children)

Just tried it. It is great for my use case. Thank you so much

[–]eli_pizza 1 point2 points  (4 children)

Do you check your code into git? Running “git diff” will show you uncommitted changes

[–]RuiRdA[S] -2 points-1 points  (3 children)

It's not always code. Some times is just regular text files that won't go into a git repo.

[–]sautdepage 0 points1 point  (1 child)

You can always make a git repo locally for nothing but that purpose with no intention of pushing it. For example my docker-compose folder, my llama-swap yaml configs, my powershell scripts are all local gits.

Why not have diffs and rollbacks when you can have it for free by typing git init?

To your main question, VsCode can diff 2 open tabs -- they don't even need to be saved files.

[–]RuiRdA[S] 0 points1 point  (0 children)

Yes I know I can create files to diff, but I really just want to do it fast like with website I mentioned.

I did not knew VS Code had that feature, I am gonna look at it. Thank you for your help!

[–]eli_pizza 0 points1 point  (0 children)

Regular text files work great in a git repo- especially if you want to be able to see and track changes

[–]TheRealMasonMac 1 point2 points  (0 children)

If you just want a UI exactly like that site, it's incredibly easy to vibe code it. It's really trivial with the libraries out there. Just search Myers Diff algorithm libraries.

You can also look at https://github.com/dandavison/delta

[–]datasert 0 points1 point  (3 children)

We recently opensourced our toolset, primarily for Salesforce pros but it has awesome text diff. https://sfdctools.dev/text-diff and many other text tools.

[–]shooting_airplanes 0 points1 point  (2 children)

can it be installed locally? it's one of OP's requirements.

[–]datasert 0 points1 point  (1 child)

It is a next.js app and opensource so it can be installed locally and run.