An (experimental) elegant TUI for configuring Tailscale.
翻譯準備中
安全Go · CGitHub @neuralink自行安裝營運者未確認
試用過了嗎? 點一下就好,不需要登入。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
安裝型專案無需部署網域也可驗證。個人儲存庫可透過 GitHub 登入驗證,組織儲存庫可使用上方的儲存庫驗證檔案。
製作者的介紹僅有上面的一句話。 更多詳情請閱讀儲存庫 README。 儲存庫 README ↗
正在載入完整 README。
檢視完整 README ↗An (experimental) elegant TUI for configuring Tailscale.
We built this because, while Tailscale has lovely desktop apps for macOS and Windows, Linux users are stuck configuring Tailscale with CLI commands. Some of tsui's features are:
Some things we want to add in the future:
We support tsui on macOS and Linux, both x86_64 and aarch64 architectures.
Run the installer:
curl -fsSL https://neuralink.com/tsui/install.sh | bash
You can also download the latest tsui release from the releases page. We distribute tsui as a single binary that shouldn't require any dependencies.
Once installed, you can run tsui:
tsui
There are a couple ways to develop and build tsui, depending on what exactly your goals are.
If you have Nix installed, this is likely your best option. It will guarantee your environment is set up consistently and the dependencies you need are available.
Make sure you have the nix-command and flakes experimental features enabled to use Nix flakes.
Develop with a dev shell:
nix develop
go run .
Run directly through Nix:
nix run
Build a binary for your platform:
nix build
./result/bin/tsui
If you want to use Nix, you can still build with the Go toolchain. You will need Go installed and, on Linux, libx11-dev. On Wayland Linux sessions, install wl-clipboard if you want native Wayland clipboard support; tsui falls back to X11 when wl-copy is unavailable. On macOS, you may also need the XCode command line tools.
Develop:
go run .
Build a binary for your platform:
go build .
./tsui
We provide scripts to generate cross-platform builds equivalent to those distributed on our releases page.
Prerequisites:
Build binaries for all platforms and architectures (only works on macOS):
./scripts/build-all.sh
Build Linux binaries for all architectures:
./scripts/build-linux.sh
For either script, binaries will be outputted to the artifacts/ directory.