GDList: Use Google Drive to create your own public cloud drive

GDList: Use Google Drive to create your own public cloud drive

Reference: OneIndex: Use Microsoft Cloud Drive to create your own public cloud drive

1. Introduction to GDList

  1. Purpose: Use the folder ID shared by GoogleDrive or OneDrive to mount it as a network disk. No account required
  2. Features: No server space required, direct link download, online preview (pictures, videos, audio)

2. Installation of GDList

1. Upgrade the system

 apt-get update

2. Install Node.js v9.x

 curl -sL https://deb.nodesource.com/setup_9.x | bash - apt-get install -y nodejs

3. Install pm2

 npm install -g pm2

4. Install GDList

 wget --no-check-certificate -qO- https://raw.githubusercontent.com/reruin/gdlist/master/install.sh | bash

5. Access

 http://服務器IP:33001

3. Related issues

1. Use
a. Enable sharing on Google Drive first

b. Check the folder path

c. Browse to: http://serverIP:33001, set

2. Start and install forever

 npm i forever -g

Modify the parameters corresponding to DEAMON

 chmod a+x /etc/init.d/gdlist update-rc.d gdlist defaults

Save the following as /etc/init.d/gdlist

 #!/bin/bash ### BEGIN INIT INFO # Provides: nodejs # Required-Start: $local_fs $remote_fs # Required-Stop: $local_fs $remote_fs # Should-Start: $network # Should-Stop: $network # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: $DAEMON init script. # Description: Starts and stops $DAEMON daemon. ### END INIT INFO DEAMON=/root/gdlist/bin/www LOG=/var/log/nodejs_gd PID=/tmp/pid_gd export PATH=$PATH:/usr/local/bin export NODE_PATH=$NODE_PATH:/usr/local/lib/node_modules node=node forever=forever case "$1" in start) $forever start -l $LOG --pidFile $PID -a $DEAMON ;; stop) $forever stop --pidFile $PID $DEAMON ;; stopall) $forever stopall --pidFile $PID ;; restartall) $forever restartall --pidFile $PID ;; reload|restart) $forever restart -l $LOG --pidFile $PID -a $DEAMON ;; list) $forever list ;; *) echo "Usage: /etc.init.d/node {start|stop|restart|reload|stopall|restartall|list}" exit 1 ;; esac

Local download : gdlist.zip (only supports Gdrive), sharelist.zip (supports Gdrive and Odrive)

Demo:

via: https://github.com/reruin/gdlist, http://www.hostloc.com/thread-443811-1-1.html

<<:  SunnyVision: $47/month/E3-1220 v3/8GB memory/1TB hard drive/unlimited traffic/5 IP/10Mbps/Hong Kong

>>:  FirstHeberg i3-3220 16GB memory French dedicated server review

Recommend

Debian bind multiple IP network settings

1. Edit /etc/network/interfaces This file describ...

HostMyBytes: $20/year/512MB/25GB space/1000GB traffic/KVM/Los Angeles

HostMyBytes, introduced many times. There is a sp...

SimplerCloud: $5/month/1G memory/20GB SSD/1TB traffic/KVM/Singapore

SimplerCloud, a Singapore hosting provider, was f...

$49/month/4G/250G space/3T traffic dedicated server—— Servercraft

Servercraft is an American hosting company founde...

Host-GB: £9.99/month/1GB RAM/25GB SSD space/unlimited traffic/KVM/UK

Host-GB, a foreign merchant, was established in S...

netcup: €2.99/month/2GB RAM/40GB/unlimited traffic/KVM/Germany/Snapshots

netcup, a German hosting provider, was founded in...