Skip to content

alsaiduq-lab/mangos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mangos (MANGa-Ocr-Script)

An OCR to machine translation script for manga. The script supports multiple translation models and allows you to specify different API endpoints.

Installation

You need a couple of things: zenity, grim, and jq. The installation script will tell you what you're missing before attempting to install.

Clone the repo:

git clone https://github.com/alsaiduq-lab/mangos.git
cd mangos
./install.sh

First Time Installation

You need to edit the config.yaml provided in the directory. Alternatively, you can pass command-line arguments like:

mangos -m gpt-4o-mini -a 'https://openai.com/v1' -t openai -k sk-PS5HasNoGames -d cuda

This runs mangos in CUDA mode, using the OpenAI model gpt-4o-mini.

For Anthropic:

mangos -m claude-3-haiku-20240307 -t anthropic

For DeepL X (https://deeplx.owo.network/):

mangos -t deeplx

Uninstall

After installation, update.sh and uninstall.sh scripts are provided. Run the uninstall script to remove mangos:

~/.local/share/mangos/uninstall.sh

Usage

mangos will always attempt to use the last known method in the config, unless commandline arguments prioritize it.

Features

  • Multiple translation models support (OpenAI, Anthropic, DeepL X, Ollama)
  • Customizable API endpoints
  • Waybar integration
  • GPU acceleration support (CUDA)

Credits

Special thanks to manga_ocr for this project

License

idk do what you want

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published