stefan, (edited )
@stefan@stefanbohacek.online avatar

I'm prototyping a fediverse sharing button. Anyone interested in giving it a try?

Feature highlights:

  • shows a logo of supported fediverse software
  • lets you share selected text
  • remembers the last fediverse domain used

Demo: https://fediverse-share-button.stefanbohacek.dev/
Download: https://github.com/stefanbohacek/fediverse-share-button/

#fediverse #FediverseSharingButton

stefan,
@stefan@stefanbohacek.online avatar

Featuring icon set created by @liaizon!

liaizon,
@liaizon@wake.st avatar

@stefan this is AMAZINGGGGGG! THIS IS EXACTLY what I was hoping they would be used

stefan,
@stefan@stefanbohacek.online avatar

@liaizon Thank you! And thank you for the amazing work putting this together!

I wonder if you accept suggestions/requests 🙃

https://github.com/stefanbohacek/fediverse-share-button/blob/main/fediverse-share-button/icons/todo.txt

liaizon,
@liaizon@wake.st avatar

@stefan I have all those in the pipeline and will happily add them asap! And yes feel free to open any issues you have http://codeberg.org/FediverseIconography/pages/issues

stefan,
@stefan@stefanbohacek.online avatar

@liaizon Will do, thank you!

stefan,
@stefan@stefanbohacek.online avatar

Very easy to customize to fit your site, too!

#UXUI #WebDesign

billturner,
@billturner@dice.camp avatar

@stefan This is very neat! I did run into a hiccup though, and submitted your first Github issue. (Sorry! :))

stefan,
@stefan@stefanbohacek.online avatar

@billturner Ha, no need to apologize, I really appreciate you reporting this!

stefan,
@stefan@stefanbohacek.online avatar

@billturner Hmm, this being a Mastodon instance, it should support sharing via URL. Are you still seeing this note?

billturner,
@billturner@dice.camp avatar

@stefan I was adding my username to the end of the URL. I think that's when I got the error. Initially it didn't seem like putting just the domain was working/did anything. A later try and it worked just fine when putting in only the domain.

stefan,
@stefan@stefanbohacek.online avatar

@billturner Ah, got it, thank you for clarification!

Netux,

@stefan worked good, would be nice if it had a way to keep your server saved so you don't have to enter it each time.
Also took me to it where I would have to log in instead of just using my login rust was active. Not sure why.

stefan,
@stefan@stefanbohacek.online avatar

@Netux Thank you for giving this a try!

Interesting though, not sure why you'd have been logged out, at least I can't think of how the sharing button could affect that

Also, the last domain does get saved, after you click the Share button. Mind sharing a bit more about what OS and browser you're using so I can look into this a bit more?

gunchleoc,
@gunchleoc@mastodon.scot avatar

@stefan Some feedback:

  • There is no hint that you have to select some text first.

  • When I select too much text, I get an Error code 502 from Cloudflare

stefan,
@stefan@stefanbohacek.online avatar

@gunchleoc Thank you for trying this out!

So you don't really have to select any text, by default the page title and URL are used.

Let me look into how to best surface this functionality. And I'll definitely look into the error when too much of the text is selected. Thank you for reporting that!

gunchleoc,
@gunchleoc@mastodon.scot avatar

@stefan When I clicked the button without selecting anything, nothing happened, but it's working now. Maybe I didn't click properly or something.

stefan,
@stefan@stefanbohacek.online avatar

@gunchleoc Ah, got it, maybe something else was broken and got fixed.

Thank you, I appreciate all your help!

pavsmith,
@pavsmith@theblower.au avatar

@stefan what's it for?

stefan,
@stefan@stefanbohacek.online avatar

@pavsmith It's something you can add to your site to make it easier to share it across the fediverse.

See a demo here: https://fediverse-share-button.stefanbohacek.dev/

You can scroll to the bottom, you will see a field where you can put your fediverse domain, eg. theblower.au.

fu,

@stefan the same bookmarklet code you use for Diaspora should work for Friendica too. https://wiki.friendi.ca/ressources?s[]=share

