@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.

@theenoro @lucifargundam

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.

@farooqkz @theenoro

>>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 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.

@lucifargundam @theenoro

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;

Follow

@lucifargundam @theenoro

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 :)

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.