walterwhite-69/AllManga.to-API — reverse-engineered prompt

Reverse engineered prompt

Build me a simple self hosted Python API for allmanga.to that I can run locally and use from my own apps. I want it to feel reliable and easy to test, with a nice docs page on the main route and Swagger style docs at /docs.

The main thing it should do is let me search anime by title, browse a home feed with trending and recent updates, open a show page with full info like description, genres, studios, score, season, and episode counts, then fetch episode lists. For episodes, I want an option to include direct playable 1080p MP4 stream links for sub and dub without needing cookies, plus the proper referer info for playback.

Also add the extra endpoints to decode source links from common embed servers and extract playable stream URLs from an embed page when needed. For that fallback source route, it is fine if it needs my allmanga.to cookies passed in a header.

Please make it CORS friendly, cleanly structured, and easy to start with one local command. Look up current docs online if you need to.

Want more depth? Deep Reverse