selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

AList logo

Self-host AList

v3.66.0

Multi-storage file list and WebDAV server

ReleaseOpen SourceAGPL-3.0
Updated3 weeks ago
LanguageGo
Setup difficultyModerate
ThemeDark mode
Stars
50 450
Ports
5244 (HTTP web UI and API), 5221 (FTP server (when enabled)), 5222 (SFTP server (when enabled))
Docker
xhofe/alist
Install with Docker

What is AList?

AList is a file listing and WebDAV program that lets you mount and browse dozens of cloud storage providers — including Google Drive, OneDrive, S3, FTP/SFTP, WebDAV, and many Chinese cloud services — through a single web interface. It supports file previews for PDFs, Office documents, images, video, audio, and code; offers dark mode and internationalization; provides password-protected paths and WebDAV access; and includes features like offline downloads, multi-threaded transfers, and cross-storage file copying. AList is written in Go (Gin) with a SolidJS frontend, runs as a single binary or Docker container, uses SQLite by default (with MySQL/PostgreSQL options), and is licensed under AGPL-3.0. A paid desktop companion app adds a GUI manager and local disk mounting, but the core server is fully open-source and free.

AList alternatives

Should you self-host AList?

AList scores 83/100 on selfhost.directory (how scoring works) and ranks #1 of 34 in File Management. It has 50 450 GitHub stars, +181 in the last 30 days.

It shipped 12 stable releases in the past year. The latest, v3.66.0, came out on 21 October 2026. New versions land roughly every 4 weeks.

Setup is moderate: expect some configuration beyond a single command. An official Docker image is available. It is AGPL-3.0-licensed and written mostly in Go.

Its closest alternative on selfhost.directory is OpenList (80/100, 25 610 stars). AList scores higher overall. See AList vs OpenList side by side.

Features

  • Cross-storage file copy/move
  • File Preview
  • Internationalization (I18N)
  • Multi-cloud storage aggregation
  • Multi-threaded download acceleration
  • Offline Download
  • Password-protected paths
  • REST API
  • Single sign-on (OIDC/OAuth)
  • WebDAV Server

AList README

How to install AList

Install AList with Docker

Docker Engine

docker run -d --restart=always -v /etc/alist:/opt/alist/data -p 5244:5244 -e PUID=0 -e PGID=0 -e UMASK=022 --name="alist" xhofe/alist:latest

Stable version; use :main tag for beta

How to configure AList

  • forcefalseForce AList to read config from configuration file instead of environment variables

    values: true, false

  • site_urlThe address of your AList server, essential for some features

    values: URL string (e.g., https://pan.nn.ci)

  • cdnCDN address for frontend assets, supports $version placeholder

    values: CDN URL with $version

  • jwt_secretrandom_generatedSecret used to sign JWT tokens, randomly generated on first run

    values: string

  • token_expires_in48User login expiration time in hours

    values: integer (hours)

AList releases & version history

@ Every self-hosted release, weekly

One Monday email with the week's stable releases across the directory.

FAQ

Why is the admin password from ./alist admin not working?

The working directory when running ./alist admin must match the directory where AList stores its config.json. Run the command from the AList binary's directory.

Why do I get 413 HTTP error on upload?

If using a reverse proxy, increase client_max_body_size and timeout in the web server config. Otherwise the upload may succeed but the frontend times out.

Why does package download not work?

Package download uses the browser's Stream API and requires HTTPS, CORS, and a modern browser (Chrome, Firefox, Edge).

Why can't I preview PDF files?

PDF preview uses pdf.js which requires HTTPS and CORS support. Configure HTTPS via reverse proxy or certificates, and ensure CORS is enabled on the storage provider.

Why can't I preview Office files?

Microsoft Office Online Viewer requires external network access, a domain name (not IP), port 80/443, and supported formats (docx, xlsx, pptx, etc.) under size limits (10 MB for Word/PPT, 5 MB for Excel).

How to allow guests to upload files?

Add a meta record for the target path and enable the write permission.

How to upgrade AList?

Replace the binary with the new version (except for incompatible versions noted in changelog). For Docker, remove the old container, pull the new image, and run it.

How to reverse proxy with a subdirectory?

Set site_url to the subdirectory path (e.g., https://nn.ci/alist or /alist), restart AList, and configure nginx to proxy_pass to http://127.0.0.1:5244/alist/ with appropriate headers.

More in File Management

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…