Skip to content

Commit

Permalink
v0.8.7
Browse files Browse the repository at this point in the history
  • Loading branch information
aiastia committed Dec 13, 2022
1 parent 5042c60 commit 00bb320
Show file tree
Hide file tree
Showing 61 changed files with 2,540 additions and 823 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,6 @@ main/cert
main/config.yml
./vscode
.idea/*
.DS_Store
.DS_Store
*.bak
go.work*
39 changes: 24 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# XrayR

[![](https://img.shields.io/badge/TgChat-@XrayR讨论-blue.svg)](https://t.me/XrayR_project)
[![](https://img.shields.io/badge/Channel-@XrayR通知-blue.svg)](https://t.me/XrayR_channel)
![](https://img.shields.io/github/stars/gfw-fuck/XrayR)
Expand All @@ -13,12 +14,14 @@ A Xray backend framework that can easily support many panels.

如果您喜欢本项目,可以右上角点个star+watch,持续关注本项目的进展。

使用教程:[详细使用教程](https://gfw-fuck.github.io/XrayR-doc/)
使用教程:[详细使用教程](https://xrayr-project.github.io/XrayR-doc/)

## 免责声明

本项目只是本人个人学习开发并维护,本人不保证任何可用性,也不对使用本软件造成的任何后果负责。

## 特点

* 永久开源且免费。
* 支持V2ray,Trojan, Shadowsocks多种协议。
* 支持Vless和XTLS等新特性。
Expand All @@ -31,44 +34,50 @@ A Xray backend framework that can easily support many panels.

## 功能介绍

| 功能 | v2ray | trojan | shadowsocks |
| --------------- | ----- | ------ | ----------- |
| 功能 | v2ray | trojan | shadowsocks |
|-----------|-------|--------|-------------|
| 获取节点信息 ||||
| 获取用户信息 ||||
| 用户流量统计 ||||
| 服务器信息上报 ||||
| 服务器信息上报 ||||
| 自动申请tls证书 ||||
| 自动续签tls证书 ||||
| 在线人数统计 ||||
| 在线用户限制 ||||
| 审计规则 ||||
| 审计规则 ||||
| 节点端口限速 ||||
| 按照用户限速 ||||
| 自定义DNS ||||
| 自定义DNS ||||

## 支持前端

| 前端 | v2ray | trojan | shadowsocks |
| ------------------------------------------------------ | ----- | ------ | ------------------------------ |
| 前端 | v2ray | trojan | shadowsocks |
|--------------------------------------------------------|-------|--------|-------------------------|
| sspanel-uim ||| √ (单端口多用户和V2ray-Plugin) |
| v2board ||| |
| [PMPanel](https://github.com/ByteInternetHK/PMPanel) ||| |
| [ProxyPanel](https://github.com/ProxyPanel/ProxyPanel) ||| |
| [WHMCS (V2RaySocks)](https://v2raysocks.doxtex.com/) ||| |
| v2board ||||
| [PMPanel](https://github.com/ByteInternetHK/PMPanel) ||||
| [ProxyPanel](https://github.com/ProxyPanel/ProxyPanel) ||||
| [WHMCS (V2RaySocks)](https://v2raysocks.doxtex.com/) ||||

## 软件安装

### 一键安装

```
wget -N https://raw.githubusercontent.com/gfw-fuck/XrayR-release/master/install.sh && bash install.sh
```

### 使用Docker部署软件
[Docker部署教程](https://gfw-fuck.github.io/XrayR-doc/xrayr-xia-zai-he-an-zhuang/install/docker)

[Docker部署教程](https://xrayr-project.github.io/XrayR-doc/xrayr-xia-zai-he-an-zhuang/install/docker)

### 手动安装
[手动安装教程](https://gfw-fuck.github.io/XrayR-doc/xrayr-xia-zai-he-an-zhuang/install/manual)

[手动安装教程](https://xrayr-project.github.io/XrayR-doc/xrayr-xia-zai-he-an-zhuang/install/manual)

## 配置文件及详细使用教程

[详细使用教程](https://gfw-fuck.github.io/XrayR-doc/)
[详细使用教程](https://xrayr-project.github.io/XrayR-doc/)

## Thanks

Expand Down
5 changes: 3 additions & 2 deletions api/apimodel.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"regexp"
)

// API config
// Config API config
type Config struct {
APIHost string `mapstructure:"ApiHost"`
NodeID int `mapstructure:"NodeID"`
Expand All @@ -20,7 +20,7 @@ type Config struct {
DisableCustomConfig bool `mapstructure:"DisableCustomConfig"`
}

// Node status
// NodeStatus Node status
type NodeStatus struct {
CPU float64
Mem float64
Expand All @@ -42,6 +42,7 @@ type NodeInfo struct {
TLSType string
EnableVless bool
CypherMethod string
ServerKey string
ServiceName string
Header json.RawMessage
}
Expand Down
1 change: 1 addition & 0 deletions api/newV2board/model.go
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package newV2board
Loading

0 comments on commit 00bb320

Please sign in to comment.