darkskygit / markdownify

Make any url Markdownify at serverless

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Markdownify

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

Usage

curl https://markdownify.YOUR-USERNAME.workers.dev/api/markdown?url=https://about.google

Install

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

License

AGPL-3.0

About

Make any url Markdownify at serverless


Languages

Language:TypeScript 100.0%