Fetch and render web pages for AI agents and automation.
Getting Started · Configure · Limitations · Build · Support · License
Unofficial snap packaging for Moli, a lightweight headless browser with Markdown, screenshot and PDF output.
sudo snap install moli
moli fetch https://example.com --dump markdown
moli fetch https://example.com --layout --dump screenshot > page.png
moli fetch https://example.com --layout --dump pdf > page.pdfFor Playwright, Puppeteer or Selenium, start the CDP/WebDriver server with moli serve --port 9222.
This snap has no snap set options. Configure requests through moli fetch --help and the server through moli serve --help.
Keep profiles, cookie files and caches in a normal home folder:
moli fetch https://example.com -P ~/moli/profile --dump markdown
sudo snap connect moli:removable-media # optional: /media, /mntNetscape/curl cookie files in an accessible folder can be supplied with --cookie-jar.
- Hidden files directly under your home directory are inaccessible. Use a non-hidden folder for profiles, cookies and caches.
- Chrome and Firefox profiles cannot be imported in place. Close the browser, copy its profile into a normal home folder, then pass that copy to
moli import. - Screenshots and PDFs use the bundled DejaVu, Liberation and Droid Sans Fallback fonts. Host fonts are unavailable, and emoji are not rendered in color.
git clone https://github.com/sidalit/moli-snap.git
cd moli-snap
sudo snap install snapcraft --classic
snapcraft pack- Installation or snap issues: open a packaging issue.
- Application bugs: report them upstream.
Snap packaging: MIT.