Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/MoePlayer/DPlayer-node
Node.js backend with Docker for DPlayer(https://github.com/DIYgod/DPlayer)
https://github.com/MoePlayer/DPlayer-node
Last synced: about 1 month ago
JSON representation
Node.js backend with Docker for DPlayer(https://github.com/DIYgod/DPlayer)
- Host: GitHub
- URL: https://github.com/MoePlayer/DPlayer-node
- Owner: MoePlayer
- Created: 2017-06-30T10:17:43.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-07-20T00:12:39.000Z (over 2 years ago)
- Last Synced: 2024-04-14T08:32:54.361Z (8 months ago)
- Language: JavaScript
- Homepage:
- Size: 75.2 KB
- Stars: 169
- Watchers: 8
- Forks: 47
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-github-star - DPlayer-node
README
# DPlayer node
> Node.js backend for [DPlayer](https://github.com/DIYgod/DPlayer)
## Usage
### Start
```shell
docker-compose build
docker-compose pull
docker-compose up # -d for run it in the background
```### Data & logs
Database data: `~/dplayer/db`
DPlayer logs: `~/dplayer/logs`
PM2 logs: `~/dplayer/pm2logs`### Import
```shell
mv dans.json ~/dplayer/db/backup/dans.json
docker exec dplayernode_mongo_1 mongoimport -d danmaku -c dans --file /data/db/backup/dans.json
```### Export
```shell
docker exec dplayernode_mongo_1 mongoexport -d danmaku -c dans -o /data/db/backup/dans.json
cat ~/dplayer/db/backup/dans.json
```### Stop
```shell
docker-compose stop
```## Communication Groups
[Telegram Group](https://t.me/adplayer)
## Author
**DPlayer-node** © [DIYgod](https://github.com/DIYgod), Released under the [MIT](./LICENSE) License.
Authored and maintained by DIYgod with help from contributors ([list](https://github.com/MoePlayer/DPlayer-node/contributors)).> Blog [@DIYgod](https://diygod.me) · GitHub [@DIYgod](https://github.com/DIYgod) · Twitter [@DIYgod](https://twitter.com/DIYgod) · Telegram Channel [@awesomeDIYgod](https://t.me/awesomeDIYgod)