Skip to content
项目

goace/personal-file-sharing-center

在 GitHub 查看

关于

A simple web APP for shareing files

网站与应用开发

这些数字如何统计

可以做什么

  • HTML5 Drag & Drop
  • One Command Start

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Iron Man - a 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

License

Iron Man is available under the GPLv2. See the LICENSE file for more info.

探索相关项目

加载中…