Skip to content

Thunderfs is web based service for the temporary file sharing . You can share files and can be uploaded for anyone without restriction. Files that have been shared will be deleted automatically after 10 minutes. You do not need to worry that the shared link of important files remain in the Internet.

License

jongha/thunderfs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Thunderfs

What is Thunderfs?

Thunderfs is web based service for the temporary file sharing . You can share files and can be uploaded for anyone without restriction. Files that have been shared will be deleted automatically after 10 minutes. You do not need to worry that the shared link of important files remain in the Internet.

Technology stack

  • Server
  • Front-end
    • HTML5
    • JavaScript (Grunt build)
  • Back-end
    • Flask (Python)
    • MongoDB (gridfs)

Installing Thunderfs

Operating system

Thunderfs should run on most Unix, Linux, Mac, Mac Server and Windows systems as long as Python and MongoDB are available on this platform.

$ yum install git -y

$ yum groupinstall "Development Tools" "Development Libraries" -y

$ yum install glibc-static -y

$ yum install openssl-devel -y

$ yum install bzip2 bzip2-devel -y

$ yum install zlib zlib-devel -y

Python

Thunderfs requires python 3.x higher. It's not support Python 2.x.

$ wget https://www.python.org/ftp/python/3.4.2/Python-3.4.2.tgz ... $ make

$ make altinstall

Setup tools

$ wget https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py

$ python3.4 ez_setup.py

$ easy_install-3.4 pip

Mongodb

64bit

[mongodb] name=MongoDB Repository baseurl=http://downloads-distro.mongodb.org/repo/redhat/os/x86_64/ gpgcheck=0 enabled=1

32bit

[mongodb] name=MongoDB Repository baseurl=http://downloads-distro.mongodb.org/repo/redhat/os/i686/ gpgcheck=0 enabled=1

$ yum install mongodb-org

Nginx

nginx.repo

[nginx] name=nginx repo baseurl=http://nginx.org/packages/centos/$releasever/$basearch/ gpgcheck=0 enabled=1

$ yum install nginx

Mongodb Drivers

$ pip3 install pymongo

Flask-Babel

$ pip3 install Flask-Babel

Node.js

$ yum install fontconfig -y

$ wget http://nodejs.org/dist/v0.10.35/node-v0.10.35.tar.gz ... $ npm install -g grunt-cli

Bower

$ npm install -g bower

Grunt

$ npm install -g grunt grunt-cli

Install requirements modules

$ cd /data/thunderfs/src/web/

$ pip3 install -r requirements.txt

Less

$ npm install -g less

uWSGI

$ pip3 install uwsgi

Build site

Build scripts

$ cd /data/thunderfs/src/script/

$ npm install

$ grunt

Build bower components

$ cd /data/thunderfs/

$ bower install

Thunderfs options

Start

$ make start

Stop

$ make stop

Restart

$ make restart

Deploy

$ make deploy

Clean

$ make clean

License

Thunderfs is available under the terms of the GNU-AGPL-3.0 License.is available under the terms of the GNU-AGPL-3.0 License.

About

Thunderfs is web based service for the temporary file sharing . You can share files and can be uploaded for anyone without restriction. Files that have been shared will be deleted automatically after 10 minutes. You do not need to worry that the shared link of important files remain in the Internet.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published