eh the past two weeks were mostly tork, fucking around with my dots, and rebuilding this site more times than any normal hooman should. atuin says 234 rebuilds.
calling this between rebuilds. every 15 days or so ill just dump whatever i was messing with. not a changelog, just like a large log, so i can keep track of time.
tork
tork went from a small torrent search tui to a whole terminal client somehow.
you throw it a search, magnet, infohash, local .torrent file or url and it just figures shit out. groups duplicates, checks the swarm, lets you preview files, handles the download without bouncing you to another app. also got a linux iso section cuz finding official isos shouldn’t take twelve tabs.
working on autopilot too. you can say something like:
tork autopilot "all breaking bad seasons 1080p under 40GB"and it searches, picks the good results, explains its choices, and asks before downloading anything.
the annoying part is torrent metadata is very chaotic. names, seasons, sizes, quality tags, everyone’s writing them with different levels of iq. correctly classifying stuff is way harder than making the command look cool. idk how far i wanna take it yet.
strict socks5 proxy support now. searches, http trackers, tcp peers all go through it. dht, utp, udp trackers get disabled so nothing leaks around it.
tork proxy tor
tork doctor --proxy-checksubmitted it to nixpkgs, as the repo is still kinda new, so they need some kinda signal that people are using it, that part is still in draft. if we somehow manage to reach like 250ish stars (we wont), i guess then i will try getting it into official homebrew too. for now it’s in my tap.
current release v0.3.1 somehow.
dots
fucked with my dotfiles a ton.
tried aerospace, amethyst, basically every tiling wm on mac. they all kinda suck rn. or maybe macos dev beta 3 broke everything. or maybe it’s just me idk eh.
tried nehir too, like niri’s scrolling layout but for mac. used it for a bit and it’s actually pretty good ngl. scrolling wms just feel better to my brain than forcing perfect grids all the time.
still ended up doing the parts i care about in hammerspoon anyway.
hhkb right command remapped to F18, hammerspoon turns it into a hyper layer. hold it + h j k l to move focus. the consistency is nice, F18 + h always means left, whether in zellij or windows or just navigation in general. So it feels kinda natural navigating.
might have a tab problem in zellij lol.
whole mac is still nix-darwin + home manager so after every experiment:
nh darwin switchand hope i didn’t just invent a new way to break fish. (i actually did)
the site
site’s still hakyll. markdown in, static site out. the whole build lives in one nix flake now.
nix build .#sitebuilds the haskell generator, runs hakyll, spits out the site. github actions runs the same thing and publishes to pages.
old ci took like 30min rebuilding the entire haskell world every time. now generator and content are separate nix inputs so changing a post reuses the expensive build. with cache it’s usually around a minute.
it got it all somehow lol, but yea its kinda fast now.
hammerspoon stats
weird input numbers on the about page come from hammerspoon.
it watches keypresses, clicks, scrolling, mouse movement, dragging and writes totals to a local json every few seconds. once a day or on publish it copies the snapshot into the site. hakyll reads the json and turns it into that little panel with keys, mouse distance, scroll distance, clicks. completely useless info, which is exactly why i wanted it.
live logs
log panel used to be editing log.md, committing, and redeploying for every one-line thought. funny idea with a terrible implementation.
now log "message" hits a cloudflare worker. worker verifies, cleans it, adds timestamp, stores in d1.
terminal or discord
-> cloudflare worker
-> d1
-> browser polls /logs every 5s
public site only reads from GET /logs. write token stays on my machine. static pages have a loading placeholder instead of old logs baked in.
same worker handles discord /log command too. both use the same validation and db so i don’t have two different systems.
fin
that was basically it. torrents, window managers, and a static website slowly becoming less static.
imma go back, my limit is about to reset lol. see you after the next rebuild.