DEV Community

Jonathan Carter
Jonathan Carter

Posted on

VS Code + GitHub Gist = Developer Micro-Blogging (aka a "GistLog")

In a previous post, I introduced GistPad, a new VS Code extension that provides an in-editor scratchpad/code snippet manager, built on top of GitHub Gists. However, after releasing the extension, and talking with many developers, I learned that there was another interesting use case for Gists, that could benefit from further optimization: documentation/mini-blogging. Since Gists are persisted, tied to your GitHub identity, and easy to create, they represent a great solution for maintaining your personal "knowledge base" and sharing it with your team/colleagues/friends 📚

In order to reduce context switches, and allow you to easily document/retain valuable information as you acquire it, GistPad now allows you to create micro-blog posts directly from VS Code, and stored as GitHub Gists. Since VS Code is a world-class markdown editor, this provides you with an awesome authoring experience, that is easy and familiar to use. Finally, by means of an integration with GistLog, your micro-posts are easily shareable with others, thanks to a beautiful web publishing experience and support for RSS subscription 🚀 Check out what this looks like in the following gif:

I'm excited to see how this can be used as a middle ground between tweeting and blogging, where the information you want to share/retain is more than a quick thought, but not quite an entire post. Additionally, since GistPad allows you to easily migrate local files/snippets to Gists, this makes it really easy to write content that is centered around what matters most: code. If this experience looks at all interesting and/or you get a chance to check out GistPad, please let me know what you think and any feedback you may have. I want this extension to be by and for the community 🙌🏻

For more details, check out the documentation for GistPad's micro-blogging support here.

Top comments (8)

Collapse
 
chipp972 profile image
Nicolas Pierre-Charles

I think Gists are good if you want to share or keep somewhere small unrelated documents (vscode config, plugin list, some script to setup your environment, your .bashrc/.bash_profile, some notes taken listening to a podcast...)
But as soon as you create a lot of them (blogging, knowledge base, code snippets...) you will need to organize them to find them more easily and I miss the tree-based architecture of file systems for that (that's why I just create a repo).

Collapse
 
rohansawant profile image
Rohan Sawant

Whoa, I had no idea this was possible

Collapse
 
lostintangent profile image
Jonathan Carter

Gists are so unbelievably flexible, but I’ve found that many developers aren’t familiar with them or just haven’t got around to trying them. So I’m really keen to help improve their usability for various scenarios (e.g. saving code snippets, curating a personal knowledge based on lightweight notes, etc.), and see how we can leverage them as a “universal developer cloud storage”. If you get a chance to check out GistPad, I’d love to hear what you think 👍

Collapse
 
ilanvivanco profile image
Ilán Vivanco

You're definitely improving this extension at light speed, and this has been a great extension from the very beginning!

Collapse
 
calledtoconstruct profile image
Joseph

This is very cool. I can't wait to start using the extension.

Collapse
 
lostintangent profile image
Jonathan Carter

Let me know what you think after giving it a try! 🙌

Collapse
 
maheshkale profile image
Mahesh K

Awesome this is so cool. I wish Netlify and others adopt something like this. As it reduces time from current publishing flow.

Collapse
 
waylonwalker profile image
Waylon Walker

I miss being able to host gists with rawgit. I used to do some single file data viz that was hosted as a gist. It was super simple and fun.