What do you want to do?
4 use cases
-
Fetch a web page as Markdown for an AI agent
Turn any public page into clean Markdown text that an agent can read and reason over.
- REPO
lexmount/moli - Research
- Intermediate
View prompt
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.
- REPO
-
Get a compact semantic tree of a page for a model
Export a short structured text outline of a page, sized for model context windows.
- REPO
lexmount/moli - Research
- Intermediate
View prompt
Using the repo lexmount/moli, run `moli fetch --dump semantic_tree_text --wait-selector body <target-url>`. Return the semantic tree text. Verify that headings and links from the page appear in the output.
- REPO
-
Capture a screenshot or PDF of a web page
Save a PNG or PDF of a rendered page for review, reports, or visual checks.
- REPO
lexmount/moli - Research
- Intermediate
View prompt
Using the repo lexmount/moli, run `moli fetch --layout --dump screenshot <target-url> > page.png`. Save the PNG and report its file size. Verify that the file opens as an image showing the page.
- REPO
-
Drive Moli from Playwright over CDP
Run a local Moli server and control it from an existing Playwright script.
- REPO
lexmount/moli - Research
- Advanced
View prompt
Using the repo lexmount/moli, start the server with `moli serve` and connect Playwright to http://127.0.0.1:9222 with connectOverCDP. Navigate to <target-url> and print the body innerText. Verify that the printed text matches the visible text of the page.
- REPO
Quick start with Moli
- Check you have what it needs: A computer running Linux, macOS, or Windows; Terminal access (PowerShell on Windows); Permission to download and run the Moli installer from GitHub.
- Open lexmount/moli on GitHub and read the README and license.
- Install the Moli binary with
curl --proto '=https' --tlsv1.2 -fsSL https://github.com/lexmount/moli/releases/latest/download/moli-installer.sh | shon Linux or macOS, or run the PowerShell installer from the README on Windows. (inferred, check the README) - Run
moli fetch --dump markdown --wait-until done https://example.comto render the page as Markdown. (inferred, check the README) - Replace the example URL with your target and redirect output to a file if your agent reads from disk.
These steps come from our top use case, Fetch a web page as Markdown for an AI agent, which also has a copy-paste agent prompt.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for lexmount/moli
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeAbout this repo
- Who it is forBuilt for developers and AI agent builders who need page content or browser automation without running a full Chromium install.
- Why it is hot23k stars
- LanguageRust
- Sourcegithub.com/lexmount/moli · Back to Hot repos
Requirements
- 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
Add this badge to your README
Maintain Moli? Show readers where to find these use cases.
Markdown
[](https://dedupedai.com/use-cases/lexmount-moli/?utm_source=github&utm_medium=badge&utm_campaign=lexmount-moli)
HTML
<a href="https://dedupedai.com/use-cases/lexmount-moli/?utm_source=github&utm_medium=badge&utm_campaign=lexmount-moli"><img src="https://dedupedai.com/badge/lexmount/moli.svg" alt="Use cases on Deduped" height="20"></a>
A static image, no tracking script. About the badge
Questions about Moli
What is Moli?
Moli is an open-source headless browser written in Rust that AI agents use to fetch pages, extract content, and automate browser tasks. It is an open-source project on GitHub: https://github.com/lexmount/moli.
How do I use Moli?
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. The use cases on this page give the full steps and a copy-paste agent prompt for each job.
Who is Moli for?
Built for developers and AI agent builders who need page content or browser automation without running a full Chromium install.
What can I do with Moli?
4 use cases so far, for example: Fetch a web page as Markdown for an AI agent; Get a compact semantic tree of a page for a model; Capture a screenshot or PDF of a web page. Each has steps and a copy-paste agent prompt.
What do I need to run Moli?
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.
What are alternatives to Moli?
Other hot AI repos in Research: Deep Tutor, Local Deep Research, Project Nomad, Nanochat, We Knora.
Is Moli safe to run?
Deduped does not own, audit or vouch for it. Read the README and license, run it on your own systems first and review every command before you run it.