Latest / Developer tools

dom-to-semantic-markdown

github.com · Open source · Quiet

TypeScript library that converts HTML DOM into semantic Markdown

Visit github.com ↗Share

  • html to markdown llm
  • dom to markdown
  • web content for llm
  • semantic html markdown
  • llm web scraping library
Stars
1k
Forks
29
Open issues
6
Last commit
Found
2 years ago

GitHub figures as of . They are context, not a ranking.

dom-to-semantic-markdown is a TypeScript library that converts a page's DOM into semantic Markdown for use with large language models. Developers building LLM pipelines from web content can use it to keep meaningful structure while dropping layout markup.

Repository description on GitHub: “DOM to Semantic-Markdown for use with LLMs”

What it does

  • Converts DOM into semantic Markdown that keeps header, nav and footer structure
  • Extracts metadata such as Open Graph, Twitter Card and JSON-LD tags
  • Detects main content and uses fewer tokens than raw HTML

Good for

  • Feed a web page to an LLM as compact Markdown
  • Extract page metadata alongside the main article content

Suits: Developers building LLM pipelines from web pages.

What you can try

Read the README on GitHub and install from source.

Install

npm install dom-to-semantic-markdown

Confirmed against the package registry. Read the project’s own instructions before running anything.

Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.

Found vs. released

Kip first saw dom-to-semantic-markdown on , when leroman posted it to Show HN. GitHub listed no published releases for romansky/dom-to-semantic-markdown when checked , so the project may ship straight from its main branch. The repository was created .

Day-7 and day-30 updates

Day 7 no new release

  • No tagged release was published in the first 7 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 146 points, 56 comments. API record

Checked , later than day 7 because tracking began after.

Day 30 no new release

  • No tagged release was published in the first 30 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 146 points, 56 comments. API record

Checked , later than day 30 because tracking began after.

Release timeline every entry links to its source

  1. Repository created on GitHub: romansky/dom-to-semantic-markdown
  2. Found: leroman posted it to Show HN. Show HN
  3. Day-7 check recorded by Kip (details)
  4. Day-30 check recorded by Kip (details)

Quick answers

When was dom-to-semantic-markdown released?
No dated release record is available. Kip found it on Show HN on 23 Jul 2024.
Is dom-to-semantic-markdown open source?
Its source is public on GitHub at romansky/dom-to-semantic-markdown under the MIT licence.
What does dom-to-semantic-markdown run on?
Library.
Is dom-to-semantic-markdown free?
It is open source, so the code is free to read and run; check the licence for terms.
Is dom-to-semantic-markdown still maintained?
It has had no commit or release for over a year as of the latest check.

Provenance

SourceRecordLast checked
Show HNlisting
official API record
GitHub repositoryromansky/dom-to-semantic-markdown
REST API record
GitHub Releasesrelease list
REST API record

Stable ID hn-41043771. Summary drafted with AI from the source records above and checked against KipFound’s rules before publishing. Dates and release facts come only from those records.

Share

Similar tools

More in Developer tools

Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.