中文
English
繁体
日本語
한국어
Español
русский
français
Italia
Deutsch

How to use Alist+WebDAV to connect cloud drives

2024-03-22

Alist is a directory app for various cloud drives, including Baidu Cloud, Aliyun Drive, OneDrive, Google Drive and other cloud drives. While using WebDAV, you can play files from your cloud conveniently.

https://alist.nn.ci/guide/

Install Alist in Windows


1. Open https://github.com/alist-org/alist/releases and choose matched version of your PC.

2. Unzip the zip file and open it. Enter "cmd" in the address bar.


5-43-21.jpg

3. Enter "Alist Server" and press Enter to confirm. If the interface appears as shown below, the startup is successful.

Note: During the use of "Alist," ensure that this window is running normally and must not be closed! Please ensure to remember the password as it is only displayed during the initial startup.


5-40-22.jpg



Install Alist in Mac


1. Please download the latest version of Alist from https://github.com/alist-org/alist/releases. For MacOS, please download either "alist-darwin-amd64.tar.gz" (for Intel chips) or "alist-darwin-arm64.tar.gz" (for M-series chips).

2. Unzip the file to the proper location.

3. Right-click on the folder and select "Services - New Terminal at Folder Location."

4. In the terminal window, type "chmod +x alist" and press Enter.

5. Type "touch start.command" and press Enter. This will create a new file named "start.command" in the folder.

6. Type "chmod 777 start.command" and press Enter.

7. Right-click on the "start.command" file, select "Open With - TextEdit," and add the following lines:


Plain Text
#!/bin/bash
cd /Applications/AList
nohup ./alist server &


Save and close the file.


5-43-23.jpg


8. Double-click the "start.command" file. If you see "Process completed" as shown in the image below, it means the operation was successful. After closing the window, the "alist" process will run in the background. You will need to run "start.command" again to start AList after restarting your computer or shutting it down. You can drag the "start.command" file to the Dock for quick access.

9. When you start AList again, you can right-click on the folder and select "Services - New Terminal at Folder Location", then enter “./alist server” and connect to AList.


5-50-1.png


Arrange Alist


1. Open your web browser and enter the address below in the address bar. Enter the username and password. The username is "admin" and password is on the terminal panel in Alist.

Window: 127.0.0.1:5244

Mac:0.0.0.0:5244


5-43-24.jpg


After logging in, click on "Management"


5-43-25.jpg


2. Open the website https://alist.nn.ci/guide/#support-storage and choose the token acquisition method based on your cloud drive. Here, we'll use Aliyun Cloud Drive as an example. Follow the steps in the image below:

a. Click on the "refresh token" link and click on the green button to log in to your cloud drive.


5-43-26.jpg


b. Copy your token(Please update your token in time to prevent it from expiring and not being able to access the contents of your cloud drive).


5-43-27.jpg


c. You can choose to change your account password or leave it unchanged. It's recommended to use a password that's easy to remember. Click on "Save".


5-43-28.jpg


d. Click on "Add".


5-43-29.jpg


e. Fill up the information of the cloud drive based on your needs and click on "Add" button.

  • Driver: the cloud drive you want to connect.

  • Mount Path: the folder name you prefer.

  • Web proxy: enable.

  • WebDAV policy:use proxy URL.

  • Root folder id: root.

  • Refresh token: Your refresh token.

  • Remove way: Choose the way you prefer.

5-43-30.jpg


5-43-31.jpg


f. If the status shows "work," it means the cloud drive has been successfully added. Click on "Home" to view the contents of your cloud drive.


5-43-32.jpg



Check the IP address


1. Open the "Window Settings" and click the "Network & Internet".


5-43-33.jpg


2. Open WIFI and then in "Properties", you will find your IP address.



5-43-34.jpg


5-43-35.jpg



Mac:

Open Wi-Fi in system settings and select the details of connected Wi-Fi to view the IP address.

5-50-2.png

5-50-3.png



share