firecrawl/anydoc ? reverse-engineered prompt
Reverse engineered prompt
Build me a fast local document converter that turns Word, PowerPoint, Excel, OpenDocument, RTF, EPUB, CSV, and PDF files into clean GitHub flavored Markdown.
I want it to work from the command line, but also be easy to use from Node.js, Python, and Rust. It should handle files on disk, bytes in memory, and stdin, and it should figure out the format from the content when it can. Keep the output consistent across document types, with headings, lists, tables, links, footnotes, code blocks, and images handled nicely. If a document has embedded images or objects, keep their data available too.
Make it very fast and local, with no external service needed for normal documents. For PDFs, support text based PDFs locally. Add clear examples and a help command so I can quickly convert a file to Markdown or save it to a new file. If you need to check current docs or platform details, look them up online first.
Are you gonna build this?
make sure you review the code using coderabbit