Skip to content

自动登录校园网,支持多账号均匀负载与自动切换,实现轮询

License

Notifications You must be signed in to change notification settings

FF-crazy/CAU-Auto-Sign-In

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CAU Auto Signin Program

  • If you have a home router in your dorm, it's the best way to share it with roommates. However, you may concerned about you poor data overused. Try use this light script for getting help.

usage

  • uv run main.py help gets help
  • uv run main.py now shows current account logging in
  • uv run main.py logout will log out your account anyway
  • uv run main.py auto-select chooses the best one account to log in
  • uv run main.py login [NUMBER] will login the account you chosen whatever it meets conditions or not

condition

  • It will priorly choose one who has unlimited data(YOUR CONFIG), then select other by order, if it has used less than YOUR_CONFIG data.

installation

  • You need to install uv if you havn't done.
  • Use independent environment
uv venv && uv sync
  • Add your account to accounts.toml or cp accounts.toml.example accounts.toml

future assignment

  • 加入守护进程,每天定时自动轮循(可操作性存疑,毕竟你也不想打游戏的时候突然断线吧),这个有需求的自己找个ai糊一个脚本完事了
  • 用Rust重写()已经实现了

About

自动登录校园网,支持多账号均匀负载与自动切换,实现轮询

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages