Thanks to visit codestin.com
Credit goes to github.com

Skip to content
forked from AlistGo/alist

🗂️A file list/WebDAV program that supports multiple storages, powered by Gin and Solidjs. / 一个支持多存储的文件列表/WebDAV程序,使用 Gin 和 Solidjs。

License

ykxVK8yL5L/alist

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

logo

🗂️A file list program that supports multiple storages, powered by Gin and Solidjs.


English | 中文| 日本語 | Contributing | CODE_OF_CONDUCT

与官方版本区别:

  • PikPak和迅雷X加入反代选项使用更方便
  • 前台文件夹对比功能,文件夹下显示文件选中数量
  • 提醒功能:文件复制完成或失败会提醒
  • 复制功能:加入覆盖选项,复制文件夹时如果文件已经存在会跳过,后台复制任务列表进行了优化,进行中置顶,显示复制文件大小
  • 存储功能:添加复制存储功能,存储分组及同步修改组内存储功能
  • 离线下载逻辑和官方不一样:具体使用可以参考迅雷X的使用视频:https://www.youtube.com/watch?v=5lh2o9Z_Kds
  • 可以添加自定义播放器方便调用其他APP播放
  • 6盘(2dland.cn)、迅雷X实现other接口返回下载的原始链接,其中6盘为webdav的下载直链包含webdav的用户名和密码,如无必要请勿使用。调用地址:/api/fs/other 方法:Post 请求Body:{"path":"/path"}
  • 关于Other接口,目前迅雷X加入了网络请求的接口,这样可以进行其它的接口请求不需要再重复实现登陆操作,body,params可选。请求示例:
{"path":"/xunlei","password":"","data":{"action":"request","url":"https://api-pan.xunleix.com/drive/v1/tasks","method":"get","body":{"id":"__FILEID__","name":"__FILENAME__","PATH":"__FILEPATH__"},"params":{}}}

上面的代码进行了一次Alist之外的请求来获取下载任务列表。可通过url,method,body来构造自定义的请求,FILEIDFILENAMEFILEPATH 分别对应文件的id,name和path信息。演示视频:https://youtu.be/T8RpBbeoPqw

Other接口请求说明:
6盘Other接口请求说明: 如需使用分享功能需要修改appid和secret如下:
  AppID      = "devDebugger/1.0"
  AppVersion = "1.0.0"
  AppSecret  = "Nkx3Y2xvZ2luLmNu"

由于6盘不是采用http请求因此不能像迅雷X那样发送请求,固定请求格式如下:

  • 获取分享列表请求:
{
  "path": "/2dland",
  "data": {
    "action": "share",
    "method": "list",
    "body": {
        "token": "",
        "limit":10
    }
  }
}
  • 创建分享请求:
{
  "path": "/2dland",
  "data": {
    "action": "share",
    "method": "create",
    "body": {
        "path_list":["路径""],
        "lifetime":-1
    }
  }
}
  • 获取分享信息请求:
{
  "path": "/2dland",
  "data": {
    "action": "share",
    "method": "get",
    "body": {
        "identity":"分享ID"
    }
  }
}
  • 保存分享请求:
{
  "path": "/2dland",
  "data": {
    "action": "share",
    "method": "save",
    "body": {
        "identity":"分享ID"
    }
  }
}
  • 删除分享请求:
{
  "path": "/2dland",
  "data": {
    "action": "share",
    "method": "delete",
    "body": {
        "identity":["分享ID"]
    }
  }
}
  • 解析离线请求:
{
  "path": "/2dland",
  "data": {
    "action": "offline",
    "method": "parse",
    "body": {
        "url":"磁力链接",
    }
  }
}
  • 添加离线请求:
{
  "path": "/2dland",
  "data": {
    "action": "offline",
    "method": "add",
    "body": {
        "url":"磁力链接",
        "save_path":"/"
    }
  }
}

获取离线列表:

{
  "path": "/2dland",
  "data": {
    "action": "offline",
    "method": "list",
    "body": {
        "token": "",
        "limit":10
    }
  }
}
  • 删除离线请求:
{
  "path": "/2dland",
  "data": {
    "action": "offline",
    "method": "delete",
    "body": {
        "identity":["离线ID"]
    }
  }
}

Linux安装脚本

curl -fsSL "https://raw.githubusercontent.com/ykxVK8yL5L/alist/main/linux.sh" | bash -s install

Serv00

wget -O alist-freebsd.sh https://raw.githubusercontent.com/ykxVK8yL5L/alist/main/serv00.sh && sh alist-freebsd.sh

Android可使用Termux运行 项目地址如下:

https://github.com/ykxVK8yL5L/termux-packages/releases
https://github.com/ykxVK8yL5L/AListFlutter/releases

Docker 配置文件路径 /opt/alist 访问端口:10021

docker run  --name="alist" -p 10021:5244 -v /opt/alist:/opt/alist/data -e ALIST_ADMIN_PASSWORD='admin' ykxvk8yl5l/alist:latest

Features

Document

Demo

https://al.nn.ci

Discussion

Please go to our discussion forum for general questions, issues are for bug reports and feature requests only.

Sponsor

AList is an open-source software, if you happen to like this project and want me to keep going, please consider sponsoring me or providing a single donation! Thanks for all the love and support: https://alist.nn.ci/guide/sponsor.html

Special sponsors

  • VidHub - An elegant cloud video player within the Apple ecosystem. Support for iPhone, iPad, Mac, and Apple TV.
  • 亚洲云 - 高防服务器|服务器租用|福州高防|广东电信|香港服务器|美国服务器|海外服务器 - 国内靠谱的企业级云计算服务提供商 (sponsored Chinese API server)
  • 找资源 - 阿里云盘资源搜索引擎

Contributors

Thanks goes to these wonderful people:

Contributors

License

The AList is open-source software licensed under the AGPL-3.0 license.

Disclaimer

  • This program is a free and open source project. It is designed to share files on the network disk, which is convenient for downloading and learning Golang. Please abide by relevant laws and regulations when using it, and do not abuse it;
  • This program is implemented by calling the official sdk/interface, without destroying the official interface behavior;
  • This program only does 302 redirect/traffic forwarding, and does not intercept, store, or tamper with any user data;
  • Before using this program, you should understand and bear the corresponding risks, including but not limited to account ban, download speed limit, etc., which is none of this program's business;
  • If there is any infringement, please contact me by email, and it will be dealt with in time.

@Blog · @GitHub · @TelegramGroup · @Discord

About

🗂️A file list/WebDAV program that supports multiple storages, powered by Gin and Solidjs. / 一个支持多存储的文件列表/WebDAV程序,使用 Gin 和 Solidjs。

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 99.0%
  • Other 1.0%