Skip to content

Latest commit

 

History

52 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

srunc

Tiny static-binary client for srun (深澜) captive portals.

Install

Pick your platform:

  • OpenWrt — opkg install the .ipk, configure via LuCI
  • Debian / Ubuntu — apt install ./srunc_*.deb, runs under systemd
  • Prebuilt binary (macOS / Windows / other Linux) — cargo binstall srunc or a tarball from the release page
  • From source — cargo install srunc

Usage

srunc login          # prompts for username + password
srunc login -k       # keep the session alive (re-auth on drop)
srunc status
srunc logout

Host and ac_id are auto-discovered from the captive redirect — most networks need nothing more than username + password. To skip the prompt, drop a config at ~/.config/srunc/config.toml (see docs/config.example.toml).

Figures

OpenWRT

openwrt

About

Tiny static-binary client for srun (深澜) captive portals.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages