shadowsocks-go icon indicating copy to clipboard operation
shadowsocks-go copied to clipboard

[Feature request] Dynamically manage users with API

Open betaxab opened this issue 3 years ago • 2 comments

I see you abandoned outline-ss-server, so I want to ask you, do you have any plans to develop an users API?

For example, it has the following feature:

  • User additions, deletions and modifications
  • User usage statistics
  • Setup user usage limit

I found that the trojan-go's api is very nice: https://p4gefau1t.github.io/trojan-go/advance/api/

Thanks.

betaxab avatar Jul 24 '22 19:07 betaxab

Designing and maintaining a stable management API is a lot of work, and it's not particularly useful for myself. So I guess I'll just add this to the backlog and see if someday I'll feel interested enough to work on it.

database64128 avatar Aug 03 '22 07:08 database64128

Thanks! Waiting for your good news.

betaxab avatar Aug 20 '22 01:08 betaxab

As of the latest commit, you can:

  • Send SIGUSR1 to reload user credentials.
  • Use the REST API to manage users and get traffic stats.

Feel free to provide feedback on these new features.

database64128 avatar Feb 15 '23 13:02 database64128

A new release is out with these new features. Closing this issue.

database64128 avatar Feb 17 '23 11:02 database64128