Alternative for clients storage #3339
torikki-tou
started this conversation in
Ideas
Replies: 1 comment 8 replies
-
If you want advanced client management, I suggest to look into Marzban. I still agree that xray could have a different API for it (I quite like the one that Hysteria2 has, where it calls an HTTP endpoint to help with auth) |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Disclaimer: i don't speak Chinese so i may not know about similar discussion in Chinese
As far as i know Xray-core has only 2 ways to store clients for VLESS.
There is workaround if we combine 2 strategies (API call + file change) but it does not resolve 2 last problems with file storage.
My proposal is to allow alternative storages for clients. The ideal scenario is if i can store clients in Redis (or other DB) or integrate with third-party REST API and also have some in-memory cache for performance.
Inbound config can look like this:
To implement this Validator must become an interface, custom storages must be written and we need to change config scheme. It is a perfect place to use plugins to let people write their own storages, but i find it too hard to implement, while things i described i can make myself.
My questions:
Beta Was this translation helpful? Give feedback.
All reactions