Giter Club home page Giter Club logo

shadowsocks-monitor's Introduction

Shadowsocks web powered by django

web.py version is strongly recommanded, this repo will not update anymore, see web.py version

Functions:

  • 1、add user

  • 2、delete user

  • 3、change settings

How to use?

this web is working with another ssr shell, ssrmu.sh https://github.com/ToyoDAdoubi/doubi, download that shell and run it before you start this web.

To start this web is nothing different from starting a normal django web.

You need edit the ssr_folder in line 13 of ss/views.py ,if you use the shell mentioned before ,the folder is '/usr/local/shadowsocksr'

If you use nginx+uwsgi to start this web, conf files could be as follow:

  • nginx server conf
server {
	listen 80;
	server_name yourdomain.com;
	location / {
		include uwsgi_params;
		uwsgi_pass 127.0.0.1:8008;
		uwsgi_read_timeout 5;
		auth_basic "server";
		auth_basic_user_file /etc/nginx/passwd.db; 
	}
}
  • uwsgi.ini
[uwsgi]
socket = :8008
chdir           = /yourfolder/ssweb
module          = ssweb.wsgi
master          = true
processes       = 1
vacuum          = true

Maybe you need to google how to start a django web with nginx and uwsgi

For security concern, authorization in nginx or other web server is recommanded.

example_pic

example_pic example_pic example_pic

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.