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.
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.
>>I think you Lucifer don't know what I mean because you never worked with Github Gist.
<< That's a presumptuous and false statement.
>>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.
<<I've used Gist for code snippits and notes. Another alternative to gist for such purposes I've used is pastebin.com. I'm not constantly logged into GitHub/gitlab/sourcehut/etc and pastebin doesn't require a login in order to save/write content to the server.
>>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.
<<You can already share small pieces of code in toots. Sure, there's character limits - but that varies depending on the server. Again, what features are you looking for? If it's literally just everything you get from mastodon (but for code), then just start your own instance and make adjustments to your preferences. Perhaps you're overthinking things?
>>I believe ActivityPub can be used for such a purpose.
<<Mastodon implemented activitypub a long time ago. You can expand it's capabilities in your own federated server if you're not content with features another federated server provides. Qoto has a high character limit, for example; as well as having incorporated audio, video and matrix services. Though the matrix chat is kinda dead most of the time.
--------------------------
>>Do you any any #federated alternative to Github Gist?
<<So you want to post code and have users/bots be able to like/boost comment on it? You can do so freely here.
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.
@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;
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 @lucifargundam sounds like there’s some possible overlap with @forgefed there.
@max @theenoro @lucifargundam @forgefed
Just checked it out. Perhaps #gitpad must implement #forgefed instead of #activitypub ?
@farooqkz @lucifargundam
"ActivityPub is W3C standard, decentralized social networking protocol."
Saw "distbin" which could fit, but it's not maintained since 2019.
Sry for not being that helpful, I'm just tryin.