cross-posted from: https://lemmy.blahaj.zone/post/45574613
Hello, I built a CLI that gives you web links for stuff in your repo you might want to link to.
You know the situation. Your coworker checked in some real garbage and you want to politely ask what they were thinking. But now you gotta describe where the code snippet is and they have to open it in their text editor and so on. Alternatively, you could open up your Git forge’s webpage and navigate to the file, copy a permalink and send it to them. Also takes quite a bit of time.
With the CLI, you can instead just paste the local file path and it gives you the permalink right away.
Similarly, you can also get a direct link to an issue or PR, which’s number you might’ve found in a commit message.There’s a release available for download for Linux x86_64: https://codeberg.org/trem/forge/releases
And if you’ve got the Rust toolchain on your system, then you can also install it like so:cargo install --git https://codeberg.org/trem/forgeP.S.: The implementation is somewhat hacky, because a Git repository doesn’t really know what webpage it was cloned from. So, please do let me know, if you run into any issues.



What I find most interesting about this, is that it undermines the whataboutism. It’s just not a relevant argument anymore that the USA, China, India etc. are not doing their part (according to cherry-picked metrics), when we’ll suffer the most.
Yeah, it would be great, if everyone could pull along, but we’ll have to minimize damages here either way.