Readable markdown from any web page
Put any page URL after the endpoint to get its markdown as plain text:
GET /api/defuddle/https://example.com/article
Add ?json=1 for the full result with title, author, published, wordCount and more, and ?selector=.content to pick the content element. Send pasted HTML as JSON:
curl -X POST https://kamalnrf.com/api/defuddle \
-H 'Content-Type: application/json' \
-d '{"html": "<html>…</html>", "url": "https://example.com", "selector": ".article"}'