stefan,
@stefan@stefanbohacek.online avatar

@fu Oh wow, yes, thank you so much!

fu,

@stefan before I learned that I was using "Share to Mastodon" that I had configured to a Mastodon account that my Friendica Account re-toots everything it toots, though depending on what I was doing I preferred to manually copy/paste the URL so that I could include proper BBCode like [url=https://full.text-of.url][/url] so that the URL preview would look the way I wanted it too.
[=bbcode]Friendica BBCode tags reference - Documentation [Friendica / Wiki]](https://wiki.friendi.ca/docs/bbcode?s%5B)

fu,

@stefan While share to mastodon didn't recognize my friendica instance as a valid Mastadon instance, it did recognize both my Soapbox and GNU Social accounts as valid, but neither works right, GNU Social just shows a pop-up window indicating "internal server error NO SUCH USER FOUND" whether I'm logged in or not, if I am logged in it shows my personal preference for the GNU Social interface and a log out button while if I'm logged out it shows the default interface and a log in button. On my Soapbox account it just opens a pop-up for a new post with no info pre-populated in the text input box.

fu,

@stefan

On similar notes Friendica nativeily supports RSS so I have used kill-the-newsletter.com to set up an email address I call "tooty mail" that lets me just type an email from any email account in the world, like when I'm at work where much of the web, including my Frienidca instance, is blocked, if i have something on my mind. (With native RSS support almost half of my "friends" are RSS feeds, with nearly half of those being email newsletters, which leads to me reading more of that content in general AND making my email inbox easier to manage actual important email communication.

fu,

@stefan
I really had hoped to find a way to set up something more similar to what tweety-mail was back in the day where when you emailed from (a) certain authorize(d) email address with certain commands it would post text of the mail, return X number of recent notification via email, return X number of recent toots from a given feed, or comment on a particular toot included in that return, etc. But I'm not smart enough to do so and I couldn't find a way to explain what I wanted to anyone that I could pay to make a FLOSS tool available to anyone.

stefan,
@stefan@stefanbohacek.online avatar

@fu Ah, thankfully you don't have to be particularly smart to write open-source code, otherwise I'd be in trouble 🙃

konradw,

@stefan sharing via IPFS ?

stefan,
@stefan@stefanbohacek.online avatar

@konradw Sorry, mind elaborating a bit?

cybeardjm,
@cybeardjm@masto.ai avatar

@stefan Waiting for the WordPress plugin version 🤔

stefan,
@stefan@stefanbohacek.online avatar

@cybeardjm Funny, I haven't actually thought about that. I didn't really make a WP version for https://simplesharingbuttons.com either.

But this is a great idea, it can definitely help with adoption. Thank you!

cybeardjm,
@cybeardjm@masto.ai avatar

@stefan You might even combine the 2 in 1...

stefan,
@stefan@stefanbohacek.online avatar

@cybeardjm I've thought about that, but I'm honestly done with corporate-owned social media. I'm still pretty attached to this old project as it's one of my most popular ones, I've had people make donations over the first few years, and I was also recognized as the creator on a job interview.

I haven't touched it in a while, but I really can't bring myself to shutting it down.

cybeardjm,
@cybeardjm@masto.ai avatar

@stefan Don't shut it down, there's no reason to do so, but expand it to :fediverse:

stefan,
@stefan@stefanbohacek.online avatar

@cybeardjm Fair enough, I'll give it some more thought!

canrith6696,
@canrith6696@mastodon.social avatar
stefan,
@stefan@stefanbohacek.online avatar

@canrith6696 Nice, thank you for sharing this!

stefan,
@stefan@stefanbohacek.online avatar

Huge thanks to everyone sharing this, and for trying it out!

I added an FAQ section: https://github.com/stefanbohacek/fediverse-share-button/#faq

Anything I missed, or should elaborate on?

Marius,
@Marius@framapiaf.org avatar

@stefan
This works amazingly well !
Thank you for putting this online and for the sharing 😁

stefan,
@stefan@stefanbohacek.online avatar

@Marius Thank you, really appreciate you trying this out!

notroot,

@stefan Cool! I just tried it and it works with , too. Probably because Sharkey uses Mastodon's front-end API instead of Misskey's.

So you can add support for Sharkey to the list of supported software!

stefan,
@stefan@stefanbohacek.online avatar

@notroot Nice, thank you for confirming!

liilliil,
@liilliil@mastodon.online avatar
stefan,
@stefan@stefanbohacek.online avatar

@liilliil Very interesting, thank you for sharing this!

schmaker,

@stefan
Nefunguje s friendicou - nevím, zda vada či vlastnost.

stefan,
@stefan@stefanbohacek.online avatar

@schmaker Nevyzera to, ze Friendica podporuje tuto URL: https://stefanbohacek.com/blog/making-fediverse-apps-for-everyone/#sharing-dialog

Alebo ma iny format, ak vies nahodou?

Kazdopadne, malo by sa zobrazit varovanie.

schmaker,

@stefan
Varování bylo, s tou URL nevím. Když na to nezapomenu, zkusím na to mrknout až budu doma

stefan,
@stefan@stefanbohacek.online avatar

@schmaker Super, velmi pekne dakujem!

schmaker,

@stefan Vidím, že blogpost je updatnutý a byls rychlejší než já. Díky.

Mně včera noťas okupovaly děti 😁

stefan, (edited )
@stefan@stefanbohacek.online avatar

@schmaker Ha, rodina príde vždy prvá :-D

A hej, niekto mi poslal odkaz, nejako mi to predtým ušlo.

Každopádne ďakujem za ochotu a prajem pekný víkend!

nickdrawthing,
@nickdrawthing@dice.camp avatar

@stefan The demo page seemed to work for me!

stefan,
@stefan@stefanbohacek.online avatar

@nickdrawthing Great, thank you for trying this out, I appreciate it!

FifiSch,
@FifiSch@mastodon.social avatar

@stefan looks ok.

And thank you for creating this. Always wondered why nobody built it yet. Seems like such an important feature.

stefan,
@stefan@stefanbohacek.online avatar

@FifiSch Ďakujem za vyskúšanie!

Pár podobných projektov existuje: https://stefanbohacek.online/@stefan/112456775077943455

Ale mne sa najviac páči moja verzia :-)

