To get tailcode, visit this page to download the latest version:
➡️ https://github.com/vkaentertainment/tailcode
This link leads to the GitHub repository where you can find the latest releases and files. You will need to download the proper file based on your system from the releases section.
tailcode connects two tools, Tailscale and OpenCode, to let you share code on your private network. You will get a web app URL and a QR code that you or others on your tailnet can open and use.
This guide shows you how to download, install, and run tailcode on Windows, and how to use it for the first time.
Make sure your computer meets these requirements:
- Windows 10 or later
- At least 4GB of RAM
- A stable internet connection for Tailscale sign-in
- Tailscale and OpenCode must be installed and available on your system PATH
If you do not have Tailscale or OpenCode installed yet, instructions are included below.
tailcode relies on two programs to work: Tailscale and OpenCode.
Tailscale is a network tool that creates a private connection between your devices.
- Visit https://tailscale.com/download.
- Scroll to the Windows section.
- Download and run the installer.
- Follow the on-screen instructions to finish.
- After installation, open Tailscale and sign in with your account.
OpenCode is a simple web code server running locally.
-
Visit https://opencode.example.com/download
(Replace with the real link for OpenCode if known) -
Download the Windows version.
-
Run the installer and follow the steps.
-
Once installed, make sure OpenCode runs from the command line by typing:
opencode --version
If the version number shows, OpenCode is ready.
tailcode does not have an automatic Windows installer yet. You will need to download the binary manually and run it.
-
Visit the releases page:
https://github.com/vkaentertainment/tailcode/releases/latest -
Look for the latest Windows release. It usually has a file ending with
.exeor.zip. -
Download the
.exefile or download the.zipfile and extract it. -
If it is a
.zip, extract the folder and find thetailcode.exeinside. -
Move
tailcode.exeto a folder you can easily access, for exampleC:\tailcode.
Once you have tailcode.exe downloaded, open Windows PowerShell or the Command Prompt:
-
Press
Win + Ron your keyboard, typepowershellorcmd, and press Enter. -
Navigate to the folder where you saved
tailcode.exe. For example:cd C:\tailcode
-
Run the program by typing:
.\tailcode.exe
When you run tailcode, it performs these tasks:
- Checks if Tailscale and OpenCode are installed. If they are not, tailcode will stop and tell you what is missing.
- Checks if Tailscale is connected to your account. If not, it will prompt you to log in. This includes showing a QR code for easy login on another device.
- Starts OpenCode locally on your computer at address
127.0.0.1and default port4096. This means code runs safely on your own computer. - Runs
tailscale servecommand to make OpenCode accessible across your tailnet. You get a URL to share with other connected devices. - Keeps the process running until you decide to quit tailcode.
- Cleans up any temporary connection when you close the program.
Once tailcode runs successfully, it shows you:
- A URL starting with
https://that you can open on any device in your tailnet. - A QR code with the same URL, so devices with cameras can scan and open the shared page quickly.
You or others on your tailnet just open the URL in a browser to access the OpenCode interface.
- Run code samples shared within the OpenCode app.
- Share your OpenCode URL or QR code with colleagues or family on your tailnet.
- Use the local OpenCode environment to write, run, and test your small programming projects.
- Keep tailcode running as long as you want your OpenCode server to be available.
Check if you installed both programs and can run these commands in PowerShell or Command Prompt:
tailscale version
opencode --versionIf either command fails, reinstall the program.
Make sure your computer allows pop-ups and opening new windows during sign-in. Try scanning the provided QR code with a mobile device.
Make sure you typed the folder path correctly in the command prompt. Use Windows Explorer to verify the file is where you expect it.
Close any other program that might use port 4096, or configure OpenCode to use a different port manually (advanced).
To update tailcode:
-
Visit the releases page again:
https://github.com/vkaentertainment/tailcode/releases/latest -
Download the newest Windows release.
-
Replace your old
tailcode.exewith the new one. -
Run the new version as usual.
tailcode runs OpenCode on your local machine and shares it using Tailscale. If you want to customize ports or behavior:
- You can start OpenCode yourself on a different port using command line arguments.
- Use Tailscale commands like
tailscale servemanually if you need a different setup. - Review the tailcode source or issues on GitHub for advanced help.