Skip to content

mackenziebowes/fetch-md

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fetch-md: get clean loots

fetch-md: get clean loots

What does it do?

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

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)

Installation

git clone https://github.com/mackenziebowes/fetch-md.git ~/your-install-here
bun install
bun link

Usage

in CLI help tool

fetch-md -h

default operation

fetch-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.

Default Cache

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.

About

Get a page, convert it to md

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published