Code Monkey home page Code Monkey logo

subserver's Introduction

subserver

订阅服务器,自动按照配置,生成客户端用的url

  • 支持v2ray配置文件

配置说明

{
    "addr": ":10086",
    "valid": {
        "SFZmIyaJDSAKgRVGf8YuiZst0": [
            {
                "type": "raw",
                "file": "config.json",
                "host": "www.example.com"
            },
            {
                "type": "v2ray",
                "file": "account.txt",
            }
        ]
    }
}
  • addr - 订阅服务器监听地址
  • valid - json object,key是uuid,value是一组source配置

source

  • type: 来源类型raw | v2ray, raw代表普通文件,v2ray代表v2ray服务器端的配置文件
  • file: 文件路径
  • host: 仅type为v2ray有效,用于生成url的host

TODO

  • v2ray支持ws、http、quic解析

subserver's People

Contributors

popstk avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.