Tag: Tech

There are 14 total posts tagged with "tech"

Yet another site rebuild, this time with Astro

Published:

Let’s be honest, I don’t really write that much, and I probably won’t “finally start writing more,” but I do like to tinker with my site and try new things. So here we are, another rebuild, this time with Astro.

It gave me the opportunity to learn a few new things, try some new ideas, and ultimately I like my site even better now—and boy is it blazing fast even though the script bundle is larger than before!

A screenshot of a 99/100/100/100 mobile Google Pagespeed score
73k.us mobile pagespeed score

Read more of "Yet another site rebuild, this time with Astro"

Another website revision with hugo

Published:

It’s been about a year since I redesigned my website using eleventy. I mostly liked the redesign, but had some reservations—both about eleventy, and some style nuances.

After long consideration, I decided to switch to hugo. Why?

Read more of "Another website revision with hugo"

Building this static blog with eleventy (11ty), lightningcss, esbuild, & minification

Published:

For half a year now I’d been considering building this as a static site. For years, I’ve mainly used WordPress, though I’ve toyed around with other methods several times over the years. I’m sure I’ll change it all again someday…

The thing is, while a web-based admin & writing interface seems desirable in theory, I found myself avoiding it. I basically live in my code editor anyway, why not make it the place I also write for my website?

Read more of "Building this static blog with eleventy (11ty), lightningcss, esbuild, & minification"

A little karaoke search, improved

Published:

My partner occasionally hosts some karaoke, and lately has been using software from OpenKJ, which is pretty nifty. The creator of that project released, some time back, a request service you can pay to use—it lets you upload your song library from the main software, and then lets people search and request songs while you’re hosting.

They also released a little standalone version of this that you can host yourself, which is right up my alley, so I’ve done that. However, it hasn’t been updated since 2018, and while the API hasn’t changed, the interface is a little wonky and not great on mobile. So for a while, I’ve been meaning to fork it and improve it…

Read more of "A little karaoke search, improved"

Caddy on OpenWrt with access to LuCI

Published:

After getting OpenWrt working on my EdgeRouter 4, since I’ve grown accustomed to the flexibility & ease of Caddy in other situations, I wondered if I could use it in this case. Turns out, yes! Especially thanks to Siger Yang’s notes and this cgi-ubus script. I had to make some adjustments on top of what Yang describes, so here’s what worked for me:

Read more of "Caddy on OpenWrt with access to LuCI"

OpenWrt on Ubiquiti EdgeRouter 4 (ER-4)

Published:

Mid-2021 I noticed it seems like Ubiquiti has quietly discontinued their EdgeRouter lines (they’re increasingly sold out, there haven’t been firmware updates in a while), and since I like to keep my devices’ firmware up to date I became a little concerned.

In looking for solutions I eventually found I could extend the life of my EdgeRouter 4, which is otherwise pretty solid hardware, by installing OpenWrt.

Read more of "OpenWrt on Ubiquiti EdgeRouter 4 (ER-4)"

Back to WordPress, with a custom theme

Published:

Ages ago, in the era of blogs, I used WordPress for a few years, but at the time I was too convinced that programming was too hard for me to properly learn enough web development to really customize things, and eventually I stopped writing as other interests drew my attention.

Here’s the boring story of how I ended up all the way back at WordPress after learning enough programming that nothing really scares me anymore…

Read more of "Back to WordPress, with a custom theme"

Elixir Phoenix Automated Deployment with Gitea/systemd

Published:

I don’t know if this is the “right” way to do this, but it’s working for me at the moment, and since it took a bit to figure out, I figured I’d write up my notes.

My needs are simple: when I’m happy with an update to my blog, or another elixir phoenix app I run, Shift73k (or more in the future), I’d like to be able to just commit to my repository, and then have those changes go live. At the moment I run both gitea and my other little apps on the same Linode, so I was able to set it up like this:

Read more of "Elixir Phoenix Automated Deployment with Gitea/systemd"

RSS Feed When Using Elixir Phoenix LiveView

Published:

While re-implementing my website in elixir/phoenix, I wanted to include an RSS feed for the blog posts. Luckily I found pretty much everything I needed in Daniel Wachtel’s Building an RSS Feed with Phoenix post, but since I’m making use of LiveView, I ran into one hiccup—errors about a missing root.xml layout!

Read more of "RSS Feed When Using Elixir Phoenix LiveView"

Blog, Incorporated

Published:

After a few months working with Writefreely, (kept separate from a static webpack-generated front page), I just really didn’t like the feel of keeping a blog in separate software with a database, when the content itself was just markdown. Probably the thing to do would be to hop on the static site bandwagon, but I’ve been spending so much time learning elixir & phoenix for other projects, I didn’t relish spending time learning a whole new toolchain.

Luckily, there are good resources on basing a blog off markdown files in Elixir Phoenix, in a manner basically as speedy as a static site. So…

Read more of "Blog, Incorporated"