karust/openserp — reverse-engineered prompt
Reverse engineered prompt
Build me a self hosted search results API and CLI called OpenSERP that can fetch live results from Google, Bing, DuckDuckGo, Yandex, Baidu, and Ecosia. I want separate endpoints for each engine, plus one combined search endpoint that can query multiple engines at once, merge the results, and remove duplicates.
Make the responses clean and consistent for things like SEO tracking, AI agents, and RAG workflows. It should be able to return normal search results, image results when supported, and useful SERP extras like answer boxes, related searches, and AI style summaries when available. I also want an option to extract the target page content in the same request and return it as markdown or plain text. Support JSON, markdown, text, and NDJSON output, along with filters like language, date range, file type, and site search.
Please make it easy to run locally or in Docker, with config for proxy, cache, and a resilient mode. Include interactive docs in the app and a few working examples. Look up current docs online if you need to.
Want more depth? Deep Reverse