In a previous article, I outlined how to set up your Hugo site so you can easily syndicate your articles to medium.com. I also provided a Postman collection that would do the heavy lifting of posting your new content. While that worked pretty well, I wanted to do a little better.
Namely, I wanted to make these improvements:
Remove the postman collection and replace it with a CLI tool that could be used in a terminal Remove the need to provide the URL of the post you wanted to send to medium.
Previously, I wrote about installing and using Homebrew. In that article, I briefly mentioned that you could pretty easily create and distribute your own apps using HomeBrew. Today, I’m going to cover how to do that step-by-step. In this article, I will cover the basics of creating a command-line app using the excellent Go package Cobra then show you how to easily and automatically publish your tool to a HomeBrew Tap so others can install it with a couple of simple commands.
If you are looking to get the most of every article you write, syndicating your content to Medium.com can help you get your content in front of more eyeballs regularly. When I write articles I usually start by posting them to my own website first, then taking the finished product and posting it to Medium.com. I then supply a canonical URL in the Medium.com article settings so search engines don’t see this post as duplicate content.
In today’s working environment, virtually everyone is asked to do multiple things at once. Stop for a minute and think about it. How many tasks do you have on your plate right now? Two? Five? Twenty? I bet your answer isn’t “One”.
The problem is true multitasking is impossible! Have you ever tried to attend two conference calls at the same time? (Come on, admit it, everyone has tried to pull this off at least once!
If you’re here watching this video, you probably want to learn more about HomeBrew. What the heck is homebrew, what does it do, how do do you install it? Well, let’s get into it and answer all those questions!
What is Homebrew? brew.sh According to the homebrew website at https://brew.sh/ homebrew is “The Missing Package Manager for macOS (or Linux)”, but what the heck does that mean?