this post was submitted on 13 Mar 2024
5 points (63.2% liked)

Programming

16975 readers
1288 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 1 year ago
MODERATORS
 

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.

all 11 comments
sorted by: hot top controversial new old
[–] [email protected] 14 points 6 months ago

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

[–] [email protected] 12 points 6 months ago

A lot of the classic "pastebin"-type solutions get overrun by phishers and other scammers if they don't require registration.

[–] [email protected] 6 points 6 months ago
[–] [email protected] 3 points 6 months ago

https://topaz.github.io/paste/ This one encodes you text or code entirely in the url. No signup, since it's just a github page

[–] [email protected] 3 points 6 months ago (2 children)
[–] [email protected] 5 points 6 months ago

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/

[–] [email protected] 3 points 6 months ago* (last edited 6 months ago) (1 children)

https://news.ycombinator.com/item?id=34011581#:~:text=Background%20story%20seems%20to%20be,own%20community%20as%20a%20consequence.

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.

[–] [email protected] -2 points 6 months ago (1 children)
[–] [email protected] 2 points 6 months ago* (last edited 6 months ago)

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

[–] [email protected] 1 points 6 months ago