AnimePaste Refactoring Plan:
- Delete the original upload to OSS, only keep the file directory, and synchronize the work to various WebDAV;
- Delete the original handcrafted media library and better compatibility with media library software such as Jellyfin.
Therefore, this article pre-researches and tries the WebDAV synchronization solution and makes some records for easy reproduction later.
Local#
AList#
Use AList to manage various cloud drives and expose them in the form of WebDAV.
Being lazy, I directly downloaded its desktop version. In its Web UI, I mounted Aliyun Drive to the directory /alidriver of AList.
Rclone#
Configuration file rclone config file.
Mount the folder /alidriver/anime in the Aliyun Drive mount point of AList to the local directory D:\.mount\anime and the cache directory D:\.cache\rclone. Configure the mount to start automatically in the background on startup, see Configuring rclone to Start Automatically on Windows.
Password has been hidden.
AnimePaste#
See AnimePaste, modify the local directory in the configuration file to D:\.mount\anime.
Server#
aliyundrive-webdav#
This solution has been deprecated in the actual environment and replaced with deploying AList, see Deploying Jellyfin with WebDAV on a Server.
This solution is only used for initial idea verification.
Use aliyundrive-webdav to expose Aliyun Drive as WebDAV on the server and forward file read requests to Aliyun Drive without going through the server's bandwidth.
Password has been hidden.
Finally#
- Use AnimePaste to automatically download new anime locally
- AList and Rclone synchronize files to Aliyun Drive
- Use aliyundrive-webdav on the server to expose it to the public network.