Code Monkey home page Code Monkey logo

ssweb-web.py's Introduction

Shadowsocks/r web manager

English |中文

Description

This project is used to manage users of shadowsocks/r working with another excellent shell writen by doubi, aiming to make it easier for you to share your shadowsocks/r with you firends Please be aware that there was no security tests on this project

Functions

  • 1、add user

  • 2、delete user

  • 3、change settings

System supported

Debian 9 only

Language

Python3.6 required

Framework

web.py==0.40.dev1

django version here

Usage

Before you start this web, make sure you have installed another awesome shell 'ssrmu.sh'. If not, please click here to install it.

Switch to super user root using sudo su

Method 1

Git is also required, using apt install git

And surely python3 apt install python3

Clone this project to /usr/local using git clone https://github.com/131mm/ssweb-web.py.git /usr/local/ssweb-web.py and cd into it cd /usr/local/ssweb-web.py

Then

  1. install nginx using apt install nginx
  2. change the server_name in file 'nginx' to your domain
  3. install apache2-utils using apt install apache2-utils
  4. generate password using htpasswd -c /etc/nginx/passwd.db username
  5. change the website in line 3 of file 'ssr.py' to your domain
  6. copy file nginx in to /etc/nginx/sites-enabled/ using cp nginx /etc/nignx/sites-enabled/
  7. start nginx with nginx && sudo nginx -s reload
  8. install venv and pip using apt install python3-venv python3-pip
  9. create virtual-env for web.py using python3 -m venv venv
    10.start it bash run.sh
Or Method 2
apt install python3 python3-pip python3-venv git nginx apache2-utils -y;
git clone https://github.com/131mm/ssweb-web.py.git /usr/local/ssweb-web.py;
cd /usr/local/ssweb-web.py;
  1. change the server_name in line 3 of file 'nginx' to your domain
  2. change the website in line 3 of file 'ssr.py' to your domain
cp nginx /etc/nignx/sites-enabled/;
htpasswd -c /etc/nginx/passwd.db username;
nginx && sudo nginx -s reload;
python3 -m venv venv;
bash run.sh;

Previews

homepage: user_infos

深度截图_选择区域_20190214165157.png

user_configs:

深度截图_选择区域_20190214165217.png

edit user_config:

深度截图_选择区域_20190214165243.png

ssweb-web.py's People

Contributors

131mm avatar

Watchers

 avatar

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.