Skip to content

A fast, lightweight HTML to Markdown converter optimized for LLM consumption. Uses proven parsing libraries to deliver clean, well-structured markdown with intelligent content extraction and noise filtering.

License

Notifications You must be signed in to change notification settings

Nano-Collective/get-md

Repository files navigation

get-md

A fast, lightweight HTML to Markdown converter optimized for LLM consumption.

Features

  • Lightning-fast (<100ms) with optional AI-powered conversion
  • Intelligent extraction using Mozilla Readability
  • CLI included for command-line usage
  • TypeScript with full type definitions
  • React Native compatible

Installation

npm install @nanocollective/get-md

Quick Start

Library

import { convertToMarkdown } from "@nanocollective/get-md";

const result = await convertToMarkdown("https://example.com");
console.log(result.markdown);

CLI

getmd https://example.com -o output.md

Documentation

For full documentation, see docs/index.md:

Community

We're a small community-led team building local and privacy-first AI solutions under the Nano Collective.

About

A fast, lightweight HTML to Markdown converter optimized for LLM consumption. Uses proven parsing libraries to deliver clean, well-structured markdown with intelligent content extraction and noise filtering.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Contributors 2

  •  
  •