Whilst messing around with local LLMs I needed a quick way to grab the content of a webpage and convert it into Markdown. There's some great browser plugins and services, but I thought it'd be a good opportunity to learn some Deno.
The result is a TypeScript edge function that scrapes a URL, extracts the main text and converts it into lovely Markdown.
Might be useful to others too.
https://url-to-markdown.deno.dev/
[#]typescript #deno #markdown
=> More informations about this toot | More toots from amason@mastodon.social
text/gemini
This content has been proxied by September (ba2dc).