forked from AlistGo/alist
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a00fe65
commit fecab18
Showing
18 changed files
with
110 additions
and
271 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,9 +2,9 @@ name: build | |
|
||
on: | ||
push: | ||
branches: [ 'main' ] | ||
branches: ["main"] | ||
pull_request: | ||
branches: [ 'main' ] | ||
branches: ["main"] | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | ||
|
@@ -15,7 +15,7 @@ jobs: | |
strategy: | ||
matrix: | ||
platform: [ubuntu-latest] | ||
go-version: [ '1.21' ] | ||
go-version: ["1.21"] | ||
name: Build | ||
runs-on: ${{ matrix.platform }} | ||
steps: | ||
|
@@ -27,6 +27,10 @@ jobs: | |
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Check Space | ||
run: | | ||
df -h | ||
- uses: benjlevesque/[email protected] | ||
id: short-sha | ||
|
||
|
@@ -44,5 +48,5 @@ jobs: | |
- name: Upload artifact | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: alist_${{ env.SHA }} | ||
path: dist | ||
name: sweet-cloud_${{ env.SHA }} | ||
path: dist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,6 +30,15 @@ jobs: | |
with: | ||
fetch-depth: 0 | ||
|
||
- name: 释放磁盘空间 | ||
uses: jlumbroso/free-disk-space@main | ||
with: | ||
swap-storage: true | ||
|
||
- name: Check Space | ||
run: | | ||
df -h | ||
- name: Install dependencies | ||
run: | | ||
sudo snap install zig --classic --beta | ||
|
@@ -46,30 +55,3 @@ jobs: | |
with: | ||
files: build/compress/* | ||
prerelease: false | ||
|
||
release_desktop: | ||
needs: release | ||
name: Release desktop | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: alist-org/desktop-release | ||
ref: main | ||
persist-credentials: false | ||
fetch-depth: 0 | ||
|
||
- name: Add tag | ||
run: | | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "IlaBot" | ||
version=$(wget -qO- -t1 -T2 "https://api.github.com/repos/alist-org/alist/releases/latest" | grep "tag_name" | head -n 1 | awk -F ":" '{print $2}' | sed 's/\"//g;s/,//g;s/ //g') | ||
git tag -a $version -m "release $version" | ||
- name: Push tags | ||
uses: ad-m/github-push-action@master | ||
with: | ||
github_token: ${{ secrets.MY_TOKEN }} | ||
branch: main | ||
repository: alist-org/desktop-release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ name: release_docker | |
on: | ||
push: | ||
tags: | ||
- 'v*' | ||
- '*' | ||
|
||
jobs: | ||
release_docker: | ||
|
@@ -12,17 +12,21 @@ jobs: | |
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Check Space | ||
run: | | ||
df -h | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: 'stable' | ||
go-version: "stable" | ||
|
||
- name: Cache Musl | ||
id: cache-musl | ||
uses: actions/cache@v4 | ||
with: | ||
path: build/musl-libs | ||
key: docker-musl-libs-v2 | ||
key: docker-musl-libs | ||
|
||
- name: Download Musl Library | ||
if: steps.cache-musl.outputs.cache-hit != 'true' | ||
|
@@ -35,7 +39,7 @@ jobs: | |
id: meta | ||
uses: docker/metadata-action@v5 | ||
with: | ||
images: xhofe/alist | ||
images: leolitaly/sweet-cloud | ||
|
||
- name: Set up QEMU | ||
uses: docker/setup-qemu-action@v3 | ||
|
@@ -46,7 +50,7 @@ jobs: | |
- name: Login to DockerHub | ||
uses: docker/login-action@v3 | ||
with: | ||
username: xhofe | ||
username: leolitaly | ||
password: ${{ secrets.DOCKERHUB_TOKEN }} | ||
|
||
- name: Build and push | ||
|
@@ -58,51 +62,4 @@ jobs: | |
push: true | ||
tags: ${{ steps.meta.outputs.tags }} | ||
labels: ${{ steps.meta.outputs.labels }} | ||
platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/386,linux/arm/v6,linux/s390x,linux/ppc64le,linux/riscv64 | ||
|
||
- name: Docker meta with ffmpeg | ||
id: meta-ffmpeg | ||
uses: docker/metadata-action@v5 | ||
with: | ||
images: xhofe/alist | ||
flavor: | | ||
latest=true | ||
suffix=-ffmpeg,onlatest=true | ||
- name: Build and push with ffmpeg | ||
id: docker_build_ffmpeg | ||
uses: docker/build-push-action@v6 | ||
with: | ||
context: . | ||
file: Dockerfile.ci | ||
push: true | ||
tags: ${{ steps.meta-ffmpeg.outputs.tags }} | ||
labels: ${{ steps.meta-ffmpeg.outputs.labels }} | ||
build-args: INSTALL_FFMPEG=true | ||
platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/386,linux/arm/v6,linux/s390x,linux/ppc64le,linux/riscv64 | ||
|
||
release_docker_with_aria2: | ||
needs: release_docker | ||
name: Release docker with aria2 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: alist-org/with_aria2 | ||
ref: main | ||
persist-credentials: false | ||
fetch-depth: 0 | ||
|
||
- name: Add tag | ||
run: | | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "IlaBot" | ||
git tag -a ${{ github.ref_name }} -m "release ${{ github.ref_name }}" | ||
- name: Push tags | ||
uses: ad-m/github-push-action@master | ||
with: | ||
github_token: ${{ secrets.MY_TOKEN }} | ||
branch: main | ||
repository: alist-org/with_aria2 | ||
platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/386,linux/arm/v6,linux/s390x |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,141 +1,21 @@ | ||
<div align="center"> | ||
<a href="https://alist.nn.ci"><img width="100px" alt="logo" src="https://cdn.jsdelivr.net/gh/alist-org/logo@main/logo.svg"/></a> | ||
<p><em>🗂️A file list program that supports multiple storages, powered by Gin and Solidjs.</em></p> | ||
<div> | ||
<a href="https://goreportcard.com/report/github.com/alist-org/alist/v3"> | ||
<img src="https://goreportcard.com/badge/github.com/alist-org/alist/v3" alt="latest version" /> | ||
</a> | ||
<a href="https://github.com/alist-org/alist/blob/main/LICENSE"> | ||
<img src="https://img.shields.io/github/license/Xhofe/alist" alt="License" /> | ||
</a> | ||
<a href="https://github.com/alist-org/alist/actions?query=workflow%3ABuild"> | ||
<img src="https://img.shields.io/github/actions/workflow/status/Xhofe/alist/build.yml?branch=main" alt="Build status" /> | ||
</a> | ||
<a href="https://github.com/alist-org/alist/releases"> | ||
<img src="https://img.shields.io/github/release/Xhofe/alist" alt="latest version" /> | ||
</a> | ||
<a title="Crowdin" target="_blank" href="https://crwd.in/alist"> | ||
<img src="https://badges.crowdin.net/alist/localized.svg"> | ||
</a> | ||
</div> | ||
<div> | ||
<a href="https://github.com/alist-org/alist/discussions"> | ||
<img src="https://img.shields.io/github/discussions/Xhofe/alist?color=%23ED8936" alt="discussions" /> | ||
</a> | ||
<a href="https://discord.gg/F4ymsH4xv2"> | ||
<img src="https://img.shields.io/discord/1018870125102895134?logo=discord" alt="discussions" /> | ||
</a> | ||
<a href="https://github.com/alist-org/alist/releases"> | ||
<img src="https://img.shields.io/github/downloads/Xhofe/alist/total?color=%239F7AEA&logo=github" alt="Downloads" /> | ||
</a> | ||
<a href="https://hub.docker.com/r/xhofe/alist"> | ||
<img src="https://img.shields.io/docker/pulls/xhofe/alist?color=%2348BB78&logo=docker&label=pulls" alt="Downloads" /> | ||
</a> | ||
<a href="https://alist.nn.ci/guide/sponsor.html"> | ||
<img src="https://img.shields.io/badge/%24-sponsor-F87171.svg" alt="sponsor" /> | ||
</a> | ||
</div> | ||
</div> | ||
## 个性魔改美化定制版 | ||
|
||
--- | ||
功能详情请看更新日志。 | ||
|
||
English | [中文](./README_cn.md)| [日本語](./README_ja.md) | [Contributing](./CONTRIBUTING.md) | [CODE_OF_CONDUCT](./CODE_OF_CONDUCT.md) | ||
## Docker | ||
|
||
## Features | ||
docker pull leolitaly/sweet-cloud:latest | ||
|
||
- [x] Multiple storages | ||
- [x] Local storage | ||
- [x] [Aliyundrive](https://www.alipan.com/) | ||
- [x] OneDrive / Sharepoint ([global](https://www.office.com/), [cn](https://portal.partner.microsoftonline.cn),de,us) | ||
- [x] [189cloud](https://cloud.189.cn) (Personal, Family) | ||
- [x] [GoogleDrive](https://drive.google.com/) | ||
- [x] [123pan](https://www.123pan.com/) | ||
- [x] FTP / SFTP | ||
- [x] [PikPak](https://www.mypikpak.com/) | ||
- [x] [S3](https://aws.amazon.com/s3/) | ||
- [x] [Seafile](https://seafile.com/) | ||
- [x] [UPYUN Storage Service](https://www.upyun.com/products/file-storage) | ||
- [x] WebDav(Support OneDrive/SharePoint without API) | ||
- [x] Teambition([China](https://www.teambition.com/ ),[International](https://us.teambition.com/ )) | ||
- [x] [Mediatrack](https://www.mediatrack.cn/) | ||
- [x] [139yun](https://yun.139.com/) (Personal, Family) | ||
- [x] [YandexDisk](https://disk.yandex.com/) | ||
- [x] [BaiduNetdisk](http://pan.baidu.com/) | ||
- [x] [Terabox](https://www.terabox.com/main) | ||
- [x] [UC](https://drive.uc.cn) | ||
- [x] [Quark](https://pan.quark.cn) | ||
- [x] [Thunder](https://pan.xunlei.com) | ||
- [x] [Lanzou](https://www.lanzou.com/) | ||
- [x] [ILanzou](https://www.ilanzou.com/) | ||
- [x] [Aliyundrive share](https://www.alipan.com/) | ||
- [x] [Google photo](https://photos.google.com/) | ||
- [x] [Mega.nz](https://mega.nz) | ||
- [x] [Baidu photo](https://photo.baidu.com/) | ||
- [x] SMB | ||
- [x] [115](https://115.com/) | ||
- [X] Cloudreve | ||
- [x] [Dropbox](https://www.dropbox.com/) | ||
- [x] [FeijiPan](https://www.feijipan.com/) | ||
- [x] [dogecloud](https://www.dogecloud.com/product/oss) | ||
- [x] Easy to deploy and out-of-the-box | ||
- [x] File preview (PDF, markdown, code, plain text, ...) | ||
- [x] Image preview in gallery mode | ||
- [x] Video and audio preview, support lyrics and subtitles | ||
- [x] Office documents preview (docx, pptx, xlsx, ...) | ||
- [x] `README.md` preview rendering | ||
- [x] File permalink copy and direct file download | ||
- [x] Dark mode | ||
- [x] I18n | ||
- [x] Protected routes (password protection and authentication) | ||
- [x] WebDav (see https://alist.nn.ci/guide/webdav.html for details) | ||
- [x] [Docker Deploy](https://hub.docker.com/r/xhofe/alist) | ||
- [x] Cloudflare Workers proxy | ||
- [x] File/Folder package download | ||
- [x] Web upload(Can allow visitors to upload), delete, mkdir, rename, move and copy | ||
- [x] Offline download | ||
- [x] Copy files between two storage | ||
- [x] Multi-thread downloading acceleration for single-thread download/stream | ||
预览图 | ||
|
||
## Document | ||
|
||
<https://alist.nn.ci/> | ||
|
||
## Demo | ||
|
||
<https://al.nn.ci> | ||
|
||
## Discussion | ||
|
||
Please go to our [discussion forum](https://github.com/alist-org/alist/discussions) 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](https://apps.apple.com/app/apple-store/id1659622164?pt=118612019&ct=alist&mt=8) - An elegant cloud video player within the Apple ecosystem. Support for iPhone, iPad, Mac, and Apple TV. | ||
- [亚洲云](https://www.asiayun.com/aff/QQCOOQKZ) - 高防服务器|服务器租用|福州高防|广东电信|香港服务器|美国服务器|海外服务器 - 国内靠谱的企业级云计算服务提供商 (sponsored Chinese API server) | ||
- [找资源](http://zhaoziyuan2.cc/) - 阿里云盘资源搜索引擎 | ||
|
||
## Contributors | ||
|
||
Thanks goes to these wonderful people: | ||
|
||
[![Contributors](http://contrib.nn.ci/api?repo=alist-org/alist&repo=alist-org/alist-web&repo=alist-org/docs)](https://github.com/alist-org/alist/graphs/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](mailto:[email protected]), and it will be dealt with in time. | ||
|
||
--- | ||
|
||
> [@Blog](https://nn.ci/) · [@GitHub](https://github.com/alist-org) · [@TelegramGroup](https://t.me/alist_chat) · [@Discord](https://discord.gg/F4ymsH4xv2) | ||
<img width="1408" alt="截屏2024-09-10 20 18 16" src="https://github.com/user-attachments/assets/6bfd7925-f818-4bad-b122-4720d5591620"> | ||
<img width="1408" alt="截屏2024-09-10 20 18 28" src="https://github.com/user-attachments/assets/dde85259-f528-4a2e-b14f-080c0f92022f"> | ||
<img width="1408" alt="截屏2024-09-10 20 24 03" src="https://github.com/user-attachments/assets/44cd61d0-d779-45c6-b462-ef8be6df38a4"> | ||
<img width="1408" alt="截屏2024-09-10 20 24 23" src="https://github.com/user-attachments/assets/c8eeaf1a-1473-4a42-a4c0-a114f09d0286"> | ||
<img width="1408" alt="截屏2024-09-10 20 25 26" src="https://github.com/user-attachments/assets/3799ba9d-5bb2-460b-817b-2a79b61fc34a"> | ||
<img width="1408" alt="截屏2024-09-10 20 25 48" src="https://github.com/user-attachments/assets/28dfebab-7b1c-4a55-a34f-7d7d46cd72e4"> | ||
<img width="1408" alt="截屏2024-09-10 20 26 14" src="https://github.com/user-attachments/assets/4b7c80a0-c8f4-412e-8164-4bb6278ae336"> | ||
<img width="1408" alt="截屏2024-09-10 20 26 48" src="https://github.com/user-attachments/assets/b4e0506a-ca23-4afc-ae0e-8e6363e1d91b"> | ||
<img width="1408" alt="截屏2024-09-10 20 27 05" src="https://github.com/user-attachments/assets/1647c2f2-c4a2-4867-83da-4b9d44725d97"> | ||
<img width="1408" alt="截屏2024-09-10 20 27 22" src="https://github.com/user-attachments/assets/5fd6d5cc-30dc-4166-963a-14b92e958296"> | ||
<img width="1408" alt="截屏2024-09-10 20 27 43" src="https://github.com/user-attachments/assets/f383249b-c070-4af8-8aa9-acfa28d87c97"> |
Oops, something went wrong.