huangxd-/danmu_api
一个人人都能部署的基于 js 的弹幕 API 服务器,支持爱优腾芒哔咪人韩巴狐乐西埋帆红弹幕直接获取,兼容弹弹play的搜索、详情查询和弹幕获取接口规范,并提供日志记录,支持vercel/netlify/edgeone/cloudflare/docker/hf等部署方式,不用提前下载弹幕,没有nas或小鸡也能一键部署。
Thành tựu nổi bật
Những danh hiệu mới nhất của dự án
#1 Repository Của Tuần
#1 Repository Của Tuần
#1 Repository Của Tuần
🎬 LogVar Danmu API: Self-Hosted Danmu Server for Anime Fans
Fetch danmu from major platforms without hosting your own NAS or server.
LogVar Danmu API is a JavaScript-based server that aggregates danmu (real-time scrolling comments) from popular platforms like iQIYI, Youku, Tencent, Bilibili, and more. It mimics Dandanplay's search, detail, and danmu APIs, allowing users to integrate danmu into their media setups easily. Designed for developers and anime enthusiasts who want full control over their danmu sources.
✨ Highlights
- Multi-platform Support: Fetches danmu directly from iQIYI, Youku, Tencent, Bilibili, and others.
- Dandanplay Compatibility: Matches Dandanplay’s search, detail, and danmu retrieval API specs.
- Flexible Output Formats: Supports both JSON and XML formats via query params or env vars.
- Caching System: In-memory and Redis-backed caching for search results and danmu data.
- Time Offset Control: Adjust danmu timing per episode, season, or show using
DANMU_OFFSET. - Color & Style Conversion: Convert top/bottom danmu to scroll, change colors, and limit danmu count.
- Segment Support: Request and retrieve fragmented danmu data for better performance.
- UI Management Panel: Built-in web UI for logs, config, API testing, and system management.
💡 Why it matters
Unlike traditional danmu tools that require local downloads or NAS setups, LogVar Danmu API runs anywhere—Vercel, Docker, Cloudflare, or even Hugging Face Spaces. It eliminates the need for pre-downloading danmu files, making it ideal for lightweight media centers or remote servers. Its modular design and rich configuration options make it a flexible choice for custom danmu workflows.
#Danmu #Anime #JavaScript #OpenSource #TiniX
Similar Projects
Discover other similar projects and AI models.
Anime danmaku player that matches danmaku automatically. Plays local files, direct links, and Jellyfin / Emby / WebDAV. For macOS, Windows, Linux and the web.
LLM API 管理 & 分发系统,支持 OpenAI、Azure、Anthropic Claude、Google Gemini、DeepSeek、字节豆包、ChatGLM、文心一言、讯飞星火、通义千问、360 智脑、腾讯混元等主流模型,统一 API 适配,可用于 key 管理与二次分发。单可执行文件,提供 Docker 镜像,一键部署,开箱即用。LLM API management & key redistribution system, unifying multiple providers under a single API. Single binary, Docker-ready, with an English UI.
A WhatsApp client library for NodeJS that connects through the WhatsApp Web browser app