As part of my dive back into open source, I took a look at my blog, social networks, and other tools I’m using.
Well, maybe that’s not quite true. I’ve been tinkering with my blog for 16 years, I doubt I’ll ever stop, regardless of how I’m spending my time!
Twitter all the things
I’ve stopped using Facebook, Tumblr, Medium, and Instagram and doubled down on using Twitter for my “whole self”. Which in my case means posting cooking storms, long threads on travel, as well as lots and lots of tech.
For this post I’m not going to get into why I’m off other platforms. With Twitter, I’ve always seen it as of the web, at the very least – a link for every post. And, thanks to a long ago setup, I have an automatically updated archive of all my tweets.
Twitter once again made changes to their API for third-party apps. I’ve used Tweetbot for years with aggressive filtering to make using Twitter much much better. And Tweetbot still does that, but I’m worried for when that’s no longer possible.
And then Twitter locked my account and wanted to send an SMS to my Canadian number while I was in the US.
And that was a good reminder that that I should work on being less dependent on Twitter[^twitter-failure] as well.
MicroBlog is free to use. You sign up and then link in one or more feeds, either RSS/Atom or JSON, and it will publish these to your timeline, linking back to the original. It’s centralized in its namespace, but aggregates content.
You can pay for a few different things. If you don’t want to run your own blog, MicroBlog will run one for you. What I pay for is cross posting, which is only $2/month. This enables, on a per feed basis, linking in your Twitter, Medium, or LinkedIn accounts, and posting content to them. Facebook Pages are supported, but I haven’t been able to get that working, and that isn’t really what I want to spend time on.
Jekyll and Git
Since I use Jekyll for my blog, all of the content is text/HTML/Markdown files. I store them in Git, and have used a variety of tools to generate and serve up the static HTML site.
Currently I have the blog source in a private repo on GitHub and use a free account on Netlify to build and serve it1.
But, with a static site, I need to run a separate server if I wanted to accept short posts on mobile. Specifically, with MicroBlog’s iOS client, it talks to either a Wordpress site or to anything that can accept Micropub2 posts.
I talked to Pat, who was already doing interesting things with podcasts and Git to get things on MicroBlog, about what a little Microglue server would look like.
I’d want it to run on Heroku, talk to the GitHub API, understand Jekyll front matter and markdown, and speak Micropub.
I wrote this up as a series of issues in a GitHub repo with feedback from Pat, intending to place a couple of bounties. Time passed, I added a large BorisCoin3 bounty via Gitcoin, and then had ozkan leave me a note about an existing implementation.
Rube Goldberg IndieWeb
And so I dove into Pelle’s webpage-micropub-to-github. He pretty much wrote it exactly how I had hoped to have such a thing built.
It’s built in Node and has a Deploy to Heroku button which can get you up and running in minutes.
Of course, minutes turned into slightly longer as I worked on getting the entire IndieWeb toolchain configured and setup on my blog and various other places.
I documented the process in a Github issue and will likely fork Pelle’s code so I can experiment, bounty some issues, and generally make it work for me. And then contribute fixes upstream of course!
Is it working?
Since I was using live accounts for all of this, various messages made it through to different systems.
This one made it to twitter:
I may quite possibly be posting this via micropublish.net, to my own micropub server on Heroku, which turns it into Jekyll compatible md file and posts it to Github, which sends it to Netlify, which creates a feed for MicroBlog.
Which got me a “Saw what?” from @jimgroom.
I’ll turn a bunch of these things into issues and see how much farther I get.
I don’t have the MicroBlog iOS client working yet, and neither is the OwnYourGram site (which is really great for walking you through every step of getting your IndieWeb / MicroPub setup). Both need some upgrades to the server to work with media handling.
I also need to share the micro and full JSON feed templates that I made for Jekyll to syndicate to Microblog with. Stay tuned, and perhaps I’ll have time to actually organize a fun IndieWeb meetup in Vancouver soon.