-
Notifications
You must be signed in to change notification settings - Fork 1
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
0 parents
commit 20774e2
Showing
966 changed files
with
18,126 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node | ||
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs | ||
|
||
name: Compile Vite Package | ||
|
||
permissions: | ||
contents: write | ||
|
||
on: | ||
push: | ||
branches: [ "main" ] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
node-version: [20.x] | ||
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/ | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- run: npm i | ||
- run: npm run build --if-present | ||
- run: tar -zcvf release.tgz dist/ | ||
- name: Upload binaries to release | ||
uses: svenstaro/upload-release-action@v2 | ||
with: | ||
repo_token: ${{ secrets.GITHUB_TOKEN }} | ||
file: release.tgz | ||
release_name: 'latest' | ||
asset_name: vlist5_latest.tgz | ||
tag: ${{ github.ref }} | ||
overwrite: true | ||
body: "这是已经打包完成的版本,解压后开箱即用" | ||
|
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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
pnpm-debug.log* | ||
lerna-debug.log* | ||
|
||
node_modules | ||
.DS_Store | ||
dist | ||
dist-ssr | ||
coverage | ||
*.local | ||
|
||
/cypress/videos/ | ||
/cypress/screenshots/ | ||
|
||
# Editor directories and files | ||
.vscode/* | ||
!.vscode/extensions.json | ||
.idea | ||
*.suo | ||
*.ntvs* | ||
*.njsproj | ||
*.sln | ||
*.sw? | ||
|
||
*.tsbuildinfo | ||
package-lock.json |
Empty file.
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"recommendations": ["Vue.volar"] | ||
} |
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 |
---|---|---|
@@ -0,0 +1,56 @@ | ||
![vList5](public/favicon.svg) | ||
|
||
# vList5-aList | ||
<span style="color: gray">性能与全能的平衡</span> | ||
|
||
全能还好看的文件管理方案<br> | ||
使用Vue构建,与NJS集成<br> | ||
支持超多打开方式,很多好用的小工具 | ||
|
||
## 为什么是vList | ||
vList最初就是为了Nginx设计的,经历了4代的积淀已经拥有成熟的方案了<br> | ||
为了并发考虑,我们将大部分功能放在了前端,且对于验证机制使用了SHA1-HMAC,安全可靠 | ||
|
||
## 目前已经完成 | ||
|
||
- 强大的打开方式 | ||
- 视频 | ||
- 音频 | ||
- 图片 | ||
- 二进制 | ||
- 代码/文本 | ||
- 字体 | ||
- HTML类 | ||
- MarkDown编辑 | ||
- ...(欢迎PR或issue) | ||
- 完善的UI | ||
- 手机端 | ||
- PC | ||
- Windows式重命名、上传移动 | ||
- 动画(正在计划中) | ||
- Vue响应式设计 | ||
- 设置 | ||
- `getConfig`、`setConfig` | ||
- 文件操作 | ||
- 复制 | ||
- 粘贴 | ||
- 新建 | ||
- 上传 | ||
- 预览操作 | ||
- 批量操作 | ||
- explorer窗格 | ||
- ...(欢迎PR或issue) | ||
- 额外的支持 | ||
- libmedia UI | ||
- PWA应用 | ||
- TypeScript化 | ||
- 内置缓存 | ||
|
||
## 安装指南 | ||
|
||
需要NodeJS和<a href="https://github.com/imzlh/vlist-njs">NJS后端</a> | ||
|
||
```sh | ||
npm install | ||
npm run build | ||
``` |
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import I_File from '/icon/file.webp'; | ||
import I_DIR from '/icon/dir.webp'; | ||
|
||
export const APP_NAME = 'izCloud'; | ||
export const DEFAULT_FILE_ICON = I_File; | ||
export const DEFAULT_DIR_ICON = I_DIR; | ||
export const APP_API = import.meta.env.DEV | ||
? 'http://localhost:5244/api/' | ||
: import.meta.env.VLIST_API || location.protocol + '//' + location.host + '/@api/'; | ||
export const FILE_PROXY_SERVER = import.meta.env.DEV | ||
? 'http://localhost:5244/d/' | ||
: import.meta.env.VLIST_FILE_SERVER || location.protocol + '//' + location.host + '/'; | ||
export const APP_ROOT = location.protocol + '//' + location.host + location.pathname; |
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<!DOCTYPE html> | ||
<html lang="zh"> | ||
|
||
<head> | ||
<meta charset="UTF-8"> | ||
<link rel="icon" href="favicon.ico"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<meta name="description" content="Your private cloud, manager&preview your file using Nginx | ||
你的私人高性能云盘,使用Nginx作为后端预览&修改你的文件"> | ||
<link rel="apple-touch-icon" href="favicon.ico"> | ||
<link rel="mask-icon" href="favicon.ico" color="#ffffff"> | ||
<meta name="theme-color" content="#ffffff"> | ||
<title>vList5</title> | ||
<script src="./src/init.ts" type="module" defer></script> | ||
</head> | ||
|
||
<body tabindex="-1"> | ||
</body> | ||
|
||
</html> |
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 |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{ | ||
"name": "vlist", | ||
"version": "5.6", | ||
"private": true, | ||
"type": "module", | ||
"scripts": { | ||
"dev": "vite", | ||
"build": "run-p type-check \"build-only {@}\" -- && cp node_modules/libmedia/dist/avplayer/*.avplayer.js dist/assets/ || copy node_modules\\libmedia\\dist\\avplayer\\*.avplayer.js dist/assets/", | ||
"preview": "vite preview", | ||
"build-only": "vite build", | ||
"type-check": "vue-tsc --build --force" | ||
}, | ||
"dependencies": { | ||
"@muyajs/core": "^0.0.32", | ||
"@petamoriken/float16": "^3.8.7", | ||
"aplayer-ts": "^2.4.5", | ||
"artplayer": "^5.1.5", | ||
"assjs": "^0.1.0", | ||
"cheap": "https://github.com/zhaohappy/cheap.git", | ||
"jssha": "^3.3.1", | ||
"libmedia": "https://github.com/imzlh/libmedia-es.git", | ||
"libmedia-common": "https://github.com/zhaohappy/common.git", | ||
"lrc-kit": "^1.1.1", | ||
"marked": "^13.0.3", | ||
"monaco-editor": "^0.50.0", | ||
"sass": "^1.77.4", | ||
"vite": "^5.3.4", | ||
"vite-plugin-pwa": "^0.20.0", | ||
"vue": "^3.4.21", | ||
"vue-tsc": "^2.0.11" | ||
}, | ||
"devDependencies": { | ||
"@types/ebml": "^3.0.5", | ||
"@types/node": "^20.14.11", | ||
"@vitejs/plugin-vue": "^5.0.4", | ||
"@vue/tsconfig": "^0.5.1", | ||
"npm-run-all2": "^6.1.2", | ||
"typescript": "~5.4.0" | ||
} | ||
} |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.