A program to connect sspanel-uim with trojan-cluster
You need a machine that runs trojan-cluster or redis mode of trojan-go.
This program make use of sspanel-uim's webapi mode.
trojan-cluster
.
git clone https://github.com/trojan-cluster/yahagi.js/
npm install yahagi.js
index.js
or see Environment.Now it will work.
Yahagi.js can make use of environment variable to configure it self:
YAHAGI_DOMAIN: API domain
YAHAGI_NODE_ID: Node ID
YAHAGI_NODE_KEY: Node Key