{"id":26422095,"url":"https://github.com/hasanabbadi/jasubs","last_synced_at":"2025-08-17T14:30:50.555Z","repository":{"id":41506889,"uuid":"509706360","full_name":"HasanAbbadi/jaSubs","owner":"HasanAbbadi","description":"Interactive subtitles for mpv: A fork of oltodosel/interSubs but for japanese only (jisho.org).","archived":false,"fork":false,"pushed_at":"2025-04-10T05:48:45.000Z","size":12038,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-10T06:37:43.260Z","etag":null,"topics":["mpv","mpv-script","subtitles","unix"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HasanAbbadi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-07-02T08:56:16.000Z","updated_at":"2025-04-10T05:48:50.000Z","dependencies_parsed_at":"2022-09-21T11:01:57.758Z","dependency_job_id":null,"html_url":"https://github.com/HasanAbbadi/jaSubs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/HasanAbbadi/jaSubs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HasanAbbadi%2FjaSubs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HasanAbbadi%2FjaSubs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HasanAbbadi%2FjaSubs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HasanAbbadi%2FjaSubs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HasanAbbadi","download_url":"https://codeload.github.com/HasanAbbadi/jaSubs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HasanAbbadi%2FjaSubs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270859063,"owners_count":24658148,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-17T02:00:09.016Z","response_time":129,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["mpv","mpv-script","subtitles","unix"],"created_at":"2025-03-18T02:02:35.333Z","updated_at":"2025-08-17T14:30:50.489Z","avatar_url":"https://github.com/HasanAbbadi.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jaSubs\n------------\n\nA \"fork\" of [InterSubs](https://github.com/oltodosel/interSubs), but for Japanese **only**.\n\nInteractive subtitles for [mpv](https://github.com/mpv-player/mpv), that was made to help study Japanese.  \nEasily tweaked and customizable.\n\n**NOTE:** This project is unstable as for now and has some bugs\n\n![showcase](https://user-images.githubusercontent.com/78548167/177032618-3a592cfd-bab5-4366-8f34-4fb7a27c8503.gif)\n\n* Supported dictionaries for words:\n  * [Jisho](https://jisho.org)\n  * [Google](https://translate.google.com/)\n  * Offline \\t separated dictionary. (Like the one provided `jp.dict`)\n* Supported dictionaries for sentences:\n  * [Google](https://translate.google.com/)\n* Can use multiple dictionaries simultaneously.\n* Reassigning mouse buttons functions in config.\n* Doesn't work with DVD (picture based) subtitles, only the text-based ones.\n  * [Script](https://github.com/oltodosel/extract_n_convert_dvd_bd_subtitles) to convert picture based subtitles into *.srt; also extracts them from *.mkv \n\n## Installation\n------------\n\nClone this repository in your mpv `scripts` folder:\n```bash\n$ cd ~/.config/mpv/scripts\n$ git clone https://github.com/HasanAbbadi/jaSubs\n$ ls -a\n. .. jaSubs\n```\n\n## Requirements\n------------\n   * mpv 0.27 (I don't know if it will work with mpv front-ends.)\n   * Xorg (ignore for Mac users)\n   * composite manager; `xcompmgr` or `picom`. (ignore for Mac users)\n   * python =\u003e 3.6\n   * python-pyqt5\n   * python-numpy\n   * python-requests\n   * `sudachipy` and `sudachidict_full` (likely installed with `pip`)\n   * lua\n   * socat\n   * pkill\n   * xdotool (for hiding subtitles when minimizing mpv or switching window) \n\n## Usage\n-----\n* Start video with mpv \u0026 select subtitles.\n* F3 to start/stop jaSubs.\n\t* Starts automatically with files/paths specified in jaSubs.lua\n* Point cursor over the word to get popup with translation.\n* F6 to hide/show without exiting.\n\n##### Buttons bellow may be reassigned in `jaSubs_config.py`\n-----\n* Left-click  - show translation in your browser.\n* Right-click - translate whole sentence\n* Wheel+Ctrl  - resize subtitles.\n* Wheel+Shift - change subtitles' vertical position.\n* Wheel-click - cycle through auto_pause options.\n* Wheel-click-left/right - +/- auto_pause_min_words. (fancy mouses)\n\n## Notes\n* Issues and Pull Request are highly appreciated\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhasanabbadi%2Fjasubs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhasanabbadi%2Fjasubs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhasanabbadi%2Fjasubs/lists"}