Categorygithub.com/alviezhang/subgen
modulepackage
0.4.4
Repository: https://github.com/alviezhang/subgen.git
Documentation: pkg.go.dev

# README

Subscription Generation

Generate v2ray configuration for V2Ray, Quantumult (X) and Clash.

Build

go install github.com/alviezhang/[email protected]

Usage

Start server

subgen --id <subscription-id> --config <filename> --port <port>

API endpoint

/sub?id=<subscription-id>&type=<type>

type is one of v2ray, quantumult and clash.

Configuration file example

client_config:
  uuid: myuuid

nodes:
  - name: node1
    host: node1
    port: 10086
    region: JPN

  - name: node2
    host: node2
    port: 10086
    region: JPN

# Packages

No description provided by the author