Coder Social home page Coder Social logo

ix-ray's Introduction

IX-RXVT

不要再fork了,点击Use this template后修改项目名,将readme.md中的Cptmacmillan2022007替换为自己的用户名和修改后的项目名再进行部署,非常重要,切记!!!!

概述

本项目用于在 Heroku 上部署 V2Ray/Xray WebSocket,在合理使用的程度下,本镜像不会因为大量占用资源而导致封号。

部署完成后,每次启动应用时,运行的 V2Ray/Xray 将始终为最新版本。

部署提示

注意事项
因使用本项目执行其他活动所产生的所有后果本项目概不负责!!!!
禁止向任何网站转发本项目!!!!
注意项目名字中不要包含Shadowsocks(ss)、VLESS、VMESS、Trojan(tj)、Xray、V2ray
如果能继续使用的,请保持低调!!!
滥用可能导致账户被删除!!!
点击Use this template后修改项目名,将readme.md中的Cptmacmillan2022007替换为自己的用户名和修改后的项目名再进行部署,非常重要,切记!!!!
若出现We couldn't deploy your app because the source code violates the Salesforce Acceptable Use and External-Facing Services Policy.提示,则返回仓库,>Setting>Repository name修改仓库名。
选择不向任何网站转传是为了更长久的相聚,愿你能发现墙外美好而又有趣的地方。
带有删除线的部分表示不适用或已经废弃。
目前heroku只支持http1.1,请不要再问是否支持tcp等其他协议。

Deploy

Xray/V2Ray VLESS

属性
地址 优选IP
应用名.heroku.com
端口 443
用户ID 87b5c352-90d7-4ee1-9d1e-b03231c9fc53
注意:务必使用自己创建的UUID。不要使用本项目中示范的UUID!
流控 n/a
加密 none
传输协议 ws
伪装类型 none
伪装域名 xxxx.workers.dev(CF Workers反代地址)
应用名.heroku.com
路径 /ID-vless
底层传输安全 tls
跳过证书验证 false
SNI xxxx.workers.dev(CF Workers反代地址)
应用名.heroku.com

Xray/V2Ray Trojan

属性
地址 优选IP
应用名.heroku.com
端口 443
用户ID 87b5c352-90d7-4ee1-9d1e-b03231c9fc53
注意:务必使用自己创建的UUID。不要使用本项目中示范的UUID!
流控 n/a
加密 none
传输协议 ws
伪装类型 none
伪装域名 xxxx.workers.dev(CF Workers反代地址)
应用名.heroku.com
路径 /ID-trojan
底层传输安全 tls
跳过证书验证 false
SNI xxxx.workers.dev(CF Workers反代地址)
应用名.heroku.com

Trojan Ws+Tls客户端支持状态

客户端 是否支持Trojan Ws+Tls?
2dust V2RayN
2dust V2RayNG
是,需要电脑端4.27以上版本且有.net framework 6.0及更高版本
手机端需要1.6.30及更高版本
OpenWrt SSRPlus
OpenWrt Passwall 是,需要最新版本passwall
QV2Ray

CloudFlare Workers反代代码(从以下3个示例中选择其中1个部署到CF Workers)

示例1:(适用单一应用的反代代码)

addEventListener(
  "fetch", event => {
    let url = new URL(event.request.url);
    url.host = "appname.herokuapp.com";
    let request = new Request(url, event.request);
    event.respondWith(
      fetch(request)
    )
  }
)

示例2:(适用单双日循环执行的反代代码)

const SingleDay = 'appname.herokuapp.com'
const DoubleDay = 'appname.herokuapp.com'
addEventListener(
    "fetch",event => {
    
        let nd = new Date();
        if (nd.getDate()%2) {
            host = SingleDay
        } else {
            host = DoubleDay
        }
        
        let url=new URL(event.request.url);
        url.hostname="appname.herokuapp.com";
        let request=new Request(url,event.request);
        event. respondWith(
            fetch(request)
        )
    }
)

示例3:(适用多实例循环执行的反代代码)

const Day0 = 'app0.herokuapp.com'
const Day1 = 'app1.herokuapp.com'
const Day2 = 'app2.herokuapp.com'
const Day3 = 'app3.herokuapp.com'
const Day4 = 'app4.herokuapp.com'
addEventListener(
    "fetch",event => {
    
        let nd = new Date();
        let day = nd.getDate() % 5;
        if (day === 0) {
            host = Day0
        } else if (day === 1) {
            host = Day1
        } else if (day === 2) {
            host = Day2
        } else if (day === 3){
            host = Day3
        } else if (day === 4){
            host = Day4
        } else {
            host = Day0
        }
        
        let url=new URL(event.request.url);
        url.hostname=host;
        let request=new Request(url,event.request);
        event. respondWith(
            fetch(request)
        )
    }
)

鸣谢

ix-ray's People

Contributors

cptmacmillan2022007 avatar r1proto 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.