{"id":28304341,"url":"https://github.com/thisisnttheway/jp-sup-conversion","last_synced_at":"2025-07-11T21:34:41.222Z","repository":{"id":291855915,"uuid":"979003398","full_name":"ThisIsntTheWay/jp-sup-conversion","owner":"ThisIsntTheWay","description":"Convert JP image backed subtitles into text","archived":false,"fork":false,"pushed_at":"2025-05-07T17:50:23.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-18T01:38:51.948Z","etag":null,"topics":["japanese-language","ocr"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ThisIsntTheWay.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-06T21:01:03.000Z","updated_at":"2025-05-14T07:30:05.000Z","dependencies_parsed_at":"2025-05-06T22:25:23.082Z","dependency_job_id":"91adc29b-34bd-491c-a462-6885ab1362a6","html_url":"https://github.com/ThisIsntTheWay/jp-sup-conversion","commit_stats":null,"previous_names":["thisisnttheway/jp-sup-conversion"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/ThisIsntTheWay/jp-sup-conversion","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThisIsntTheWay%2Fjp-sup-conversion","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThisIsntTheWay%2Fjp-sup-conversion/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThisIsntTheWay%2Fjp-sup-conversion/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThisIsntTheWay%2Fjp-sup-conversion/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ThisIsntTheWay","download_url":"https://codeload.github.com/ThisIsntTheWay/jp-sup-conversion/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThisIsntTheWay%2Fjp-sup-conversion/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264902947,"owners_count":23681126,"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","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":["japanese-language","ocr"],"created_at":"2025-05-24T00:12:45.775Z","updated_at":"2025-07-11T21:34:41.211Z","avatar_url":"https://github.com/ThisIsntTheWay.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SUP to ASS conversion\nScript to convert SUPs into ASS subtitles using `manga-ocr`.  \n\nBasically another take on [VobSubConvertJp](https://github.com/naipofo/VobSubConvertJp), but using a newer `manga-ocr` version and with all dependencies conveniently packaged into a container image.\n\n\u003e[!WARNING]\n\u003eThis won't produce perfect subtitles, but it'll produce good enough results\n\n## Usage with docker\n1. Place all `.sup` files into some folder, e.g. `subtitles`\n2. Run containierized script against folder\n```bash\ndocker run --rm --gpus all                             \\\n    -v $(pwd)/subtitles:/app/subtitles                 \\\n    -t ghcr.io/thisisnttheway/jp-sup-conversion:latest \\\n    subtitles\n```\n\n\u003e[!NOTE]\n\u003eTo use CUDA, ensure that the package `nvidia-container-toolkit` has been installed.  \n\u003eOtherwise, omit the `--gpu` argument.\n\n## Usage without docker\n1. Clone repo\n2. Ensure [`vobsub2png`](https://crates.io/crates/vobsub2png) is installed\n3. Ensure Java is installed and [`BDSup2Sub.jar`](https://raw.githubusercontent.com/wiki/mjuhasz/BDSup2Sub/downloads/BDSup2Sub.jar) is in the same place as the script (`main.py`)\n4. Install all python requirements\n```bash\npip install --no-cache-dir -r requirements.txt\n```\n5. Put all `.sup` files into a folder, e.g. `subtitles`\n6. Run script against folder with `.sup` files\n```bash\npython3 main.py subtitles\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthisisnttheway%2Fjp-sup-conversion","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthisisnttheway%2Fjp-sup-conversion","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthisisnttheway%2Fjp-sup-conversion/lists"}