feat:添加lrcapi到列表

This commit is contained in:
okxlin 2024-11-01 00:47:07 +08:00
parent 1a532e80f1
commit 40e1578a6b
9 changed files with 130 additions and 0 deletions

View File

@ -0,0 +1,4 @@
API_AUTH="authkey"
CONTAINER_NAME="lrcapi"
MUSIC_PATH="./data"
PANEL_APP_PORT_HTTP=28883

View File

@ -0,0 +1,26 @@
additionalProperties:
formFields:
- default: "28883"
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
required: true
rule: paramPort
type: number
- default: "./data"
edit: true
envKey: MUSIC_PATH
labelEn: Music Path
labelZh: 音乐路径
required: true
type: text
- default: "authkey"
edit: true
envKey: API_AUTH
labelEn: API Auth Key
labelZh: API 鉴权 Key
random: true
required: true
rule: paramComplexity
type: password

View File

@ -0,0 +1,19 @@
services:
lrcapi:
image: "hisatri/lrcapi:1.5.6"
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:28883"
volumes:
- ${MUSIC_PATH}:/music
environment:
- API_AUTH=${API_AUTH}
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true

13
apps/lrcapi/README.md Normal file
View File

@ -0,0 +1,13 @@
# LrcApi
A Flask API For [StreamMusic](https://github.com/gitbobobo/StreamMusic)
## 功能
支持酷狗/聚合API获取LRC歌词
支持text/json API
支持获取音乐/专辑/艺术家封面
默认监听28883端口API地址 `http://0.0.0.0:28883/lyrics` 新版API地址 `http://0.0.0.0:28883/jsonapi` 封面API地址 `http://0.0.0.0:28883/cover`

19
apps/lrcapi/data.yml Normal file
View File

@ -0,0 +1,19 @@
name: LrcApi
tags:
- 多媒体
title: StreamMusic 的 Flask 应用程序接口
description: StreamMusic 的 Flask 应用程序接口
additionalProperties:
key: lrcapi
name: LrcApi
tags:
- Media
shortDescZh: StreamMusic 的 Flask 应用程序接口
shortDescEn: A Flask API For StreamMusic
type: tool
crossVersionUpdate: true
limit: 0
recommend: 0
website: https://docs.lrc.cx
github: https://github.com/HisAtri/LrcApi
document: https://docs.lrc.cx

View File

@ -0,0 +1,4 @@
API_AUTH="authkey"
CONTAINER_NAME="lrcapi"
MUSIC_PATH="./data"
PANEL_APP_PORT_HTTP=28883

View File

@ -0,0 +1,26 @@
additionalProperties:
formFields:
- default: "28883"
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
required: true
rule: paramPort
type: number
- default: "./data"
edit: true
envKey: MUSIC_PATH
labelEn: Music Path
labelZh: 音乐路径
required: true
type: text
- default: "authkey"
edit: true
envKey: API_AUTH
labelEn: API Auth Key
labelZh: API 鉴权 Key
random: true
required: true
rule: paramComplexity
type: password

View File

@ -0,0 +1,19 @@
services:
lrcapi:
image: "hisatri/lrcapi:latest"
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:28883"
volumes:
- ${MUSIC_PATH}:/music
environment:
- API_AUTH=${API_AUTH}
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true

BIN
apps/lrcapi/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB