Giter VIP home page Giter VIP logo

tabrizbala1989 / v2ray-for-replit Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hiifeng/v2ray-for-replit

0.0 0.0 0.0 30.5 MB

The tool can install v2ray on the repl, including VMess and VLess protocols, it will automatically switch IP, you need to fork this repl, read readme.md and run it. Create By xiaowansm,Modlfy By ifeng.

Home Page: https://t.me/HiaiFeng

Shell 55.93% Nix 2.94% HTML 41.13%

v2ray-for-replit's Introduction

V2ray for Replit

Create By xiaowansm
Modlfy By ifeng
Web Site: https://www.hicairo.com
Telegram: https://t.me/HiaiFeng

简介:

本项目用于在 Replit.com 免费服务上部署 V2ray ,采用的方案为 Nginx + WebSocket + VMess/VLess + TLS。

注意事项:

请勿滥用,账号封禁风险自负。网络流量每月有100GB软上限。

部署:

Replit.com 上注册账户,然后点击下方按钮

Run on Repl.it

再点击 Import from Github

或者直接 fork 以下链接进行使用:

https://replit.com/@maintest/v2rayN?v=1
https://replit.com/@HashidaHaru/v2rayN?v=1

使用方法:

点击顶部的 Run 按钮后,服务会自动运行。然后在屏幕 Console 窗口内拷贝 VMess/VLess 协议的链接,导入客户端软件即可。或者使用手机客户端软件扫描 VMess/VLess 协议的二维码。

自定义节点中的 UUID(用户ID)或伪装路径:

由于 UUID 默认使用了 Replit 平台提供的 REPL_ID 变量,每个实例 UUID 都是唯一的,别人不会知道,不会出现节点信息泄露问题。因此自定义 UUID 等信息意义不大。如确实要修改,请参考以下步骤:

1、使用第三方工具( https://www.v2fly.org/awesome/tools.html )生成一个新的 UUID。

2、点击左侧 Tools 菜单中的 Secrets 按钮。添加三个系统变量。 key 值分别为

"UUID"、"VMESS_WSPATH" 和 "VLESS_WSPATH"。

value 值分别为"使用第三方工具生成的UUID","vmess的伪装路径"和"vless的伪装路径"。

3、注意:"VMESS_WSPATH" 和 "VLESS_WSPATH"的 value 值需要以"/"符号开头。

# example:
UUID                        de04add9-5c68-8bab-950c-08cd5320df18
VMESS_WSPATH                /vm
VLESS_WSPATH                /vl

一行代码实现 Repl 保活:

最近群里的小伙伴反馈 Repl 总是休眠停止服务,究其原因是官方为节约服务器资源开支,对于没有活动的 Repl 会停止服务,除非重新启动。如果你也安装了 Doprax.com 节点,可以在如下图所示的位置添加一行代码。原理为每隔5分钟让程序自动访问一次你的 Repl 服务。当然,如果你没有 Doprax.com 节点,也可以将这行代码添加到你的软路由上。

# 将这行代码中的域名替换成 Replit 为你项目分配的域名
while true ;do curl https://xx.xx.repl.co; sleep 300; done &

反馈与交流:

在使用过程中,如果遇到问题,请使用Telegram与我联系。( https://t.me/HiaiFeng

v2ray-for-replit's People

Contributors

hiifeng 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.