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

Avoro: €3/month/2GB RAM/10GB SSD space/2TB traffic/10Gbps/DDOS/KVM/Germany

Avoro, a German merchant, was established at the ...

HiFormance: 20% off all VPS, including special packages

HiFormance, an American hosting company, has been...

Wired Blade: $5/month/2GB RAM/20GB NVMe space/1TB bandwidth/1Gbps/KVM/Phoenix

Wired Blade is a long-established American hostin...

9xhost: $7/month/1GB memory/25GB space/1TB traffic/KVM/USA

9xhost, an American hosting provider, was establi...

Winode: $5/month/1GB memory/32GB space/1TB traffic/KVM/Florida

Winode, a newly established hosting provider, see...

$4/month/512M/25G space/250G traffic VPS —— WhiteLabeHosting

According to the official introduction of WhiteLa...

IntoVPS 2GB RAM NVMe Hard Drive Free DirectAdmin License Romania KVM VPS Review

Details: IntoVPS: $3/month/2GB RAM/20GB NVMe spac...

Qovic: $15/year/512MB RAM/10GB SSD space/unlimited traffic/KVM/Los Angeles

Qovic, probably opened by an Indian, previously m...

LAUNCH VPS: $4.5/month/1GB RAM/50GB SSD space/2TB bandwidth/KVM/Philadelphia

LAUNCH VPS, a US hosting provider, provides kvm v...