https://alist.nn.ci/

注意

新版本(V3 及更高版本)与 V2 不兼容,因此如果您从 V2 升级,我们建议您完全重新安装 Al­ist。

What's this

一个支持多种存储,支持网页浏览和 Web­DAV 的文件列表程序,由 gin 和 Solidjs 驱动。

Support storage

Discussion

一般问题请到讨论论坛issue 仅针对错误报告和功能请求。

演示

一键脚本


仅适用于 Linux amd64/​ar­m64 平台。

安装

curl -fsSL "https://alist.nn.ci/v3.sh" | bash -s install

更新

curl -fsSL "https://alist.nn.ci/v3.sh" | bash -s update

卸载

curl -fsSL "https://alist.nn.ci/v3.sh" | bash -s uninstall

自定义路径

默认安装在 /opt/alist 中。 自定义安装路径,将安装路径作为第二个参数添加,必须是绝对路径(如果路径以 al­ist 结尾,则直接安装到给定路径,否则会安装在给定路径 al­ist 目录下),如 安装到 /root

# Install
curl -fsSL "https://alist.nn.ci/v3.sh" | bash -s install /root
# update
curl -fsSL "https://alist.nn.ci/v3.sh" | bash -s update /root
# Uninstall
curl -fsSL "https://alist.nn.ci/v3.sh" | bash -s uninstall /root

使用 Docker


查看管理员信息:

docker exec -it alist ./alist admin

发行版本

docker run -d --restart=always -v /etc/alist:/opt/alist/data -p 5244:5244 --name="alist" xhofe/alist:latest

开发版本

仅适用于 amd64/​ar­m64。不推荐,这可能无法正常工作。

docker run -d --restart=always -v /etc/alist:/opt/alist/data -p 5244:5244 --name="alist" xhofe/alist:main

指定版本

有关详细信息,请参阅 https://hub.docker.com/r/xhofe/alist

有关离线下载功能的额外说明

若没有使用 docker pull --platform 参数拉取镜像时,docker 可能会在 64 位操作系统上拉取 32 位镜像,这将可能导致离线下载功能即使在正常配置情况下也无法使用。

当发生错误时,您会在 Al­ist 的日志文件中看到类似错误日志。

ERRO[2022-11-20 12:05:19] error [unaligned 64-bit atomic operation] while run task [download http://pic.rmb.bdstatic.com/bjh/34ee946f7a74435a167ca4351d723374.png to [/ftp](/)]

解决方法,如果是 CPU 架构是 64 位,尝试手动拉取 64 位 docker 镜像,重新构建容器,再次尝试。

如果是 CPU 架构是 32 位,目前尚无可用方案。