Writing a tailscale native app with tsnet 0 ▲ Elliot Blackburn 2 hours ago · 7 min read1369 words · Tech · hide · 0 comments This week I finally got an opportunity to sit down and play around with the tsnet library from Tailscale. I used it to build a demo application called TSHelp. This is a short write up of what I built and learned.What is tsnet?Lets start with the description from Tailscale's documentation.tsnet is a library that lets you embed Tailscale inside a Go program. With tsnet, you can programmatically make direct connections to devices on your Tailscale network (known as a tailnet), just like any other device in your tailnet would.Essentially, it's a Go package born out of the Tailscale client open source code. Tailscale use it themselves to build new products and features, so it is as fully-featured as it gets.The primary use case is being able to open a listener on the tailnet to service requests (like a http server, for example). Although it also comes with a number of other tools as well.Native Tailscale applicationsWith tsnet, it is possible to build a program which directly connects to a… No comments yet. Log in to reply on the Fediverse. Comments will appear here.