stefan,
@stefan@stefanbohacek.online avatar

@ErikUden compiled a list of similar projects on his own take on this functionality: https://github.com/Uden-AI/fediverse-share#similar-projects-to-compare-to

Some of these seem no longer active, and some are Mastodon-branded, which is in part why I made this.

stefan,
@stefan@stefanbohacek.online avatar

I'd also love to hear from folks who use alternative solutions. Or maybe avoid them on purpose?

skyfaller,
@skyfaller@jawns.club avatar
stefan,
@stefan@stefanbohacek.online avatar

@skyfaller @ErikUden @ben Yes, someone else mentioned this, very cool project. Thank you for pointing me to it!

ErikUden,
@ErikUden@mastodon.de avatar

@stefan Thank you so much for making this. I will update my repo to point it to yours, because yes, I'm very much lacking the time to continue it!

Wow, this is so much better!!

stefan,
@stefan@stefanbohacek.online avatar

@ErikUden Hah, thank you, very kind of you! I don't know if better, but I think it's good for people to have a variety of options to pick from :-)

Andres,
@Andres@mastodon.hardcoredevs.com avatar

@stefan works for me

stefan,
@stefan@stefanbohacek.online avatar

@Andres Awesome, thank you so much for trying this out!

fu,

@Andres @stefan hahahaha

stefan,
@stefan@stefanbohacek.online avatar

@fu @Andres Hm, yes?

stefan,
@stefan@stefanbohacek.online avatar

@fu @Andres Oh, the text on the page, perhaps?

stefan, (edited )
@stefan@stefanbohacek.online avatar
  • All
  • Subscribed
  • Moderated
  • Favorites
  • fediverse
  • ngwrru68w68
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • megavids
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • provamag3
  • JUstTest
  • All magazines