Hi,
I’m looking something (a website ?) to quickly share code.
That have the following attribute
- not especially need to register !
- syntax highlight for a various languages (especially 🐍 Python )
- users can upload modified version of the code
- Can show the difference between versions (modified, added, removed ) with color and nice interface.
- Something that respect as much the gnu philosophy (so nothing like Github etc…)
Thanks.
The admins just launched a bunch of new services, including Blocks. I’m not sure if it checks all of your boxes. But it’s an obvious choice to look into
Thanks @Lodra@programming.dev ,
This is looking great, sadly Opengist
on which Blocks
is based. is written in Go
:/ and I can’t support that[1]
Belong to google & https://go.dev/PATENTS ↩︎
Well that’s an interesting take! What aspects are you opposed to?
IANAL but I did read through the patents agreement that you linked. It basically says do whatever you want with Go as long as it different infringe on Google patents. Which is pretty much backed by US law anyways and I assume other countries as well. The sketchy part is that your license is revoked as soon as they file a lawsuit rather than win it. Honestly, I’d be surprised if Google ever used this in a legal dispute because there would be a huge community backlash.
That also only applies to Go developers. You would only be a user for a tool written on Go. How does your using a tool written in Go translate to support for Google and its bad practices? Do you not use any software written in Go?
Sorry if this is sounding argumentative! I’m generally a big fan of Go and definitely opposed to Google and using its products. This is a topic that I haven’t considered before so my questions represent my sincere curiosity.
A lot of the classic “pastebin”-type solutions get overrun by phishers and other scammers if they don’t require registration.
A pastebin with either automatic syntax highlighting or markdown code fences ought to work.
This one has most of what you asked, though I don’t see a diff feature:
https://rentry.co/zpfbc5i6
Gitea. Self-hosted.
Standard forgejo shoutout. It is a fork of gitea with more features following the foss philosophy. It is codeberg’s backend https://forgejo.org/2024-02-monthly-update/
TLDR; if, as OP mentioned as a desirable criterion:
Something that respect as much the gnu philosophy (so nothing like Github etc…)
Gitea might not specifically be the best self hosted GitHub clone to use.
I use it. I self host it. But if you’re prioritizing FOSS philosophies, there are other GitHub clones that would fit the bill.
Thank you very much @Windex007@lemmy.world , any names for GitHub alternatives ?