Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 1.18 KB

File metadata and controls

29 lines (20 loc) · 1.18 KB

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重写()已经实现了