It's a simple web APP for shareing files with others. It is inspired by SimpleHTTPServer in Python.
- It's COOL!
- HTML5 Drag & Drop
- One Command Start
- Download the latest release or
git clone git://github.com/goace/personal-file-sharing-center.git
- Edit
config.py
, setroot
to the directory which you want to share. eg.root = /home/xxx/center
- Create this dir if it doesn't exist. eg.
mkdir /home/xxx/center
- Start the daemon:
$ python index.py [port]
- Access it from your browser : http://hostname[:port]
- Enjoy it.
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...
- Copy
conf/upload.conf
to the conf path of nginx(maybe /etc/nginx/sites-enaled). - Modify
upload.conf
according to your own condition, then reload nginx. - Chdir to the root path of my project.
- Quick start uwsgi:
uwsgi -w index -s :9999
(choose whatever port you like, but must match the setting in upload.conf) - or you can start uwsgi via upstart. More about start uwsgi app.
- Multiple file upload.
- User authentication.