Git Product home page Git Product logo

python-personal-file-sharing-center's Introduction

Your Personal File Sharing Center

It's a simple web APP for shareing files with others. It is inspired by SimpleHTTPServer in Python.

Features

  • It's COOL!
  • HTML5 Drag & Drop
  • One Command Start

Usage

  1. Download the latest release or git clone git://github.com/goace/personal-file-sharing-center.git
  2. Edit config.py, set root to the directory which you want to share. eg. root = /home/xxx/center
  3. Create this dir if it doesn't exist. eg. mkdir /home/xxx/center
  4. Start the daemon: $ python index.py [port]
  5. Access it from your browser : http://hostname[:port]
  6. Enjoy it.

Advanced

If you want a better perfomence and higher concurrency, you can deploy it with nginx and uwsgi.

If you have no idea how to set nginx and uwsgi, the following may help...

  1. Copy conf/upload.conf to the conf path of nginx(maybe /etc/nginx/sites-enaled).
  2. Modify upload.conf according to your own condition, then reload nginx.
  3. Chdir to the root path of my project.
  4. Quick start uwsgi: uwsgi -w index -s :9999 (choose whatever port you like, but must match the setting in upload.conf)
  5. or you can start uwsgi via upstart. More about start uwsgi app.

Future Work

  • Multiple file upload.
  • User authentication.

Screenshot

python-personal-file-sharing-center's People

Contributors

goace 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.