kivikakk.ee

sanguichitos!

I have a longer post about k8s cooking, but for now—

An hour and a half ago, I found this to-do created around 2am this morning:

screenshot of a todo app open; there's a lot of other text, but readable is "adc discord bot in elixir which subs twitter links for vxtwitter ...", and that it was created at 1:42 am todayI decided that, as annoying as dealing with Discord and OAuth and all kinds of things is, if I can’t make this happen and have it deployed and managed within the same sit as thinking about it, I need to know that.

The idea in that ellipsis isn’t a very new one: I look at Twitter and like to drop links to art I see there in Discord to my wife/puppygirl/bestie/whatever is going on between us that day. Twitter’s embeds aren’t very good; vxtwitter.com/fxtwitter.com make them better, and so I use them habitually by editing the links manually after pasting/before sending. Automate it with love.

In 90 minutes, I have an Elixir app, reproducibly built with Nix, reproducibly OCI-packaged, and deployed into k8s.

(The curious will find that secret created here — I bring up NixOS with any new secret definitions, vyx creating them via sops, before pushing/having Flux reconcile any new items referring to them.)

It works really well! It’s the same setup for my blog these days (— can’t believe my blog is on k8s, but oh well —), and soon nóssa too.

screenshot of discord, showing a bot user named CHOG dropping an fxtwitter link