Skip to content

Latest commit

 

History

History
43 lines (34 loc) · 2.42 KB

README.md

File metadata and controls

43 lines (34 loc) · 2.42 KB

ssmgr-trojan-client

npm npm bundle size npm dev-build Codacy Badge NPM FOSSA Status

A shadowsocks-manager s-node for trojan-gfw. If you know how to use trojan and shadowsocks-manager, you know what this does.

Support multiple variants of trojan. Including p4gefau1t/trojan-go, trojan-gfw/trojan, DenrianWeiss/trojan-cluster and others.

Prerequisites

  • Trojan with MySQL or Redis support
  • Node.js >= 12.0
  • shadowsocks-manager >= 0.36.0

Installation

npm -g i ssmgr-trojan-client

Usage

Usage: ssmgr-trojan-client [options]

Options:
  -d, --debug                       verbose output for debug infomation (default: false)
  -l, --listen-address <addr:port>  listening address for manager (default: 0.0.0.0:4001)
  -k, --key <password>              ssmgr client password
  --db-type <type>                  database type (redis/mysql) (default: redis)
  --db-address <addr:port>          database address (default: localhost:6379(redis)/localhost:3306(mysql))
  --db-name <database>              (mysql only) database name (default: trojan)
  --db-user <username>              (mysql only) database username (defualt: trojan)
  --db-password <password>          database password (default: none)
  -h, --help                        display help for command

License

FOSSA Status