Share buttons for the #Fediverse.
https://gitlab.com/distributopia/share-connect-support
@punk No es mi creacion. Es un projecto de https://gitlab.com/lostinlight
@xuv Not very practical to integrate for now. As the icons require Javascript anyway, why not integrate all of this in Javascript instead? That would be more practical.
@xuv How do you get share buttons to work when every reader is potentially on a different server?
@rosjackson @xuv Have you tried them? They ask you for your instance url.
@xuv Not yet. I'm just looking at the code and scratching my head at the moment. I assume
placeholder="Mastodon URL (witches.town)"
is the bit of code that does this?
@rosjackson There is a demo page here to see it in action: https://distributopia.gitlab.io/share-connect-support/
@xuv Thanks. That's really cool.
@xuv serious Q:
does anyone really like share buttons like these? I always just want a single share button that gives me a shortish url that I can share anywhere or an embed option
@bug @xuv tbh I started blocking share buttons years ago before I even know about tracking scripts and whatnot just 'cause I got sick of seeing "facebook.com" in the bottom of the page while I waited 3 extra secs for an article to load
but then I had really slow internet so I guess most folks didn't have that issue either so 🤷♀️
@xuv what is the license, eg can I use it on a company website (which is just me basically)
@kyzh Good question. File an issue to ask which license they use.
@xuv sorry I was under the impression it was your project. I'll open an issue indeed.
That was quite a blunt request in my part. Sorry again
@kyzh No problem. I should have made it clearer it was not my project.
@xuv These look awesome, but how does the Mastodon one work without knowing the sharer's instance beforehand?
@quarktheawesome Try the demo. It will show you how. :)
@xuv That works, lol. Awesome job with these.
@quarktheawesome Just fyi, it's not my work. I'm just a messenger.
@xuv
>having hubzilla
@xuv Thanks for spreading the word! 😃
The idea for sharing buttons was sneaked from FSFE (at the bottom)
https://fsfe.org/contribute/web
They're using PHP (somewhere here in git)
https://git.fsfe.org/FSFE/fsfe-website
I used Javascript, because needed buttons for a static site.
@kyzh Sorry, added license.md. Use it and abuse it.
P/s there's also a stickers repo (WIP), very welcome for designers' contributions
https://gitlab.com/distributopia/sticker-bay