Skip to content

Minimal mihomo TUI that just works on any CLI environments.

License

Notifications You must be signed in to change notification settings

bill-xia/pyhomo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

pyhomo

Minimal Mihomo TUI that just works on any CLI environments.

Install

Save the pyhomo.py, it's that easy.

Usage

./pyhomo.py -h
usage: pyhomo.py [-h] [--host HOST] [--port PORT] [--secret SECRET] [--timeout TIMEOUT] [--group GROUP] [--set SET_TARGET]
                 [--mode MODE] [--print-mode] [--connections] [--connections-limit CONNECTIONS_LIMIT] [--cols COLS]
                 [--col-width COL_WIDTH]

Minimal mihomo TUI

options:
  -h, --help            show this help message and exit
  --host HOST
  --port PORT
  --secret SECRET
  --timeout TIMEOUT
  --group GROUP         Open this group directly in interactive mode
  --set SET_TARGET      One-shot: switch GROUP to TARGET and exit (requires --group)
  --mode MODE           One-shot: set running mode to Direct|Rule|Global and exit
  --print-mode          One-shot: print current running mode and exit
  --connections         One-shot: show current connections and exit
  --connections-limit CONNECTIONS_LIMIT
                        Max connections to print in --connections mode
  --cols COLS           Preferred number of columns (auto-capped to terminal width, default 2)
  --col-width COL_WIDTH
                        Cell width in characters (default 36)

About

Minimal mihomo TUI that just works on any CLI environments.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages