Skip to content

Pal-droid/Mangakakalot-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Mangakakalot-proxy

A proxy for bypassing cloudflare protection on mangakakalot.


MangaKakalot Viewer Proxy API

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.

🧠 Features

  • 📄 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)

🚀 Deployment

Requirements

  • Python 3.10+
  • pip install -r requirements.txt

Hosting locally

git clone https://github.com/Pal-droid/Mangakakalot-proxy && cd Mangakakalot-proxy

Run 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

MIT

About

A proxy for bypassing cloudflare protection on mangakakalot.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages