Skip to content

Add cross-platform CLI client for macOS, Linux, and Windows#52

Merged
anonvector merged 3 commits intoanonvector:mainfrom
mirzaaghazadeh:main
Mar 9, 2026
Merged

Add cross-platform CLI client for macOS, Linux, and Windows#52
anonvector merged 3 commits intoanonvector:mainfrom
mirzaaghazadeh:main

Conversation

@mirzaaghazadeh
Copy link
Copy Markdown
Contributor

Summary

Adds a Go-based CLI client that connects via slipnet:// config URIs and runs a local SOCKS5 proxy, so desktop users can use SlipNet without the Android app.

Features

  • Cross-platform: macOS (Intel & Apple Silicon), Linux (x64 & ARM64), Windows (x64)
  • slipnet:// URI support: Parses base64-encoded profile URIs (v16 pipe-delimited format)
  • Tunnel types: NoizDNS (sayedns) and DNSTT
  • Configurable: --dns for custom resolver, --port for local proxy port (default 1080)
  • Auto-fallback: Uses authoritative server when DNS delegation is unavailable
  • SOCKS5 proxy: Local proxy with optional username/password authentication
  • Statically linked: CGO_ENABLED=0 for portable binaries

Changes

  • cli/main.go — CLI entrypoint, URI parsing, profile decoding, SOCKS5 proxy
  • cli/go.mod, cli/go.sum — Go module and dependencies (dnstt-mobile)
  • .github/workflows/release-cli.yml — Build and release workflow for all platforms
  • README.md — CLI section with usage, download table, examples, and build instructions
  • cli/.gitignore — Ignore built binaries

Usage

./slipnet 'slipnet://BASE64...'
./slipnet --dns 1.1.1.1 --port 9050 'slipnet://BASE64...'
./slipnet --version

@anonvector anonvector merged commit 65e65ed into anonvector:main Mar 9, 2026
@anonvector
Copy link
Copy Markdown
Owner

Thanks!

@mirzaaghazadeh
Copy link
Copy Markdown
Contributor Author

@anonvector Your welcome , just run release-cli.yml manually from action pages to it also release

anonvector added a commit that referenced this pull request Apr 12, 2026
Add cross-platform CLI client for macOS, Linux, and Windows
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants