{"by":"kepano","descendants":68,"id":44067409,"kids":[44067933,44068175,44069553,44069116,44072833,44068897,44069268,44067500,44080010,44070952,44070577,44071519,44067492,44071791,44071191,44068328,44071178,44067897,44074395,44071129,44068470,44074813,44068895,44070898,44075195,44071442,44068190,44067833,44068407,44068795],"score":418,"text":"Defuddle is an open-source JS library I built to parse and extract the main content and metadata from web pages. It can also return the content as Markdown.<p>I built Defuddle while working on Obsidian Web Clipper[1] (also MIT-licensed) because Mozilla&#x27;s Readability[2] appears to be mostly abandoned, and didn&#x27;t work well for many sites.<p>It&#x27;s still very much a work in progress, but I thought I&#x27;d share it today, in light of the announcement that Mozilla is shutting down Pocket. This library could be helpful to anyone building a read-it-later app.<p>Defuddle is also available as a CLI:<p><a href=\"https:&#x2F;&#x2F;github.com&#x2F;kepano&#x2F;defuddle-cli\">https:&#x2F;&#x2F;github.com&#x2F;kepano&#x2F;defuddle-cli</a><p>[1] <a href=\"https:&#x2F;&#x2F;github.com&#x2F;obsidianmd&#x2F;obsidian-clipper\">https:&#x2F;&#x2F;github.com&#x2F;obsidianmd&#x2F;obsidian-clipper</a><p>[2] <a href=\"https:&#x2F;&#x2F;github.com&#x2F;mozilla&#x2F;readability\">https:&#x2F;&#x2F;github.com&#x2F;mozilla&#x2F;readability</a>","time":1747950054,"title":"Show HN: Defuddle, an HTML-to-Markdown alternative to Readability","type":"story","url":"https://github.com/kepano/defuddle"}