Lih2
Lih2 is a bash script I use to maintain my personal blog. It uses wrang to compile markup posts into HTML. No runtimes, no package managers, no config files beyond a simple shell script --just download one file and go.
No
setup. No fuss.
What it does
-
init
--scaffolds a new blog with posts, drafts, compiles, and a starter config-
new
--writes a post (or pass
-- to keep it private until ready)-
edit
rm list
publish --manage your posts and drafts from the terminal- make --compiles every post, regenerates the index, prunes stale output, and writes an RSS feed.xml
- serve --spins up a local preview server (needs python3)- wrang auto-install --if wrang isn't on your PATH, lih2 downloads the latest release for you
Blog config
A plain blog.conf
file lets you set the title, author, description, and URL. That's it. No YAML, no TOML, no JSON.
Who is this for?
I was tired of having to set up tools that should just work out of the box. Lih2 isn't portable (it is just a shell script), but for a personal Linux blog it's all I need.
If you're interested, visit
the github repo
and check out the README.