Get the latest tech news

Libations: Tailscale on the Rocks


A deep dive into my home grown cocktail recipe app which speaks Tailscale natively using tsnet, and serves up delicious drinks direct to your tailnet. Libations is built with Go, Nix and Vanilla Framework.

Rather than using the universal TUN/TAP driver in the Linux kernel, tsnet instead uses a userspace TCP/IP networking stack, which enables the process embedding it to make direct connections to other devices on your tailnet as if it were “just another machine”. Unfortunately it was given to me in a hard-to-parse PDF, which resulted in many hours of playing with OCR tools and manual data cleaning - but enabled me to bootstrap the app with around 450 high quality recipes. Setting up the tsnet server and listener is only mildly more complicated – but mostly due to my requirement that all HTTP traffic is redirected to HTTPS, using the LetsEncrypt certificates that Tailscale provides automatically.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Tailscale

Tailscale

Photo of rocks

rocks

Photo of Libations

Libations

Related news:

News photo

Watch this robotic wheelchair’s compliant wheels take on bumps, rocks and stairs

News photo

Google brings the AI feature that told Americans to eat rocks to six more countries

News photo

Rocks from the far side of the Moon landed in Mongolia on Tuesday | The mission has significance for the Moon race between China and the United States.