Giter VIP home page Giter VIP logo

ibm-xray-2in1's Introduction

说明:

  • 一个 IBM 账户下的两个实例合并同时跑,XRAY 内核,协议 VLESS 和 VMESS 各一个

  • 两个实例均在 北京时间 周三 5:15(UTC 周二 21:15)重启

  • 优化了原代码,去掉了部分Secrets变量和增加不设置时的默认值

    Secrets变量 形式
    IBM_CF_USERNAME IBM Cloud 邮箱地址
    IBM_CF_PASSWORD IBM Cloud 邮箱密码
    IBM_CF_APP_NAME1 应用1程序名(VLESS)
    IBM_CF_APP_NAME2 应用2程序名(VMESS)
    IBM_CF_REGOIN (选填)地区,达拉斯用us-south,伦敦用eu-gb。默认us-south
    IBM_CF_APP_MEM (选填) 两个实例的内存大小,必须是一样,可以是128M或者64M。默认128M
    V2_UUID (选填)自定义UUID码。默认f3a836ba-e93b-4cf3-8ee9-ce37a1e84cd8
    V2_WS_PATH (选填) 自定义PATH路径。默认/xray
    V2_ALTERID (选填) 自定义ALTERID路径。默认64

感谢P3TERX :https://p3terx.com/

反代代码
addEventListener(
	"fetch",event => {
		let url=new URL(event.request.url);
		url.hostname="应用app名";
		url.pathname ="路径";
		let request=new Request(url,event.request);
		event. respondWith(
			fetch(request)
		)
	}
)

ibm-xray-2in1's People

Contributors

fscarmen avatar ekmov 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.