Product
Introducing SSO
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
@minaplay/server
Advanced tools
Readme
MinaPlay 是一个用于追番 / 追剧的个人媒体库。MinaPlay 根据用户创建的 RSS 订阅源、订阅规则自动下载媒体文件并生成描述信息。
MinaPlay server 是 MinaPlay 使用 NestJS + TypeORM 构建的服务器端,使用 MySQL 作为数据库。 我们欢迎各种形式的贡献,如果您有比较好的想法和建议,欢迎提出 issue。
克隆或下载本仓库到本地。
git clone https://github.com/nepsyn/minaplay
cd minaplay/packages/server
使用包管理器安装依赖。
yarn
yarn add sharp --ignore-engines
yarn global add @nestjs/cli
部分情况下, 依赖 Mediasoup 会安装不成功。可以参考如下的解决方法:
重新执行安装。
MEDIASOUP_WORKER_BIN=1 yarn install --ignore-engines
访问 Mediasoup 源码仓库发布页 。
下载对应平台的预编译文件压缩包。
创建目录 node_modules/mediasoup/worker/out/Release
。
解压压缩包中的可执行文件到 node_modules/mediasoup/worker/out/Release
目录下。
为可执行文件添加执行权限。
复制并修改配置文件。
cp .env.template .env
vi .env
在本地开发环境启动 MinaPlay 应用程序。
yarn run start
编译 MinaPlay 应用程序。
yarn run build
├── data # 应用程序数据目录
│ ├── download # 下载文件目录
│ ├── generated # 生成资源文件目录
│ ├── plugin # MinaPlay 插件文件目录
│ ├── rule # 订阅规则代码文件目录
│ └── upload # 用户上传文件目录
│ ├── image # 用户上传图片文件目录
│ └── video # 用户上传视频文件目录
├── dist # 编译生成文件目录
├── public # 页面目录
└── src # 应用程序代码目录
├── common
│ └── messages # 内置的消息类型
├── enums # 枚举类型
├── interfaces # TypeScript 类型定义文件
├── migrations # TypeORM 数据库迁移文件
├── modules
│ ├── authorization # 权限验证模块
│ ├── file # 文件模块
│ ├── live # 放映室模块
│ ├── media # 媒体模块
│ │ ├── episode # 单集模块
│ │ ├── series # 剧集模块
│ │ └── view-history # 播放历史模块
│ ├── notification # 通知模块
│ │ └── adapters # 通知适配器
│ │ ├── email
│ │ │ └── templates
│ │ └── ws
│ ├── plugin # 插件模块
│ │ └── builtin # 内置插件
│ │ ├── help
│ │ ├── plugin-manager
│ │ └── user-manager
│ ├── subscribe # RSS 订阅模块
│ │ ├── download # 订阅下载模块
│ │ ├── parse-log # 订阅解析日志模块
│ │ ├── rule # 订阅规则模块
│ │ └── source # 订阅源模块
│ ├── system # 系统模块
│ └── user # 用户模块
└── utils # 工具代码
FAQs
Unknown package
The npm package @minaplay/server receives a total of 52 weekly downloads. As such, @minaplay/server popularity was classified as not popular.
We found that @minaplay/server demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.