magnusmanske/autodesc ? reverse-engineered prompt

Reverse engineered prompt

Build me a small Rust service called AutoDesc that can generate human readable descriptions for Wikidata items.

I want it to run as a simple HTTP server with a JSON API on one GET endpoint, and if someone opens it without a query it should show a tiny landing page. The main input should be a Wikidata item like Q42 or just 42, and it should return the item label plus a short description by default. It should also support a longer prose style description for people in English, Dutch, French, and German, and fall back to the short version when long text is not supported.

Please include options for language, output format, and link style, and make it possible to include media info and thumbnails too. It should cache Wikidata lookups and generated results, handle lots of requests safely, and use sensible timeouts and rate limiting. Please also make sure the project can be built and tested from the command line, and look up current docs online if you need to.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab