mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2026-06-16 01:02:14 +08:00
@@ -0,0 +1,46 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: "/home/stream-rec"
|
||||
edit: true
|
||||
envKey: STREAM_REC_ROOT_PATH
|
||||
labelZh: 数据持久化路径
|
||||
labelEn: Data persistence path
|
||||
required: true
|
||||
type: text
|
||||
- default: 15275
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelZh: WebUI 端口
|
||||
labelEn: WebUI port
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: NEXTAUTH_SECRET
|
||||
labelZh: NextAuth 加密密钥
|
||||
labelEn: NextAuth Secret
|
||||
required: true
|
||||
random: true
|
||||
type: text
|
||||
- default: "http://stream-rec-backend:12555/api"
|
||||
edit: true
|
||||
envKey: API_URL
|
||||
labelZh: API 地址
|
||||
labelEn: API URL
|
||||
required: true
|
||||
type: text
|
||||
- default: "ws://stream-rec-backend:12555/live/update"
|
||||
edit: true
|
||||
envKey: WS_API_URL
|
||||
labelZh: WebSocket API 地址
|
||||
labelEn: WebSocket API URL
|
||||
required: true
|
||||
type: text
|
||||
- default: "http://localhost:15275/"
|
||||
edit: true
|
||||
envKey: NEXTAUTH_URL
|
||||
labelZh: NextAuth 服务器地址
|
||||
labelEn: NextAuth Server URL
|
||||
required: true
|
||||
type: text
|
||||
@@ -0,0 +1,21 @@
|
||||
version: "3.8"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
services:
|
||||
stream-rec-frontend:
|
||||
image: streamrec/stream-rec-front:v0.6.9
|
||||
container_name: ${CONTAINER_NAME}
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- ${PANEL_APP_PORT_HTTP}:15275
|
||||
environment:
|
||||
- TZ=Asia/Shanghai
|
||||
env_file:
|
||||
- .env
|
||||
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -f .env ]; then
|
||||
source .env
|
||||
|
||||
echo "Check Finish."
|
||||
|
||||
else
|
||||
echo "Error: .env file not found."
|
||||
fi
|
||||
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -f .env ]; then
|
||||
source .env
|
||||
|
||||
echo "Check Finish."
|
||||
|
||||
else
|
||||
echo "Error: .env file not found."
|
||||
fi
|
||||
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -f .env ]; then
|
||||
source .env
|
||||
|
||||
echo "Check Finish."
|
||||
|
||||
else
|
||||
echo "Error: .env file not found."
|
||||
fi
|
||||
@@ -0,0 +1,59 @@
|
||||
# Stream-Rec
|
||||
|
||||
Stream-rec 是一个自动录制各种直播平台的工具。
|
||||
|
||||

|
||||
|
||||
## 特性
|
||||
|
||||
基于 Kotlin, Ktor, 和 ffmpeg。
|
||||
|
||||
+ 自动录播,可配置录制质量,路径,格式,并发量,分段录制(时间或文件大小),分段上传,根据直播标题和开始时间自动命名文件。
|
||||
+ 自动弹幕录制(XML格式),可使用 DanmakuFactory 进行弹幕转换,或配合AList来实现弹幕自动挂载。
|
||||
+ 使用 SQLite 持久化存储录播和上传信息
|
||||
+ 支持 Rclone 上传到云存储
|
||||
+ 使用 Web 界面进行配置
|
||||
+ 支持 Docker
|
||||
|
||||
## 直播平台支持列表
|
||||
|
||||
| 平台 | 录制 | 弹幕 | 链接格式 |
|
||||
|-----------|----|----|-----------------------------------------------|
|
||||
| 抖音 | ✅ | ✅ | `https://www.live.douyin.com/{抖音id}` |
|
||||
| 斗鱼 | ✅ | ✅ | `https://www.douyu.com/{直播间}` |
|
||||
| 虎牙 | ✅ | ✅ | `https://www.huya.com/{直播间}` |
|
||||
| PandaTV | ✅ | ✅ | `https://www.pandalive.co.kr/live/play/{直播间}` |
|
||||
| Twitch | ✅ | ✅ | `https://www.twitch.tv/{直播间}` |
|
||||
| AfreecaTv | ❌ | ❌ | |
|
||||
| Bilibili | ❌ | ❌ | |
|
||||
| Niconico | ❌ | ❌ | |
|
||||
| Youtube | ❌ | ❌ | |
|
||||
|
||||
## 安装说明
|
||||
|
||||
当前项目为 Stream-Rec 的前端部分,请配合后端使用。
|
||||
|
||||
获取后端部署主机ip,例如:`192.168.1.20`
|
||||
|
||||
获取后端部署API服务端口,默认值:`12555`,具体值为 `API 端口`
|
||||
|
||||
### `API 地址` 配置
|
||||
|
||||
```shell
|
||||
# 协议 + 主机 + API端口 + /api
|
||||
http://192.168.1.20:12555/api
|
||||
```
|
||||
|
||||
### `WebSocket API 地址` 配置
|
||||
|
||||
```shell
|
||||
# ws:// + 主机 + API端口 + /live/update
|
||||
ws://192.168.1.20:12555/live/update
|
||||
```
|
||||
|
||||
### `NextAuth 服务器地址` 配置
|
||||
|
||||
```shell
|
||||
# 协议 + 主机 + Web端口 + /
|
||||
http://localhost:15275/
|
||||
```
|
||||
@@ -0,0 +1,18 @@
|
||||
name: Stream Rec 前台服务
|
||||
title: 自动流媒体录制工具
|
||||
description: 自动流媒体录制工具
|
||||
additionalProperties:
|
||||
key: stream-rec-frontend
|
||||
name: Stream Rec 前台服务
|
||||
tags:
|
||||
- WebSite
|
||||
- Tool
|
||||
- Local
|
||||
shortDescZh: 自动流媒体录制工具
|
||||
shortDescEn: Automatic streaming media recording tool
|
||||
type: website
|
||||
crossVersionUpdate: true
|
||||
limit: 0
|
||||
website: https://github.com/hua0512/stream-rec/
|
||||
github: https://github.com/hua0512/stream-rec/
|
||||
document: https://github.com/hua0512/stream-rec/
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 338 KiB |
Reference in New Issue
Block a user