Skip to main content

Web Manager for Shadowsocks Service, Python Version

Project description

Minor-sspymgr (sspymgr): Manager Written in Python

This Project is another version that is written with Python of shadowsocks-manager which is based on Nodejs.

The original purpose of this project is to enable the manager to run in a machine whose memory is not so sufficient. It is based on myself needs, because I found that it takes almost 100M of memories to run Shadowsocks on my server whose memory is only 512M. It's a little expensive when running the server. Alternatively, you can keep only the ssmgr program running in background.

It is a python-learning project for me. I learned a lot from shadowsocks-manager which is written in JavaScript, then i make a more suitable program named minor-sspymgr for personal usage. The advantage of this application is that it may consume 50M memory while running, much less compared with shadowsocks-manager.

How to use

It's simple to use sspymgr to deploy a website with shadowsocks service running backend, you can install it by pip / pip3:

pip install sspymgr

Note: sspymgr only supports python3.x.

Or you can download the source code from github if you got git:

  1. git clone https://github.com/brifuture/minor-sspymgr.git
  2. cd minor-sspymgr
  3. python3 ./setup.py install

After installation, simply type sspymgr in console will start sspymgr which would launch a website at 80 port (or 5050 port when debug is enabled). You can see more command line arguments by typing sspymgr -h.

You may find some useful instructions in addition.doc. Or if you want to know more about how I make this website application, you may have a look on about_sspymgr.md although some parts may be out of date because it changed a lot as I developed the application.

TODO List

  • database
    • database lazy loading and creation, command line arguments option add -c or --config to set config file
  • admin
    • setting subsystem optimizing
    • order subsystem details for confirm
  • other
    • optional: data migration and database upgrade
    • plugin system optimize, all helper instances should be attached to app instance
  • translating
    • now all text within python code uses English default, they are translated in Chinese but no methods provided to change Language Setting which would be necessary if the system Language is not Chinese while the manager want to use Chinese to display INFORMATION.

Thanks To Following Projects

  • Backend: flask and some extensions for flask such as flask_sqlalchemy, shedule
  • UI(frontend): vue, bootstrap, ant-design, ext.
  • Reference: shadowsocks-manager

License

License is under GPLv3

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sspymgr-0.0.21.tar.gz (4.3 MB view details)

Uploaded Source

Built Distribution

sspymgr-0.0.21-py3-none-any.whl (4.4 MB view details)

Uploaded Python 3

File details

Details for the file sspymgr-0.0.21.tar.gz.

File metadata

  • Download URL: sspymgr-0.0.21.tar.gz
  • Upload date:
  • Size: 4.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.6.6

File hashes

Hashes for sspymgr-0.0.21.tar.gz
Algorithm Hash digest
SHA256 e741c291be4dc1bdd95604bbf9711b5f19708090fc3bd3d7126e29ea5764591e
MD5 0f1e0648d4a4c72ae5e71331a2c6921b
BLAKE2b-256 c947cd7e3072fc9461c9dd9b58293b53ac04ce80bc2a1f2941079d9ea70f55d7

See more details on using hashes here.

File details

Details for the file sspymgr-0.0.21-py3-none-any.whl.

File metadata

  • Download URL: sspymgr-0.0.21-py3-none-any.whl
  • Upload date:
  • Size: 4.4 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.6.6

File hashes

Hashes for sspymgr-0.0.21-py3-none-any.whl
Algorithm Hash digest
SHA256 325be3935a77b51e7884aa9385e81e0e91bc5c68a95fd7e74036804c315c261b
MD5 062aae850dbf38a35db45224c9683c76
BLAKE2b-256 f8534c9f31b479f58e8fe916d54e97c59a1466e2d64aceec05993231f3097aa8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page