Skip to content

ich-bin-zxw/personal-file-sharing-center

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A simple web APP for shareing files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published