prscust/shopee-bot ? reverse-engineered prompt

Reverse engineered prompt

Build me a small PHP app that helps me auto post Shopee affiliate products to a Telegram channel on a schedule.

I want a simple dashboard where I can log in, paste affiliate links, add a category and a short note, then see the saved links in a list, delete them if needed, and press a Post button to send one right away. The bot should store the links in SQLite and use them later for scheduled posting.

For the posting part, I want it to pick a product, generate a catchy caption with a local LLM if it can, and fall back to a basic template if the LLM is unavailable. Then it should send the post to my Telegram channel using a bot token. I also want a CLI command for dry runs, posting a specific item by index, or posting a random one, plus a cron friendly setup so it can run every few hours.

Please make it easy to configure with a .env file and include sensible defaults and login protection for the dashboard.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab