Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dual Jap Player

A small local web app + helper server for mining subtitles into Anki.

Files

  • aniplayer.html — main web UI (open in browser or served by the backend)
  • aniplayer.js — frontend logic and controls
  • styles.css — frontend styles
  • server.py — lightweight backend: static file server plus API endpoints

Requirements

  • Python 3.8+
  • FFmpeg available on PATH (for audio/screenshot extraction)
  • Anki with the AnkiConnect plugin (for adding cards)
  • Optional: ANTHROPIC_API_KEY environment variable for LLM chat features

Quick start (serve locally)

  1. Start the backend server:
python server.py
  1. Open the player in your browser:

http://localhost:8766/aniplayer.html

Notes

  • server.py will print diagnostics on startup (FFmpeg found, Anki reachable, Anthropic key).
  • The backend exposes helper endpoints used by the frontend (lookup, anki add, chat).
  • If you prefer, you can open aniplayer.html directly from the filesystem, but some features (Anki/LLM/lookup proxy) require the backend.

Screenshots

Title (homepage):

Title screen

Dual (how it works):

Dual example

AI chatbox:

AI chatbox

License

MIT — feel free to reuse and modify.

About

Dual subtitles player with dictionnary calls for japanese.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages