danmu_api is a bullet chat API gateway that aggregates video comments from multiple platforms and serves them through a standardized interface for use in media players. It includes a metadata matching service to identify video content across platforms using keywords or file names.
The system uses an adapter-based normalization process to translate diverse platform response formats into a single schema and utilizes a Redis-backed cache to store search results and comment streams. It features a processing engine that cleans comment streams using keyword and regular expression filters.
The project covers comment style conversion and timestamp synchronization to align text with video playback. It also provides an XML exporter to maintain compatibility with legacy media players and includes a web interface for system configuration, log monitoring, and endpoint testing.