pax_global_header 0000666 0000000 0000000 00000000064 14225021366 0014513 g ustar 00root root 0000000 0000000 52 comment=849eb70e01d05f45e05f4d16db7f0b2e60bbc927
Serendipity-v0.2.0/ 0000775 0000000 0000000 00000000000 14225021366 0014177 5 ustar 00root root 0000000 0000000 Serendipity-v0.2.0/.dockerignore 0000664 0000000 0000000 00000000225 14225021366 0016652 0 ustar 00root root 0000000 0000000 node_modules
npm-debug.log
Dockerfile*
docker-compose*
.dockerignore
.git
.gitignore
README.md
LICENSE
.vscode
dist
dist_electron
build
images
script Serendipity-v0.2.0/.editorconfig 0000664 0000000 0000000 00000000203 14225021366 0016647 0 ustar 00root root 0000000 0000000 root = true
[*]
indent_style = space
indent_size = 2
charset = utf-8
trim_trailing_whitespace = false
insert_final_newline = false Serendipity-v0.2.0/.env.example 0000664 0000000 0000000 00000000400 14225021366 0016414 0 ustar 00root root 0000000 0000000 VUE_APP_NETEASE_API_URL=/api
VUE_APP_ELECTRON_API_URL=/api
VUE_APP_ELECTRON_API_URL_DEV=http://127.0.0.1:10754
VUE_APP_LASTFM_API_KEY=09c55292403d961aa517ff7f5e8a3d9c
VUE_APP_LASTFM_API_SHARED_SECRET=307c9fda32b3904e53654baff215cb67
DEV_SERVER_PORT=20201
Serendipity-v0.2.0/.gitattributes 0000664 0000000 0000000 00000000225 14225021366 0017071 0 ustar 00root root 0000000 0000000 * text eol=lf
# Denote all files that are truly binary and should not be modified.
*.png binary
*.jpg binary
*.mp3 binary
*.icns binary
*.gif binary
Serendipity-v0.2.0/.gitignore 0000664 0000000 0000000 00000000606 14225021366 0016171 0 ustar 00root root 0000000 0000000 .DS_Store
node_modules
/dist
# local env files
.env
.env.local
.env.*.local
# Log files
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
# Editor directories and files
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
.vercel
#Electron-builder output
/dist_electron
NeteaseCloudMusicApi-master
NeteaseCloudMusicApi-master.zip
# Local Netlify folder
.netlify
vercel.json
Serendipity-v0.2.0/.prettierignore 0000664 0000000 0000000 00000000024 14225021366 0017236 0 ustar 00root root 0000000 0000000 build
coverage
dist
Serendipity-v0.2.0/.prettierrc 0000664 0000000 0000000 00000000365 14225021366 0016367 0 ustar 00root root 0000000 0000000 {
"trailingComma": "es5",
"tabWidth": 2,
"useTabs": false,
"semi": true,
"singleQuote": true,
"jsxSingleQuote": true,
"arrowParens": "avoid",
"endOfLine": "lf",
"bracketSpacing": true,
"htmlWhitespaceSensitivity": "strict"
}
Serendipity-v0.2.0/Dockerfile 0000664 0000000 0000000 00000002344 14225021366 0016174 0 ustar 00root root 0000000 0000000 FROM node:16.13.1-alpine as build
ENV VUE_APP_NETEASE_API_URL=/api
WORKDIR /app
RUN apk add --no-cache python3 make g++ git
COPY package.json yarn.lock ./
RUN yarn install
COPY . .
RUN yarn build
FROM nginx:1.20.2-alpine as app
RUN echo $'server { \n\
gzip on;\n\
listen 80; \n\
listen [::]:80; \n\
server_name localhost; \n\
\n\
location / { \n\
root /usr/share/nginx/html; \n\
index index.html; \n\
try_files $uri $uri/ /index.html; \n\
} \n\
\n\
location @rewrites { \n\
rewrite ^(.*)$ /index.html last; \n\
} \n\
\n\
location /api/ { \n\
proxy_set_header Host $host; \n\
proxy_set_header X-Real-IP $remote_addr; \n\
proxy_set_header X-Forwarded-For $remote_addr; \n\
proxy_set_header X-Forwarded-Host $remote_addr; \n\
proxy_set_header X-NginX-Proxy true; \n\
proxy_pass http://localhost:3000/; \n\
} \n\
}' > /etc/nginx/conf.d/default.conf
RUN apk add --no-cache --repository https://dl-cdn.alpinelinux.org/alpine/v3.14/main libuv \
&& apk add --no-cache --update-cache --repository https://dl-cdn.alpinelinux.org/alpine/v3.14/main nodejs npm \
&& npm i -g NeteaseCloudMusicApi
COPY --from=build /app/dist /usr/share/nginx/html
CMD nginx ; exec npx NeteaseCloudMusicApi
Serendipity-v0.2.0/LICENSE 0000664 0000000 0000000 00000002047 14225021366 0015207 0 ustar 00root root 0000000 0000000 MIT License
Copyright (c) 2020 XiaoXi
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Serendipity-v0.2.0/README.md 0000664 0000000 0000000 00000014363 14225021366 0015465 0 ustar 00root root 0000000 0000000
高颜值的第三方网易云播放器
🌎 访问 DEMO |
📦️ 下载安装包