# Misaka Danmu Server

> Self-hosted danmaku aggregation service with a web admin UI and a dandanplay-compatible API; matches subtitles-like comments to media library items.

- **Category:** Media Management
- **Licence:** AGPL-3.0
- **Latest version:** v2.8.9
- **Open source:** oss
- **Languages:** JavaScript, Python
- **Platforms:** Docker Compose
- **Tags:** Mcp, Metadata, Media Server, Plex, Tmdb, Emby, Jellyfin, Webhook, Scraping, Danmaku, Danmaku API, Dandanplay

## Description

Misaka Danmu Server (御坂网络弹幕服务) is a self-hosted service that scrapes bullet-comment (danmaku) data from public video sites and third-party APIs and turns it into one private danmaku API for your own media library. It matches files by name or by metadata lookups against TMDB, TVDB, Bangumi, Douban and IMDb, stores the fetched comment sets, and hands them to any player that speaks the dandanplay API through per-client API tokens. Media-server webhooks from Emby, Jellyfin, Plex (or Tautulli, and Sonarr/Radarr per the README) let new releases pull their danmaku automatically, and optional AI-assisted matching, season mapping and alias handling can improve accuracy. The built-in web console covers manual search and import, danmaku library and episode editing, scraper-source installation from a resource repository or offline packages with backup/restore, token and task management, log viewing, proxy settings, IP whitelisting, TOTP and Passkey login, and database backup/restore; an external-control REST API with Swagger docs and a built-in MCP server are also available. Deployment is documented as Docker Compose with a MySQL (recommended) or PostgreSQL 18 container, serving the UI and API on port 7768; mounting the Docker socket enables one-click restart and update from the UI. Note that many danmaku sources are region-locked, so the docs recommend a mainland-China IP or an overseas proxy, and scraping may violate the source sites' terms of service.

## Links

- [Homepage](https://github.com/l429609201/misaka_danmu_server)
- [Website](https://docs.misaka10876.top/)
- [Docker](l429609201/misaka_danmu_server)
- [GitHub repository](https://github.com/l429609201/misaka_danmu_server)
- [Telegram channel](https://t.me/misaka_danmaku)

---
Source: https://selfhost.directory/project/misaka-danmu-server