A proxy for bypassing cloudflare protection on mangakakalot.
A lightweight FastAPI-based web viewer that scrapes manga chapter images from MangaKakalot and renders them in a clean HTML viewer. Supports image proxying to bypass CORS and referer restrictions.
- 📄 Scrapes and displays all images from a MangaKakalot chapter.
- 🌐 Proxies image requests with proper headers to bypass access blocks.
- 📜 Caches images for 30 minutes. (30 minutes for /proxy route, 10 minutes for /viewer route)
- Python 3.10+
pip install -r requirements.txt
git clone https://github.com/Pal-droid/Mangakakalot-proxy && cd Mangakakalot-proxyRun the server
uvicorn main:app --host 0.0.0.0 --port 8000🧪 Endpoints
GET /viewer?url=<chapter_url>
Renders a complete HTML viewer for a MangaKakalot chapter.
Example
GET /viewer?url=https://www.mangakakalot.gg/chapter/xyz123
Response
HTML page that renders the images of a given chapter url.
GET /proxy?img=<image_url>
Proxies an image from MangaKakalot using appropriate headers (e.g., Referer). Used internally by the viewer.
Example
GET /proxy?img=https%3A%2F%2Fexample.cdn.com%2Fimages%2F1.jpg
Important notes
-
Only supports MangaKakalot chapter pages (not other sites).
-
If MangaKakalot changes its page structure, regex-based scraping may break, if such thing were to happen you'd have to wait for an update.
📜 License