Introducing Manga-Colorizer, a tool that brings your mangas to life!
- Now works seamlessly on any website.
- Blazingly fast image colorization on the fly.
- Intelligent and dynamic colorization.
- Super-resolution upscaling for enhanced image quality.
- Additional settings for more customization options.
- Organized caching into a dedicated folder for reuse.
- Options to display original, colorized version, or both.
- Force colorization.
- Old legacy project can be found here.
- Follow any one of the server and one of client usage instructions.
- Local hosting is recommended if you have access to a cuda GPU.
- Clone or download this repository as .zip and extract.
- Download the Generator weights and move it to
Backend/networks
folder. - Install python and setup pytorch if not already done.
- In the Backend folder, open a command prompt, and run:
- For installing necessary modules:
pip install -r requirements.txt
- For starting the server:
python app-stream.py
- Backend should be running on localhost (https://127.0.0.1:5000) and Private IP (https://x.x.x.x:5000)
- For installing necessary modules:
- Next, follow any of the 'Client Usage Instructions'.
- Online hosting is recommended if you don't have access to a cuda GPU or you do not want to keep your system/server on, while reading on a mobile.
- Make a kaggle account and verify using phone to get ~30hrs of weekly GPU.
- Make an ngrok account and get your auth token from here
- Go to this notebook and click 'Copy & Edit'
- Set the accelerator as GPU P100 under notebook options if not already selected.
- Replace the your_ngrok_auth_token in '!ngrok config add-authtoken your_ngrok_auth_token' in the code with the auth-token in Step 3.
- Next choose 'Run All' from the menu to run the notebook.
- In a few minutes you should see some output from the last running line (!ngrok http 5000) with some urls.
- Click on the one which looks something like https://314-1342-142-43.ngrok-free.app.
- Alternatively, visit here to get the running sessions.
- On the tab that opens, click visit site.
- You should see 'Manga Colorizer is Up and Running!'
- Now you can follow any of the 'Client Usage Instructions' below, including step 0, but with this API URL
- You may also now click 'Save Version' on the notebook, then 'Save and Run All (Compile)' to keep the notebook running (it will re-run) even after you turn off your system.
- After a few minutes, visit here to get the running sessions and get the new API URL and use that for the client.
- Open the server URL:
- Use localhost (local-hosting) (https://127.0.0.1:5000) or,
- Private IP (local-hosting) (Ex. https://x.x.x.x:5000) or,
- The ngrokURL (online-hosting) (Ex. https://314-1342-142-43.ngrok-free.app).
- It will show some certificate warning, as it is self-signed.
- Click 'Advanced' and click 'Accept the risk and continue'.
- You should now see 'Manga Colorizer is Up and Running!'
- Open the firefox debugging page and click 'Load Temporary Add-on'.
- Navigate to the Frontend-Firefox directory and choose manifest.json.
- If the extension loads correctly, you will see it's settings page.
- Paste the server URL, in the extension's 'API URL' field and press 'Test'.
- If you see 'Manga Colorizer is Up and Running!', then its working!
- Close all these necessary tabs now and open a black-and-white manga.
- Open the Extensions menu (looks like a puzzle piece).
- Then right-click 'Manga Colorizer' and select 'Always allow on ...' also 'Pin to Toolbar'
- Click on the 'Manga Colorizer' extension to open its settings as a popup.
- Click the 'Colorize' button, that should appear next to 'Next chapter'.
- Press the 'Add ...' button to add the site to the list of Manga Sites, so it automatically colors images from now on.
- Press 'Colorize!' and enjoy!.
- These steps have to be repeated everytime firefox is started.
- Open the server URL:
- Use localhost (local-hosting) (https://127.0.0.1:5000) or,
- Private IP (local-hosting) (Ex. https://x.x.x.x:5000) or,
- The ngrokURL (online-hosting) (Ex. https://314-1342-142-43.ngrok-free.app).
- It will show some certificate warning, as it is self-signed.
- Click 'Advanced' and click 'Proceed to x.x.x.x (unsafe)'.
- You should now see 'Manga Colorizer is Up and Running!'
- Goto
chrome://extensions/
webpage, turn on developer mode, and click 'Load Unpacked'. - Navigate to and select Frontend-Chrome folder. Manga Colorizer settings should open in a new tab.
- Paste the server URL, in the extension's 'API URL' field and press 'Test'.
- If you see 'Manga Colorizer is Up and Running!', then its working!
- Close all these necessary tabs now and open a black-and-white manga.
- Open the Extensions menu (looks like a puzzle piece) and click the pin next to 'Manga Colorizer'.
- Click on the 'Manga Colorizer' extension to open its settings as a popup.
- Press the 'Add ...' button to add the site to the list of Manga Sites, so it automatically colors images from now on.
- Press 'Colorize!' and enjoy!.
- First, goto 'Frontend-Firefox' folder and zip all the files.
- Select all the files, then right-click, Send to, Compressed (zip) folder.
- Rename this zip file to 'Frontend-Firefox.zip' and move it to your android device.
- Install Firefox Nightly browser on android from google playstore.
- Open settings, scroll down and select 'About Firefox Nightly'.
- Keep Tapping on Firefox logo, until the Debug menu is enabled.
- Go back and select Secret settings, and choose to install Add-on from file.
- Browse for the 'Frontend-Firefox.zip' file that you uploaded to you device.
- Follow Step-0 of 'Client Usage Instructions | PC | Firefox' but use either Private IP or ngrokURL.
- Open any black-and-white mange page.
- Tap settings menu (3 dots), select Add-ons, select the colorizer extension.
- Input the server URL in the 'API URL' field.
- Add the manga website in the list.
- Press 'Colorize!' and enjoy!.
- Unfortunately, only Step-8 has to be repeated at every chapter because of permission issues, so Kiwi Browser is recommended.
- First on PC Chrome, go to extension settings and click 'Pack extension' on top-left.
- Click browse, then navigate and choose the Frontend-Chrome folder and click 'Pack extension'.
- This will create a 'Frontend-Chrome.crx' file. Move this file to your android device.
- Install Kiwi browser on android from google playstore.
- Open browser settings menu (3 dots), select 'Extensions', then select '+(from .zip / crx)' and browse for the 'Frontend-Chrome.crx' file.
- Toggle on the extension and accept the permissions.
- Follow Step-0 of 'Client Usage Instructions - PC - Chrome' but use either Private IP or ngrokURL.
- Open any black-and-white mange page.
- Tap settings menu (3 dots), scroll down, select the 'Manga-Colorizer' extension.
- Input the server URL in the 'API Base-URL'.
- Add the manga website in the list.
- Press 'Colorize!' and enjoy!.
- https://github.com/qweasdd/manga-colorization-v2 by qweasdd for AI Model and Weights.
- https://github.com/xiaogdgenuine/Manga-Colorization-FJ by xiaogdgenuine for Upscaler integration.
- https://github.com/xinntao/Real-ESRGAN by xinntao for the Upscaler (ESR-GAN).
- https://github.com/vatavian/Manga-Colorizer fork by vatavian for any-site, on-the-fly, intelligent colorization, and multiple other direct contributions.
- And, iG8R for testing and opening great issues that lead to this updated version.