Giter Club home page Giter Club logo

pikpak2aliyun's Introduction

重要更新:

由于之前的方法需要开启开发者模式 比较麻烦现在对代码进行更新,使用更方便

安装PikPak下载列表管理工具(之前安装过的请更新):

https://deta.space/discovery/@pikpak/pikpak

deta.space后台获取两个信息:

  • 安装后的网址:添加secrets:DETA_PROJECT_URL
  • 在项目设置的Keys里添加APP KEY(第二个):添加secrets:DETA_APP_KEY 完成设置 运行Actions:PikPak转存Aliyun APP KEY

添加secrets:ALIYUN_REFRESH_TOKEN: 阿里云刷新token

获取方法:https://github.com/messense/aliyundrive-webdav

That's ALL



20240311加入Rclone加密上传功能,Alist兼容Rclone加密

  • 阿里云根目录下创建文件夹Crypt,可根据需求修改,与Rclone配置一致即可
  • 添加名称为RCLONE_CONF的secrets,内容为:
[aliyun]
type = webdav
url = http://aliyun:8080
vendor = other

[crypt]
type = crypt
remote = aliyun:/Crypt
directory_name_encryption = false
password = fZDDbSkoj3EmJtAUBmblbugUJWwtZBfp7yc
password2 = CCIjpR97jXUcb7nkXaSXz78J7kev05XSFmk
filename_encryption = standard
filename_encoding = base64

上面的配置中
密码为:test123456
盐为:123456test
关闭文件夹加密
文件名加密为标准
文件名加密为base64

请注意alist配置要一致才可正常显示

Tip:注册deta.space的时候要开启才可以使用api_key 开启方法看这里https://deta.space/docs/en/build/space-kit

pikpak2aliyun

转存PikPak到阿里云盘
视频演示:https://youtu.be/6ll5GhxFcWs

在阿里云备份盘建立要上传到的文件夹

默认是PikPak,加密文件夹为PikPak-encrypt 【注意区分大小写】

PikPak下载列表管理工具:

https://deta.space/discovery/@pikpak/pikpak

所需secrets:

ALIYUN_REFRESH_TOKEN: 阿里云刷新token,获取方法:https://github.com/messense/aliyundrive-webdav
DETA_PROJECT_ID: deta.space的项目ID,用来指定项目的数据库,获取方法:视频中
DETA_API_KEY: 访问deta.space数据库的token,获取方法:视频中
ALIST_ENCRYPT_PASSWORD: 文件的加密密码

删除旧的workflow需要修改actions权限

Settings > Actions > General > Workflow permissions
把Read repository contents permission 改成 Read and write permissions

github actions的linux主机在加密文件时有些会加密失败,可以换成macos主机可以避免

20230813加入文件混淆后缀,解密不影响使用

pikpak2aliyun's People

Contributors

ykxvk8yl5l avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.