notroot,

Adding a Fediverse Share Button to my Emacs Nikola Blog

Just to get extra meta, I published this blog post, then shared it to my account by clicking the "Fediverse Share Button" and writing these words you're reading right now.

Next I will grab the article ID of this toot, and rebuild and redeploy, so that when (if?) anyone replies to this toot, their replies will appear in the "Comments" section of my blog!

100% static site, written in Emacs, built and deployed using Nikola.

https://blog.notroot.online/posts/adding-a-fediverse-share-button-to-my-emacs-nikola-blog/

stefan,
@stefan@stefanbohacek.online avatar

@notroot This is very cool!

Definitely going to link to your blog post later when I'm back at my computer. Very nice!

notroot,

@stefan I used your Fediverse Share Button to post this! And now this reply will appear in the comments of the blog post.

The Fediverse is so cooool

stefan,
@stefan@stefanbohacek.online avatar

@notroot So cool, indeed!

notroot,

@stefan Thanks for making it, Stefan! That was a fun couple of hours getting it all to work just the way I wanted.

It works really slick, BTW. And it LOOKS GOOD too. Always a plus.

stefan,
@stefan@stefanbohacek.online avatar

@notroot Thank you, really glad you like the project!

notroot,

@stefan Like it? Nahhh... I love it!

I haven't clicked a "share" button in years because this is the only social media I have. No Twit, no Facebot. I saw one other attempt at a fediverse button, but I couldn't get it to work at the time.

Yours was stupidly simple to implement.

It was only a little more complicated because I'm using Nikola, so I had to figure out where to put the pieces. Once I had it all in place... it JUST WORKED. First time.

stefan,
@stefan@stefanbohacek.online avatar

@notroot Nice, really happy to hear that!

FYI I just pushed out some updates to address an issue that was reported when sharing selected text that's too long.

https://github.com/stefanbohacek/fediverse-share-button/

I didn't originally plan on hosting the JS/CSS files myself, but I'm starting to consider that now, as a default option, so that folks who use this get the latest version.

notroot,

@stefan That'd be amazeballs. Currently I would have to git pull and copy over and rebuild to get upstream changes.

I should probably move my CSS changes into my own stylesheet, and just override yours, too, so that I don't have to re-apply them later.

Honestly tho? I'm just happy it works. My blog isn't exactly ... quotable ... heheh. But the button is just too awesome. I NEEDED IT. Now I can annoy people with "New blog post dropped!" with button clicks instead of copy-pastes!

stefan,
@stefan@stefanbohacek.online avatar

@notroot Ha, fair enough!

Either way, as promised: https://github.com/stefanbohacek/fediverse-share-button/#tutorials

Great stuff, thank you, again!

notroot,

@stefan Neat! You're probably the first person besides me who has linked to one of my blog posts! 🤣

stefan,
@stefan@stefanbohacek.online avatar

@notroot Well, it's an honor!

  • All
  • Subscribed
  • Moderated
  • Favorites
  • fediverse
  • DreamBathrooms
  • ngwrru68w68
  • tester
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • InstantRegret
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • mdbf
  • tacticalgear
  • JUstTest
  • osvaldo12
  • normalnudes
  • cubers
  • cisconetworking
  • everett
  • GTA5RPClips
  • ethstaker
  • Leos
  • provamag3
  • anitta
  • modclub
  • megavids
  • lostlight
  • All magazines