{"repo":"p3bot/snag","free":true,"listed":false,"github":"https://github.com/p3bot/snag","clone":"git clone https://github.com/p3bot/snag.git","description":"Snag web pages like a polite robot with a browser","language":"Go","stars":28,"topics":["ai-agents","browser","download","html","javascript","markdown"],"license":"MPL-2.0","category":"ai-agents","readme_excerpt":"snag Intelligently fetch web page content using a browser engine. Why snag? Built for AI agents to consume web content efficiently. Modern AI agents need web content in clean, token-efficient formats. snag solves this by: - Markdown output - AI models work better with markdown than HTML (70% fewer tokens) - Real browser rendering - Handles JavaScript, dynamic content, lazy loading automatically - Authentication support - Access private/authenticated pages through persistent browser sessions - Tab management - List, select, and reuse existing browser tabs without creating new ones - Content archival - Build reference libraries of web content for future AI agent use - Simple CLI interface - One command, clean output, no complex automation scripts Perfect for: - AI coding assistants fetching documentation - Building knowledge bases from authenticated sites - Capturing dynamic web content for analysis - Piping web content into AI processing pipelines - Taking page screenshots for CSS/Style analysis Quick Start That's it! snag auto-detects your Chromium-based browser and handles everything else. Installation Prerequisites snag requires a Chromium-based (Chrome) browser: Linux: macOS: Supported browsers: Chrome, Chromium, Microsoft Edge, Brave, other Chromium-based browsers Homebrew (Linux/macOS) Note: There's a name conflict with an older deprecated tool. Use the full tap name: Go Install Build from Source Usage Basic Examples Output Formats snag supports 5 output formats for diff","default_branch":null,"files":null,"tree":[],"storefront":"/r/p3bot","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/p3bot/snag/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}