File Name
Size

AShare 一款阿里云多账户直链解析程序,支持绑定多个账号,分享单加密目录,分享单目录,批量获取文件夹内容直链,获取单文件直链,在线预览等。


Linux_x86_64 安装示例

下载程序二进制:

mkdir -p /opt/AShare/
wget -O /opt/AShare/AShare_linux_amd64 https://media.cooluc.com/source/AShare/AShare_linux_amd64
chmod 0755 /opt/AShare/AShare_linux_amd64

创建 systemd 启动脚本(不要迷惑,就是直接复制粘贴到终端):

cat >/lib/systemd/system/AShare.service <<EOF
[Unit]
Description=AShare service
Wants=network.target
After=network.target network.service

[Service]
Type=simple
WorkingDirectory=/opt/AShare
ExecStart=/opt/AShare/AShare_linux_amd64
KillMode=process

[Install]
WantedBy=multi-user.target
EOF

启动进程 & 开机自启

systemctl start AShare   # 启动程序
systemctl enable AShare  # 开机启动
systemctl status AShare  # 查看运行状态以及显示默认账户密码

默认WEB地址:http://127.0.0.1:5201/,根据设置向导完成初始化。

Linux_x86_64 卸载

停止进程 & 清除文件

systemctl disable AShare && systemctl stop AShare
rm -rf /opt/AShare /lib/systemd/system/AShare.service

获取refresh_token(不适用于 二次验证账户 ¹)

项目源码