Worph 2e11805592
Build and Push Docker Image / build (push) Successful in 1m6s
gitea workflow: publish to IPCR (metadec.eth) instead of ghcr
2026-10-12 18:31:23 +00:00
2026-01-10 15:34:02 +01:00
2026-09-13 15:53:27 +02:00
2026-07-14 16:05:41 +02:00
2026-02-08 15:26:51 +01:00
2026-02-08 15:26:51 +01:00
2026-02-08 15:26:51 +01:00
2026-02-08 15:26:51 +01:00
2026-09-13 15:53:27 +02:00
2026-01-10 15:34:02 +01:00
2026-01-24 22:19:23 +01:00

MetaMesh Plugin: Anime Detector

A MetaMesh plugin that detects anime content based on keywords, Japanese text, and audio tracks.

Description

This plugin analyzes video files to determine if they are anime content. Detection is based on:

  • Fansub group keywords: [HorribleSubs], [SubsPlease], [Erai-raws], etc.
  • Japanese text detection: Uses wanakana library for kana/kanji detection
  • Audio track language: Checks for Japanese audio streams
  • File path: Checks if "anime" is in the path

Metadata Fields

Field Description
anime Boolean indicating if content is anime
titles/jpn/{name} "true" — Japanese title (if detected)
titles/jpl/{name} "true" — romaji title
genres Adds "Anime" to genres set

Dependencies

  • Requires file-info, ffmpeg, and filename-parser plugins to run first

Configuration

No configuration required.

API Endpoints

Endpoint Method Description
/health GET Health check
/manifest GET Plugin manifest
/configure POST Update configuration
/process POST Process a file

Running Locally

npm install
npm run build
npm start

Docker

docker build -t metamesh-plugin-anime-detector .
docker run -p 8080:8080 metamesh-plugin-anime-detector

Environment Variables

Variable Default Description
PORT 8080 HTTP server port
HOST 0.0.0.0 HTTP server host

License

MIT

S
Description
No description provided
Readme
111 KiB
Languages
TypeScript 96.3%
Dockerfile 3.7%