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 | View the thread | More toots from amason@mastodon.social

Mentions

Tags

=> View typescript tag | View deno tag | View markdown tag

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

This content has been proxied by September (ba2dc).