r11y - Whitespace preserving readability/defuddle-style URL->Markdown CLI tool
https://github.com/dazld/r11y/releases/tag/v1.0.7
Small bugfix reflecting GitHub’s deprecation of older raw true query param. Fixes empty GitHub responses on blob urls.
(Thanks @dcj for the report!)
—
Homebrew tap
brew install dazld/tap/r11y for the native binary on macOS arm64 / Linux x86_64
Babashka example:
bb -Sdeps '{:deps {io.github.dazld/r11y {:git/tag "v1.0.7" :git/sha "59a594a"}}}' \
-e '(require (quote [r11y.lib.html :as html]))
(println (:markdown (html/extract-content-from-url "" :format :markdown)))'
CLI example:
❯ r11y -m
---
title: r11y/README.md at main · dazld/r11y · GitHub
url:
is-canonical: true
hostname:
description: CLI tool for extracting URLs as Markdown. Contribute to dazld/r11y development by creating an account on GitHub.
sitename: GitHub
icon:
image:
---
# r11y
A lightning fast, GraalVM-compiled CLI tool for extracting readable content from web pages as Markdown.
...