Skip to content
sidalitPublic

About

Snap packaging for Moli, a lightweight headless browser for AI agents and automation.

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

25 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Moli logo

Moli

Fetch and render web pages for AI agents and automation.

moli Base: core26 Confinement: strict Maintainer: sidaliteir Architectures: amd64 and arm64

Getting Started · Configure · Limitations · Build · Support · License

Unofficial snap packaging for Moli, a lightweight headless browser with Markdown, screenshot and PDF output.


Getting Started

Get it from the Snap Store

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.pdf

For Playwright, Puppeteer or Selenium, start the CDP/WebDriver server with moli serve --port 9222.

Configure

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, /mnt

Netscape/curl cookie files in an accessible folder can be supplied with --cookie-jar.

Limitations

  • 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.

Build

git clone https://github.com/sidalit/moli-snap.git
cd moli-snap
sudo snap install snapcraft --classic
snapcraft pack

Support

License

Snap packaging: MIT.

About

Snap packaging for Moli, a lightweight headless browser for AI agents and automation.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors