Hello all. Do you any any #federated alternative to Github Gist?
#fediverse #snippet_sharing #snippet #code_sharing #code #snippet #programming #development #github #gitlab #gist
@farooqkz just make another repo? Or use pastebin? Not sure exactly what you mean.
@lucifargundam @farooqkz for me it sounds like selfhosted services. Cause there are many ways to selfhost gitea/gitlab/hastebin and so.
This is what I think fits. ¯\_(ツ)_/¯
But same as Lucifar I'm also not exactly sure.
I think you Lucifer don't know what I mean because you never worked with Github Gist.
Gist can be seen as some sort of special repo(actually it's a git repo) but optimized for sharing small pieces of code(usually a single file). A real repository would be an overkill for such a purpose and also it doesn't support comments the same way Gist does.
Think it of something like Mastodon but optimized for sharing small pieces of code in a single file or at most only a handful. People could comment, fav, boost, etc.
I believe ActivityPub can be used for such a purpose.
Hmm just checked pastebin.com it doesn't seem to be part of fediverse.
Yes perhaps I am overthinking it perhaps not. Mastodon definitely is the closest thing which exist but not perfect for code sharing.
Yeah I can write a clone of pastebin which is federated. But before I even think about starting such a project, I wanted to check with community if such a thing already exists :)
@farooqkz @theenoro
No, pastebin isn't federated- but it does have an API. If you're knowledgeable enough to run your own instance, you can likely run pastebin into it. Otherwise, you can write up a personal clone. This is all assuming you wanted pastebin.
Did you just want to see code and like it?
#!/bin/sh
echo "blah";
which sl;