{"id":18702544,"url":"https://github.com/mayocream/tschan","last_synced_at":"2025-08-31T11:31:06.428Z","repository":{"id":195190046,"uuid":"689897359","full_name":"mayocream/tschan","owner":"mayocream","description":"Automated Manga translation pipeline built with a variety of new AI tools. ","archived":false,"fork":false,"pushed_at":"2024-07-02T20:45:41.000Z","size":7984,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-23T21:14:26.372Z","etag":null,"topics":[],"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/mayocream.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,"governance":null}},"created_at":"2023-09-11T06:21:14.000Z","updated_at":"2025-05-15T14:43:53.000Z","dependencies_parsed_at":"2023-09-27T05:26:29.234Z","dependency_job_id":null,"html_url":"https://github.com/mayocream/tschan","commit_stats":null,"previous_names":["mayocream/tschan"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/mayocream/tschan","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mayocream%2Ftschan","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mayocream%2Ftschan/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mayocream%2Ftschan/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mayocream%2Ftschan/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mayocream","download_url":"https://codeload.github.com/mayocream/tschan/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mayocream%2Ftschan/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272973099,"owners_count":25024448,"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-31T02:00:09.071Z","response_time":79,"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":[],"created_at":"2024-11-07T11:46:12.597Z","updated_at":"2025-08-31T11:31:05.991Z","avatar_url":"https://github.com/mayocream.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TSちゃん！\n\nTSちゃん(chan), the Automated Manga Translation Pipeline.\n**tschan** is a collection of Web Application, Desktop Application, Machine Learning models / training scripts and CLI tools to automate the translation of manga.\n\n## Web Editor (tsboard)\n\nThe web editor is a web application that allows you to translate manga pages.\nThe editor is available at [https://ts.e.ki](https://ts.e.ki).\n\n`tsboard` is written in TypeScript, using [Vue3](https://vuejs.org/) and [Tailwind CSS](https://tailwindcss.com/).\nIts editor system is based on [fabric.js](http://fabricjs.com/), which uses browser's Canvas API to render the image and text.\nRetina is supported, and the editor is optimized for high resolution display.\n[File System API](https://developer.mozilla.org/en-US/docs/Web/API/File_System_API) is used to read and write files on your disk.\n\nA tiny pre-trained object detection model ([YOLOv8](https://docs.ultralytics.com/)) is bundled with the editor, which is used to detect speech bubbles and text lines automatically. The model is exported to the ONNX format, and run in web with [ONNXRuntime](https://onnxruntime.ai/) (WebAssembly backend).\n\n[manga-ocr](https://github.com/kha-white/manga-ocr) is used to recognize text in marked areas.\nIt's hard to get it running with ONNXRuntime, alternatively, we use hosted inference API provided by [Hugging Face](https://huggingface.co/docs/api-inference/index).\nBe aware that the API may be unstable, and rate limit applied to the API.\nWe provide a proxied version of the API with [Cloudflare Workers](https://workers.cloudflare.com/), which is used by default.\n\nThe auto translation feature is powered by [GPT-4](https://openai.com/gpt-4), a proxied version of the API is also provided by Cloudflare Workers.\n\nNote: the editor is still in early development, and may be unstable.\n\n### Browser Compatibility\n\n\u003e https://vitejs.dev/guide/build.html#browser-compatibility\n\n- Chrome \u003e=87\n- Firefox \u003e=78\n- Safari \u003e=14\n- Edge \u003e=88\n\n## Desktop Editor (WIP)\n\nThe desktop version of the editor is available for Windows, macOS and Linux, written with [Tauri](https://tauri.app/) in Rust.\nIt is basically a wrapper of the web editor, but with some additional features (maybe).\n\n*Working on bundling the Python server into the desktop version...*\n\n## Photoshop Plugin (WIP)\n\nThe Photoshop plugin allows you to import translated text from the editor into Photoshop.\nThe plugin is written in [UXP](https://developer.adobe.com/photoshop/uxp/2022/), and available for Photoshop 2021+\n\n## Incubator Mode\n\nIncubator mode is Evil, but it's the only way to get things done locally.\nIn this mode, a python server is started on port `43101`, it serves the APIs for ML inference.\n\nYou may install [PyTorch](https://pytorch.org/get-started/locally/) first, then install the dependencies and start the server:\n\n```bash\npip install -r incubator/requirements.txt\npython incubator/main.py\n```\n\nThe tsboard will try to connect to the incubator server automatically.\n\n## Acknowledgements\n\nList of third-party resources used in this project.\n\n- [Manga109](http://www.manga109.org/en/index.html)\n- [COO: Comic onomatopoeia dataset](https://github.com/ku21fan/COO-Comic-Onomatopoeia)\n- [Mask Dataset for: Unconstrained Text Detection in Manga: a New Dataset and Baseline](https://zenodo.org/record/4511796)\n- [OpenMantra dataset](https://github.com/mantra-inc/open-mantra-dataset)\n- [Kuzushiji-MNIST](https://github.com/rois-codh/kmnist)\n\n## References\n\n- [Towards Fully Automated Manga Translation](https://arxiv.org/abs/2012.14271)\n- [Unconstrained Text Detection in Manga: a New Dataset and Baseline](https://arxiv.org/abs/2009.04042)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmayocream%2Ftschan","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmayocream%2Ftschan","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmayocream%2Ftschan/lists"}