Sunlionet

Installation Guide

This repository currently targets:

Migration note: this repository is still named SUNLIONET-agent during the transition. Some internal identifiers and older release artifacts may still use legacy SUNLIONET-* naming.

If you are installing for the first time, start here:

Build tags

Linux MVP quick path

For the full Linux-first MVP flow (bundle import, profile selection, config render, sing-box validation/launch), use:

Android install path

Development prerequisites

This repository pins its Go toolchain in go.mod via toolchain. If your local Go supports toolchains, go will auto-download the pinned version.

Optional tools:

Build

mkdir -p bin

go build -tags inside -ldflags="-s -w -X main.version=v0.1.0" -o bin/sunlionet-inside ./cmd/inside/
go build -tags outside -ldflags="-s -w -X main.version=v0.1.0" -o bin/sunlionet-outside ./cmd/outside/

Run tests

First seed bootstrapping (Inside)

Inside does not fetch from a central API. Initial seeds arrive via:

  1. Signal from a trusted Outside helper (snb://v2: bundle)
  2. QR code (in person)
  3. Bluetooth mesh (from nearby Inside peers during blackout)

Android notes

The release pipeline can publish a signed app-release.apk. For high-risk environments, verify checksums.txt and checksums.sig before sideloading.