HNHacker News
TopNewBestAskShowJobs

YuriiKovalov

13 karma · joined August 30, 2021

submissionscomments
YuriiKovalov··on The Finn – an agent that lives in my router and complains about it
It swears like a pirate, has an anatomy to complain about (antennas are ears, ports are fingers, the flash is its gut), and costs a couple of dollars a month. So far it has told me about a Dropbox LAN-sync port, somebody's DNS-over-TLS, and my own laptop waking up. None of it is useful. MIT, install script included.

600 lines of Lua on the router itself. lua + cjson + curl, one cron tick a minute, no cloud collector, no agent framework. It reads /proc and iwinfo, keeps a rolling 45-minute history of every reading in tmpfs, and only calls a model when something falls outside its own normal range. Then it decides whether that's worth saying, and usually it isn't.

A Gibson joke that got out of hand. In Mona Lisa Overdrive the Finn ends up as a construct in an armoured box bolted into an alley, and people come by to hear the oracle grumble. I had a GL-MT3000 on the office wall, so.

YuriiKovalov··on Show HN: CastLocal – Stream any local video to Chromecast from your terminal
I built a CLI and TUI for casting local video files to Chromecast devices.

The problem: VLC's Chromecast support has been broken for years. Chrome tab casting murders quality. I wanted something that just works from the terminal.

CastLocal auto-discovers devices, probes the video format, and if it's not natively supported (MKV, AVI, etc.), transcodes on-the-fly using ffmpeg with HLS segmentation — so playback starts in seconds, not minutes.

The TUI is a dual-pane Far Manager-style interface (nostalgia included). Left pane browses files, right pane shows devices as folders. F5 to cast.

Built with Python, pychromecast, Textual, and ffmpeg.

pipx install castlocal