Gist - A gem to upload gists from terminal

Whenever I wanted to share a piece of code with someone, I use GitHub’s Gists feature. It works great and offers embed options as well! Since I had been learning how to code Nodejs CLI apps in the past few days, I had been creating more gists than ever.

I realised it was cumbersome to open GitHub website to create the gist each time. I consider creating a CLI app as a challenge to address that problem, but as expected, there is already one!

It works great for my purpose and this gem is installable in various methods. Being a Homebrew fan, I used brew install gist to install, authenticated with GitHub and it’s good to go!

I can create new private gists with:

Paste content directly from clipboard:

Add a description as well to the gist:

The gem seems to offer a whole lot more. Check their GitHub readme section for details.

How I feel about GitHub’s new free plan

Today, GitHub announced that they are offering unlimited free private repositories for all users for free. I would have been very excited about this a few months ago, but I am not at the moment. I jumped ship to GitLab.com and I could say I am happy with it.

GitLab.com seems to offer unlimited free private repositories with no catch like GitHub. GitHub offers free private repositories are limited to 3 collaborations and there are no protected branches available.

Plus, they recently sold to Microsoft and I have been unhappy about that as well.

I am sure GitHub could grow with Microsoft’s leadership and money, but I have been leaning towards using services that aren’t necessarily controlled by the tech giants. I don’t want a monopoly world where giants like Microsoft, Google and Apple rule, but prefer small businesses to grow and offer innovative solutions to challenges. I would be happy to pay for such options as well.

Free open source software should be embraced. I am all for it!

GitLab.com has nice paid tiers as well, but I don’t have a need for them at the moment. But, hopefully when I become a better developer I would be happy to support them financially.

You should try GitLab.com if you haven’t tried so far, or maybe you can consider self-hosting GitLab as well.