XrayR-project / XrayR

A Xray backend framework that can easily support many panels. 一个基于Xray的后端框架,支持V2ay,Trojan,Shadowsocks协议,极易扩展,支持多面板对接
https://xrayr-project.github.io/XrayR-doc/
Mozilla Public License 2.0
2.12k stars 841 forks source link

XrayR没有自己的接口标准吗? #294

Closed bbi8 closed 1 year ago

bbi8 commented 1 year ago

XrayR没有自己的标准接口吗?我自己开发的面板想对接XrayR的话要怎么进行?找了文档没有发现有相关的说明,XrayR团队没有打算让其他面板对接吗?

pocketW commented 1 year ago

XrayR provides an abstract interface to support any panels. You can implement all or partial functions defined in api interface for your panels. You can check the existing examples in api as references. We are open to PRs supporting new panels.

bbi8 commented 1 year ago

由于我不是go语言的编程者,我的面板是基于nodejs/java开发的,所以XrayR的源码对于我是有阅读障碍的,而XrayR与前端面板对接时采用的是http协议,希望XrayR可以出一套标准的http接口文档。

pocketW commented 1 year ago

Thanks for the advice. We will provide a general API and its docs in the future.

github-actions[bot] commented 1 year ago

This issue is stale because it has been open for 30 days with no activity.

Cp0204 commented 1 year ago

标准接口这个词有歧义,你需要的是:开发文档、对接文档

bbi8 commented 1 year ago

标准接口这个词是正确的,你需要的是:开发文档、对接文档

现在的XrayR都是主动对接前端面板的接口,并没有自己的一套接口标准,所以如果有其他面板要使用XrayR就很局限,而且也没有用于对接的接口文档

Septrum101 commented 1 year ago

I proposal use v2board's interface for your dev.

bbi8 commented 1 year ago

I proposal use v2board's interface for your dev.

I also hope that the full inbound option can be opened, the interface option of v2board is simple, XrayR can do much more than that

github-actions[bot] commented 1 year ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 1 year ago

This issue was closed because it has been inactive for 14 days since being marked as stale.