GDList: Use Google Cloud Drive to create your own public cloud disk

888u

Last update at :2024-05-29,Edit by888u

Reference: OneIndex: Create your own public cloud disk using Microsoft Cloud disk

1. Introduction to GDList

  • Purpose: Use the folder ID shared by GoogleDrive or OneDrive to mount it as a network disk. No account required
  • Features: Does not occupy server space, 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. Visit

    http://Server IP:33001

    3. Related issues

    1. Use a, first enable Google drive sharing

    b. View folder path

    c. Enter the browser: http://server IP:33001, settings

    2. Start installing 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, supports Odrive)

    Demo:

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

    Recommended site search: distribution host Korean cn2 server, free ftp space, Alibaba cloud registration, Xi'an server rental, icp registration center, free host, local IP address query, free cn domain name registration, server,

    GDList: Use Google Cloud Drive to create your own public cloud disk

    All copyrights belong to 888u unless special state
    取消
    微信二维码
    微信二维码
    支付宝二维码