CLI version of turndown - give it a url of text heavy content like docker docs and get nice clean markdown for use with local LLMs.
Outputs are stored by default in a cache folder in your HOME path, you can name them by passing a second arg (see Usage later on)
git clone https://github.com/mackenziebowes/fetch-md.git ~/your-install-herebun installbun linkfetch-md -hfetch-md fetch <url> <output file name>The program uses join from node:path under the hood, so the filename can be a path/to/thing for nesting.
We add a fetch-md directory to your HOME path for storing stuff, it's otherwise flat after that.
This project was created using bun init in bun v1.2.16. Bun is a fast all-in-one JavaScript runtime.
