Coder Social home page Coder Social logo

v2ray-webui's Introduction

v2ray-webui

Go Report Card Build

此项目目前不再维护

之前喜欢折腾, 现在已切换到使用 koolshare梅林固件

为何创建这个项目?

软路由(x86-ubuntu)上原来使用命令行启动 v2ray 客户端,日常启动/修改配置需要SSH登陆手动操作.
由于不同地区的v2ray服务器有各自的适用场景,所以在使用场景切换时,经常需要大量重复性操作.

  • 美西带宽大, 适合下载
  • 香港延迟低, 适合日常应用

传统的命令行+配置文件启动v2ray的方式, 无法满足快速切换线路的需求. 而且没有发现现有的开源v2ray web客户端工具.

功能列表

  • 1.提供v2ray客户端的webui.
  • 2.支持v2ray订阅, 支持节点测速
  • 3.支持页面修改v2ray配置模板
  • 4.集成PAC生成功能 using genpac. 支持定时生成, 支持自定义代理站点.

支持平台

  • x86-linux
    • 经x86(Ubuntu Server)测试
  • arm-linux
    • 经树莓派4B(Ubuntu Server)测试 其他平台欢迎补充兼容性报告

如何安装?

请移步Actions , 从Artifacts中下载
下载安装包后, 使用如下命令进行安装

mkdir /usr/local/v2ray-webui
tar -xvf v2ray-webui-master.tar.gz -C /usr/local/v2ray-webui
cat << EOF > /etc/systemd/system/v2ray-webui.service
[Unit]
Description="v2ray-webui - A v2ray web client"
Documentation=https://github.com/cntechpower/v2ray-webui
Requires=network-online.target
After=network-online.target


[Service]
Type=simple
User=root
WorkingDirectory=/usr/local/v2ray-webui
ExecStart=/usr/local/v2ray-webui/bin/v2ray-webui
Restart=on-failure
StandardOutput=append:/usr/local/v2ray-webui/std.log
StandardError=append:/usr/local/v2ray-webui/error.log
[Install]
WantedBy=multi-user.target
EOF

systemctl daemon-reload
systemctl start v2ray-webui.service
systemctl status v2ray-webui.service

如何升级

systemctl stop v2ray-webui.service
mv /usr/local/v2ray-webui /usr/local/v2ray-webui.bak
mkdir /usr/local/v2ray-webui
tar -xvf v2ray-webui-master.tar.gz -C /usr/local/v2ray-webui
cp /usr/local/v2ray-webui.bak/v2ray-webui.db /usr/local/v2ray-webui/v2ray-webui.db
systemctl start v2ray-webui.service

截图

状态信息 PAC基本配置
PAC自定义站点
V2ray订阅管理
V2ray节点管理
V2ray配置模板

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.