Ancestors

Toot

Written by Andrew on 2024-07-10 at 19:28

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

Descendants

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/112763843266961307
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
304.680527 milliseconds
Gemini-to-HTML Time
0.229324 milliseconds

This content has been proxied by September (ba2dc).