subzeroid/aiograpi-rest — reverse-engineered prompt
Reverse engineered prompt
Build me a self hosted REST API service that lets apps in any language talk to Instagram through HTTP instead of needing a native Instagram library.
I want to run it locally or in Docker, log in with an Instagram username and password or an existing session cookie, then get back a session id that I can use on later requests. It should expose clean JSON endpoints for common Instagram actions like reading public profiles, about info, followers, posts, reels, tagged posts, comments, searches, and uploading photos, videos, reels, IGTV, albums, and stories. It should also support actions like following, liking, archiving, editing media, and deleting where appropriate.
Please include live API docs in the browser, an OpenAPI JSON endpoint, and simple examples showing curl usage and how another language could call it. Make pagination return items plus a next cursor. Let login and settings support proxy, locale, and timezone, since Instagram accounts often need that.
Keep it practical and self hosted. Use current docs online if needed.
Want more depth? Deep Reverse