Skip to main content
  1. Blog/

The Pipelines: Taking Automation to the next Level

·340 words·2 mins
Table of Contents

So I came across Shell Commands plugin the other day which has risen up the ranks to become one my favorite tools/plugin.

Scroll with me, Let’s explore my use cases.

Screenshots optimized for faster build and load speeds, sorry 😅. Cleaner version here

Publish
#

I created commands to publish new posts (written in Obsidian) to my websites AfterHours and Inkspire from Obsidian. I previously used VScode to do this—not anymore!

Comments underneath images

Publish: Inkspire

the-pipelines_image_1

Notes in Inkspire are copied to ~/quartz/content. Deleted items (folders, notes, images, etc.) in Inkspire are also deleted in ~/quartz/content.

the-pipelines_image_2

One command and Cloudflare does the rest.

Publish: After Hours

the-pipelines_image_3

I really took it a step further with this one. But that highlights the potential of this wonderful plugin.

the-pipelines_image_4

Typos? Not anymore!!!

Local Servers? Hello?
#

Local Server: Inkspire

the-pipelines_image_5

Simple & Direct.

Local Server: After Hours

the-pipelines_image_6

I simplified publishing to After Hours in just 2 commands. (1) New post (2) Publish post #Best_Investment_Ever

Utilities & Exxtras
#

Because why not?

Open Terminal Here

the-pipelines_image_7

I have long understood why power users prefer the command line: The versatility and potential is unmatched. Period.

Open Terminal as Admin

the-pipelines_image_8

My PowerShell profile is goated as is. This is me playing around with what’s possible.

Kill Running Servers

the-pipelines_image_9

I was having fun at this point. And it was fun.

Extras: Publish with Share Note

the-pipelines_image_10

Hugo has issues with processing heavy GIFs. Instead, I use Share Note to publish those notes/posts that benefit from that GIPHY touch.

Delete Posts too!?!?!

the-pipelines_image_11

A little proud of this one. Combine this with hugo local server run command and you have VScode’s live server extension feeling like a fraud.

Updated R* compile commands

the-pipelines_image_12

I created a RStudio project folder to house my Obsidian R notes/files (I’ll probably stick with RStudio because this is me playing around in Obsidian—a bad habit, if you will).

Pandoc

the-pipelines_image_13

Check out this post on writing manuscripts with Pandoc.

Conclusion
#

That’s a lot of custom commands (and I’m positive I’ll be creating more). See you in the next one!