converts any URL to an LLM-friendly input with simple request, run in Cloudflare Worker at no cost and easy to deploy.
Inspire by reader
Demo: https://markdownify.darksky2048.workers.dev/api/markdown?url=some-url
curl https://markdownify.YOUR-USERNAME.workers.dev/api/markdown?url=https://about.google
You will need the following tools to run the project:
Node v20
# prepare the environment
corepack enable pnpm
pnpm install
# login your cloudflare account
npx wrangler login
# publish the worker
pnpm run deploy
# test the worker
curl https://markdownify.YOUR-USERNAME.workers.dev/api/markdown?url=https://about.google