{"repo":"noblepayne/skim","free":true,"listed":false,"github":"https://github.com/noblepayne/skim","clone":"git clone https://github.com/noblepayne/skim.git","description":"Turns any HTML page into clean markdown.","language":"Clojure","stars":12,"topics":["babashka","bb","clojure","hickory","html","markdown","readability"],"license":"MIT","category":"productivity","readme_excerpt":"skim Mozilla Readability algorithm + hickory-to-markdown converter for Babashka. Turns any HTML page into clean markdown by parsing it with jsoup, scoring content using the Mozilla Readability algorithm, extracting the main article body, and converting the hickory tree to markdown. Quick Start As a Library How It Works Pipeline Stages 1. Parse — hickory-bundle/parse + as-hickory via jsoup 2. Strip — Remove , , elements 3. Filter — Remove unlikely candidates (ads, nav, sidebar, comments) by regex matching on class/id attributes 4. Score — Bottom-up recursive pass annotating each element with: - :readability/contentScore — accumulated score including children - :readability/elemScore — this element's own paragraph score - Scoring: +1 base, +1 per comma, +1 per 100 chars (max 3), tag bonuses, class weight (+25/-25). Only tags-to-score elements (p, td, pre, section, h2-h6) get paragraph scores, using direct text only. 5. Rank — find-content-root scores each container by cumulative elemScore of its paragraph descendants, prefers article section div 6. Convert — Recursive hickory-to-markdown: headings, paragraphs, links, images, lists, bold, italic, code, blockquotes, pre blocks Public API skim.core Function Description ---------- ------------- html- markdown Full pipeline: HTML string → {:title :byline :excerpt :markdown ...} url- markdown Fetch URL → html- markdown fetch-html Fetch URL with redirects, 10s timeout, throws on non-2xx score-tree Annotate hickory tree with readabilit","default_branch":null,"files":null,"tree":[],"storefront":"/r/noblepayne","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/noblepayne/skim/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}