Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
imzlh committed Aug 4, 2024
0 parents commit 20774e2
Show file tree
Hide file tree
Showing 966 changed files with 18,126 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/compile.yml
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: "这是已经打包完成的版本,解压后开箱即用"

31 changes: 31 additions & 0 deletions .gitignore
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 added .gitmodules
Empty file.
3 changes: 3 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"recommendations": ["Vue.volar"]
}
56 changes: 56 additions & 0 deletions README.md
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
```
13 changes: 13 additions & 0 deletions config.ts
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;
20 changes: 20 additions & 0 deletions index.html
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>
40 changes: 40 additions & 0 deletions package.json
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 added public/app/aplayer.webp
Binary file not shown.
Binary file added public/app/artplayer.webp
Binary file not shown.
Binary file added public/app/chrome.webp
Binary file not shown.
Binary file added public/app/desginer.webp
Binary file not shown.
Binary file added public/app/explorer.webp
Binary file not shown.
Binary file added public/app/hex.webp
Binary file not shown.
Binary file added public/app/imager.webp
Binary file not shown.
Binary file added public/app/muya.webp
Binary file not shown.
Binary file added public/app/settings.webp
Binary file not shown.
Binary file added public/app/store.webp
Binary file not shown.
Binary file added public/app/video.webp
Binary file not shown.
11 changes: 11 additions & 0 deletions public/app/vlite.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/app/vplayer.webp
Binary file not shown.
Binary file added public/app/vscode.webp
Binary file not shown.
Binary file added public/fallback.woff2
Binary file not shown.
Binary file added public/favicon.ico
Binary file not shown.
28 changes: 28 additions & 0 deletions public/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/font/Barlow-Bold.woff2
Binary file not shown.
Binary file added public/icon/app.webp
Binary file not shown.
Binary file added public/icon/copy.webp
Binary file not shown.
Binary file added public/icon/cut.webp
Binary file not shown.
1 change: 1 addition & 0 deletions public/icon/del.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/icon/desktop.webp
Binary file not shown.
Binary file added public/icon/dir.webp
Binary file not shown.
Binary file added public/icon/display.webp
Binary file not shown.
Binary file added public/icon/download.webp
Binary file not shown.
Binary file added public/icon/error.webp
Binary file not shown.
Binary file added public/icon/file.webp
Binary file not shown.
Binary file added public/icon/folder.webp
Binary file not shown.
Binary file added public/icon/info.webp
Binary file not shown.
Binary file added public/icon/match.webp
Binary file not shown.
Binary file added public/icon/new.webp
Binary file not shown.
Binary file added public/icon/off.webp
Binary file not shown.
Binary file added public/icon/open.webp
Binary file not shown.
Binary file added public/icon/opener.webp
Binary file not shown.
Binary file added public/icon/paste.webp
Binary file not shown.
Binary file added public/icon/path.webp
Binary file not shown.
Binary file added public/icon/question.webp
Binary file not shown.
Binary file added public/icon/quicktool.webp
Binary file not shown.
Binary file added public/icon/refresh.webp
Binary file not shown.
Binary file added public/icon/rename.webp
Binary file not shown.
Binary file added public/icon/textfile.webp
Binary file not shown.
Binary file added public/icon/transmit.webp
Binary file not shown.
Binary file added public/icon/url.webp
Binary file not shown.
Binary file added public/icon/viewinfo.webp
Binary file not shown.
Binary file added public/icon/viewlarge.webp
Binary file not shown.
Binary file added public/icon/warning.webp
Binary file not shown.
1 change: 1 addition & 0 deletions public/type/3d.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/type/abap.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/type/abc.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/type/actionscript.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/type/ada.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/type/adonis.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/type/advpl.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/type/amplify.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/type/android.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/type/angular.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/type/antlr.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/type/apiblueprint.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/type/apollo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/type/applescript.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/type/apps-script.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/type/appveyor.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/type/architecture.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/type/arduino.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 20774e2

Please sign in to comment.