BuguLink is a secure file-sharing website. It is an MIT-licensed open source project. The project contains two parts: backend (Node.js + Koa2 + MySQL + Redis) and frontend (React + Yax + ReactRouter). It use Qiniu CDN to storage files.
- Fast: Upload in chunks, Resume breakpoint, Support large file upload, Upload 1GB file only in 4 minutes
- Simple: Minimalist UI, Easy to use, Easy to develop, Easy to deploy
- Secure: Login with dynamic token, Share link with random code, Auto delete and stop share anytime
- Configurable: Config with environment variables
-
Install MySQL and Sign up Qiniu Account.
-
Config environment variables (More config).
# Database Config export BUGU_DB_NAME="Your database name" export BUGU_DB_USER="Your database username" export BUGU_DB_PASS="Your database password" export BUGU_DB_HOST="127.0.0.1" export BUGU_DB_PORT=3306 # Qiniu CDN Config export BUGU_QN_NAME="Your Qiniu bucket name" export BUGU_QN_AK="Your Qiniu access key" export BUGU_QN_SK="Your Qiniu secret key" export BUGU_QN_DOMAIN="Your Qiniu bucket domain"
-
Clone source from Github.
git clone https://github.com/bugulink/bugu-web.git git clone https://github.com/bugulink/bugu-static.git
-
Backend develop.
cd bugu-web npm install npm start
-
Frontend develop.
cd bugu-static npm install dool -g npm install npm start
-
Open http://localhost:8080.
BuguLink is available under the terms of the MIT License.