Posting to Wordpress via Email with Mutt
Soemtimes you are hanging out in your terminal and you just want to be able to post something to your blog quickly. I was pretty inspired by Derek Siver’s OpenBSD post [1] where he really embraces the unix philosophy of having one tool to do a job correctly and putting together various small tools like this to come up with a solution for the problem that you are trying to solve with your computer. Wordpress with Jetpack makes it dead simple to post to your blog via email [2], even if you do not have a mail server configured. I was able to write a three line bash script to “automate” creating a new post from my command line.'
#!/bin/bash # Bash Utility to Post to Wordpress using Mutt subject="$1" WP_ADDRESS= mutt -s "${subject}" $WP_ADDRESS
I saved this file in /usr/local/bin/wp and whenever I am inspired to fire off some quick thoughts to this blog I can run wp “Blog Post Title” which dumps me into a vim buffer that once I complete is sent off via mutt to wordpress. [1] https://sivers.org/openbsd [2]https://jetpack.com/support/post-by-email/#examples
Thank you for reading! Share your thoughts with me on bluesky, mastodon, or via email.
Check out some more stuff to read down below.
Most popular posts this month
- 2025
- My Custom Miniflux CSS Theme
- 2024
- Setting up ANTLR4 on Windows
- Convert Markdown to PDF in Sublime Text
Recent Favorite Blog Posts
This is a collection of the last 8 posts that I bookmarked.
- Fedora Magazine: Contribute to Fedora 44 KDE and GNOME Test Days from Fedora People
- Pluralistic: bunnie's piggyback hack (09 Jan 2026) from Pluralistic: Daily links from Cory Doctorow
- Clicks Communicator from Chris Hannah
- A Year Of Vibes from Armin Ronacher's Thoughts and Writings
- Pluralistic: A perfect distillation of the social uselessness of finance (18 Dec 2025) from Pluralistic: Daily links from Cory Doctorow
- Moving from WordPress to Substack from charity.wtf
- Grow, Like a Tree Not a Cancer from Jim Nielsen’s Blog
- Pluralistic: All the books I reviewed in 2025 (02 Dec 2025) from Pluralistic: Daily links from Cory Doctorow
Articles from blogs I follow around the net
Un momento en Mazamitla
La semana pasada tuve un tiempo de desconexión en Mazamitla, un bosque con cabañas, naturaleza y paz.
via Martin Morales January 31, 2026Sketches
I've been sticking to a sketching routine recently: every day I draw at least once face.Faces are different for me than any other kind of drawing. Somewhere in the process the face looks real enough for me to recognize it as a human being, if it's…
via macwright.com January 31, 2026Pi: The Minimal Agent Within OpenClaw
If you haven’t been living under a rock, you will have noticed this week that a project of my friend Peter went viral on the internet. It went by many names. The most recent one is OpenClaw but in the news you might have encountered it as ClawdBot or MoltBot…
via Armin Ronacher's Thoughts and Writings January 31, 2026Generated by openring