abalfazljam/GUI-advanced-chat-API ? reverse-engineered prompt

Reverse engineered prompt

Build me a modern AI chat web app in PHP that works with OpenAI style APIs and feels polished on both mobile and desktop.

I want a clean chat interface with streaming replies, the ability to stop generation, and support for Markdown, KaTeX, and code syntax highlighting. It should let me connect multiple providers like OpenAI compatible services, save and edit those connections, and switch between models easily. Please include chat history, search, trash and restore, plus import and export of chats.

Make it work without a database, with everything stored in JSON files so it can run on a normal shared PHP host. I also want file uploads for images, audio, video, and text files, plus user and assistant profile names and avatars. Add a few quick prompt buttons, dark and light themes, and support for both Persian and English. If you need current API details, look up the latest docs online.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab