mayocream/koharu

Rustkoharu.rs
macOSWindowsLinux

ML-powered manga translator, written in Rust.

deep-learningmangarustjapanesecomputer-visiongpuguitranslationtext-renderingwebgpu
Sterne-Wachstum
Sterne
5.4k
Forks
363
Wochenwachstum
+0
Issues
61
2k4k
Apr. 2025Sept. 2025März 2026Aug. 2026
Artefaktecrates.io
README

Koharu

ML-powered manga translator, written in Rust.

GitHub Downloads (all assets, all releases)

mayocream%2Fkoharu | Trendshift

Getting Started · Docs · Bug reports · Discord

日本語 | 简体中文

Koharu introduces a local-first workflow for manga translation, utilizing the power of ML to automate the process. It combines the capabilities of object detection, OCR, inpainting, and LLMs to create a seamless translation experience.

[!NOTE] Koharu runs its vision models and LLMs locally on your machine to keep your data private and secure.


screenshot

[!NOTE] Join our Discord server for support and discussion.

Features

Hardware Acceleration

Koharu supports GPU acceleration with CUDA and ROCm / HIP on Windows and Linux, Metal on Apple silicon, and Vulkan on Windows and Linux. Runtime and hardware requirements vary by backend and operating system.

CUDA

The CUDA backend targets CUDA 13.0 on Windows and Linux. Make sure to install the latest NVIDIA driver. CUDA 13.0 requires R580 or newer.

ROCm / HIP

ROCm / HIP is available for AMD GPUs on Windows and Linux. Make sure to install the official ROCm Core SDK with HIP.

Metal

Metal is used on Apple silicon Macs.

Vulkan

Vulkan is available on Windows and Linux as an alternative to CUDA and ROCm / HIP.

WebGPU

The editor canvas uses WebGPU inside the embedded CEF webview. WebGPU requires a current graphics driver even when inference runs on the CPU.

CPU

Koharu uses the CPU when no accelerator is available or initialization fails. No GPU SDK is required, but inference is slower.

Machine Learning Models

Koharu uses separate models for detection, OCR, inpainting, and translation. Vision and inpainting and translation and generation have separate model settings.

Computer Vision Models

Detection, OCR, and inpainting models are selected separately.

Detection and Layout

The detection model finds text regions, speech bubbles, and segmentation masks.

OCR

OCR reads source text from detected regions.

Inpainting

Inpainting reconstructs the image behind source text before the translation is rendered.

Large Language Models

Translation can use a local language model or a remote API.

General-Purpose Local Models

Uncensored Local Models

Cloud Providers

Hosted LLM providers: Atlas Cloud, OpenAI, Gemini, Claude, Grok, MiniMax, DeepSeek, and OpenRouter.

Machine Translation Providers

Machine-translation providers: DeepL, Google Cloud Translation, and Caiyun.

OpenAI-Compatible Providers

OpenAI-compatible endpoints are also supported.

Installation

Download release builds from the releases page. Installation requirements and first launch vary by operating system.

Builds are available for Windows, macOS, and Linux.

WinGet

Install on Windows with winget:

winget install koharu

Homebrew

Install on macOS with Homebrew:

brew install --cask koharu

Troubleshooting

Startup, runtime, model, and provider errors are covered in Troubleshooting. Set RUST_LOG to debug or trace for verbose logs:

# macOS / Linux
RUST_LOG=debug koharu
# Windows (PowerShell)
$env:RUST_LOG="debug"; koharu.exe

Development

Platform dependencies and validation commands for local builds are listed in Development Setup.

Prerequisites

  • Rust 1.97.1 or later (Rust 2024 edition)
  • Bun 1.3.14 or later
  • LLVM 22.1.8 or later
  • Ninja 1.13.2 or later

Install dependencies

bun install

Development

bun dev

Build

bun run build

The executable is written to target/release.

Sponsorship

If Koharu is useful in your workflow, consider sponsoring the project.

sponsors

Contributors ❤️

Thanks to all the contributors who have helped make Koharu better!

License

Copyright 2025-2026 Mayo Takanashi and Koharu contributors.

Koharu is dual-licensed under the MIT License or the Apache License, Version 2.0, at your option.

Ähnliche Repositories
tensorflow/tensorflow

An Open Source Machine Learning Framework for Everyone

C++Apache License 2.0tensorflowmachine-learning
tensorflow.org
199.3k76.3k
huggingface/transformers

🤗 Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal models, for both inference and training.

PythonPyPIApache License 2.0nlpnatural-language-processing
huggingface.co/transformers
165.1k34.5k
AUTOMATIC1111/stable-diffusion-webui

Stable Diffusion web UI

PythonPyPIGNU Affero General Public License v3.0deep-learningdiffusion
164.9k30.5k
rasbt/LLMs-from-scratch

Implement a ChatGPT-like LLM in PyTorch from scratch, step by step

Jupyter NotebookOthergptlarge-language-models
amzn.to/4fqvn0D
104.7k16k
pytorch/pytorch

Tensors and Dynamic neural networks in Python with strong GPU acceleration

PythonPyPIOtherneural-networkautograd
pytorch.org
102.9k29.2k
opencv/opencv

Open Source Computer Vision Library

C++Apache License 2.0opencvc-plus-plus
opencv.org
90.8k57k
Developer-Y/cs-video-courses

List of Computer Science courses with video lectures.

computer-sciencealgorithms
83.5k11.5k
d2l-ai/d2l-zh

《动手学深度学习》:面向中文读者、能运行、可讨论。中英文版被70多个国家的500多所大学用于教学。

PythonPyPItutorialApache License 2.0deep-learningbook
zh.d2l.ai
80.5k12.4k
dair-ai/Prompt-Engineering-Guide

🐙 Guides, papers, lessons, notebooks and resources for prompt engineering, context engineering, RAG, and AI Agents.

MDXMIT Licensedeep-learningprompt-engineering
promptingguide.ai
78.2k8.6k
microsoft/AI-For-Beginners

12 Weeks, 24 Lessons, AI for All!

Jupyter NotebooktutorialMIT Licensedeep-learningartificial-intelligence
68.3k13.2k
labmlai/annotated_deep_learning_paper_implementations

🧑‍🏫 60+ Implementations/tutorials of deep learning papers with side-by-side notes 📝; including transformers (original, xl, switch, feedback, vit, ...), optimizers (adam, adabelief, sophia, ...), gans(cyclegan, stylegan2, ...), 🎮 reinforcement learning (ppo, dqn), capsnet, distillation, ... 🧠

PythonPyPIMIT Licensedeep-learningdeep-learning-tutorial
nn.labml.ai
67.4k6.8k
keras-team/keras

Deep Learning for humans

PythonPyPIApache License 2.0deep-learningtensorflow
keras.io
64.3k19.8k