DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to fetch a web page as Markdown for an AI agent with Moli

Turn any public page into clean Markdown text that an agent can read and reason over.

Short answer: Install the Moli binary with curl --proto '=https' --tlsv1.2 -fsSL https://github.com/lexmount/moli/releases/latest/download/moli-installer.sh | sh on Linux or macOS, or run the PowerShell installer from the README on Windows; then run moli fetch --dump markdown --wait-until done https://example.com to render the page as Markdown. All steps.

  • Top pick
  • Research
  • Intermediate
  • 15 minutes
  • From the README
  • Any agent

Who it is forA developer or researcher building an AI agent that must read web pages, triggered when raw HTML is too noisy to feed a model.

The problemRaw HTML is bloated and hard for a language model to use, and many pages need JavaScript to show their content.

The outcomeA Markdown rendering of the target page printed to the terminal, with JavaScript-rendered content included.

What you need first

  • A computer running Linux, macOS, or Windows
  • Terminal access (PowerShell on Windows)
  • Permission to download and run the Moli installer from GitHub
  • A URL to fetch or test

Steps

  1. Install the Moli binary with curl --proto '=https' --tlsv1.2 -fsSL https://github.com/lexmount/moli/releases/latest/download/moli-installer.sh | sh on Linux or macOS, or run the PowerShell installer from the README on Windows. (inferred, check the README)
  2. Run moli fetch --dump markdown --wait-until done https://example.com to render the page as Markdown. (inferred, check the README)
  3. Replace the example URL with your target and redirect output to a file if your agent reads from disk.

Prompt for your agent

Using the repo lexmount/moli, install the prebuilt Moli binary and run `moli fetch --dump markdown --wait-until done <target-url>`. Output the Markdown of the page. Verify that the main body text of the page appears and is not just a blank shell.

Caveat. Moli's own benchmark counts a page as useful only when meaningful content appears after JavaScript runs, and its mixed crawl success rate was 53.6%, so some pages will still come back thin.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for lexmount/moli and "Fetch a web page as Markdown for an AI agent"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer