Live data from Hacker News

Show HN: I made a tool to clean and convert any webpage to Markdown

markdowndown.vercel.app

101–107 of 107 posts

Re: Show HN: I made a tool to clean and convert any webpage to Markdown

#101
post #78

Pretty cool. I build something very similar - smort.io . Just prepend smort.io/ before any article URL to easily edit, annotate and share it with anyone. Also works on ArXiv papers! This was the Show HN post for Smort - https://news.ycombinator.com/item?id=30673502

The recent project from jina AI was a clone of this idea?

https://jina.ai/reader/

Re: Show HN: I made a tool to clean and convert any webpage to Markdown

#102
post #21
post #19

I’m getting the server overload error but assuming this mostly works I’d use it every day !

can you try now?

Yes, and it works like a charm! I've used it a few times already today and can see this becoming a very regular part of my workflows. Thank you!

Re: Show HN: I made a tool to clean and convert any webpage to Markdown

#103
post #46

Great idea to offer image downloads and filtering with GPT! I built a similar tool last year that doesn't have those features: https://url2text.com/ Apologies if the UI is slow - you can see some example output on the homepage. The API it's built on is Urlbox's website screenshot API which performs far better when used directly. You can request markdown along with JS rendered HTML, metadata and screenshot all in one…

Founder of https://usescraper.com here. Thanks for the mention jot. We've also got a single URL scraping option https://docs.usescraper.com/api-reference/scraper/scrape now which is $0.001 per page, and uses a headless chrome browser. Results are snappy and you only pay for what you use.

Re: Show HN: I made a tool to clean and convert any webpage to Markdown

#104

Earlier quoted context omitted.

If the page is rendered using JavaScript then yes you need more. If there were a version of links, elinks, or lynx that executed JS that would be wonderful.

open the page in a browser save it to disk C-s run one of the above commands on the saved file

That's so far from being the same as lynx executing JS that I don't understand why you posted it.

Re: Show HN: I made a tool to clean and convert any webpage to Markdown

#107
post #65

Converting websites to markdown comes with 3 distinct problems: 1. Throughly scraping the content of page (high recall) 2. Dropping all the ads/auxilliary content (high precision) 3. And getting the correct layout/section types (formatting) For #2 and #3 - Trafilatura, Newspaper4k and python-readability based solutions work best out of the box. For #1, any scraping service + selenium is going to do a great job. Could…

Thoroughly scraping is challenging, especially in an environment where you don’t have (or want) a JavaScript runtime. For content extraction, I found the approach the Postlight library takes quite neat. It scores individual html nodes based on some heuristics (text length, link density, css classes). It the selects the nodes with the highest score. [1] I ported it to Swift for a personal read later app. [1] https://g…

For getting the HTML, you can use microlink, just passing the URL to https://html.microlink.io/{url}, like https://html.microlink.io/https://example.com
Post reply on HN