{"id":50141504,"url":"https://github.com/ancs21/playpanda","last_synced_at":"2026-05-24T01:34:26.861Z","repository":{"id":347612434,"uuid":"1194645349","full_name":"ancs21/playpanda","owner":"ancs21","description":"Fetch any URL to clean, LLM-ready markdown. 3-tier engine: HTTP → Lightpanda → CloakBrowser.","archived":false,"fork":false,"pushed_at":"2026-04-25T09:42:43.000Z","size":3674,"stargazers_count":9,"open_issues_count":2,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-24T01:34:14.201Z","etag":null,"topics":["ai","cli","cloakbrowser","headless-browser","lightpanda","llm","markdown","scraper","web-scraping","zig"],"latest_commit_sha":null,"homepage":null,"language":"Zig","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ancs21.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-28T16:24:47.000Z","updated_at":"2026-05-18T08:24:30.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/ancs21/playpanda","commit_stats":null,"previous_names":["ancs21/playpanda"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/ancs21/playpanda","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ancs21%2Fplaypanda","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ancs21%2Fplaypanda/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ancs21%2Fplaypanda/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ancs21%2Fplaypanda/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ancs21","download_url":"https://codeload.github.com/ancs21/playpanda/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ancs21%2Fplaypanda/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33418547,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-23T22:14:44.296Z","status":"ssl_error","status_checked_at":"2026-05-23T22:14:43.778Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","cli","cloakbrowser","headless-browser","lightpanda","llm","markdown","scraper","web-scraping","zig"],"created_at":"2026-05-24T01:34:25.427Z","updated_at":"2026-05-24T01:34:26.856Z","avatar_url":"https://github.com/ancs21.png","language":"Zig","funding_links":[],"categories":[],"sub_categories":[],"readme":"```\n ╭───────────╮\n │  ■     ■  │\n │    ▶      │\n │   ╰──╯   │\n ╰───────────╯\n```\n\n# playpanda\n\n[![CI](https://github.com/ancs21/playpanda/actions/workflows/ci.yml/badge.svg)](https://github.com/ancs21/playpanda/actions/workflows/ci.yml)\n[![Release](https://img.shields.io/github/v/release/ancs21/playpanda)](https://github.com/ancs21/playpanda/releases/latest)\n[![License](https://img.shields.io/badge/license-Apache%202.0-blue)](LICENSE)\n[![Zig](https://img.shields.io/badge/zig-0.15-orange)](https://ziglang.org)\n[![Binary Size](https://img.shields.io/badge/binary-400KB-green)](https://github.com/ancs21/playpanda/releases/latest)\n\nFetch any webpage as clean, LLM-ready markdown. Single binary, zero config.\n\n![demo](demo.gif)\n\n## Why playpanda?\n\n| | playpanda | Crawl4AI | Firecrawl | Jina Reader |\n|---|:---:|:---:|:---:|:---:|\n| Single binary | Zig | Python + pip | Node + API key | curl only |\n| Zero config | Yes | Nearly | No | Yes |\n| Auth built-in | Login + cookies | Hooks/profiles | Dashboard | x-set-cookie |\n| Anti-bot | 3-tier auto-escalation | Manual config | Partial | No |\n| API key required | No | No | Yes | Freemium |\n| Avg speed | 1.8s | ~3s | ~5s | ~2s |\n| Avg tokens/page | 2,868 | varies | varies | varies |\n\n## How It Works\n\nplaypanda uses a 3-tier fetch engine that automatically escalates until it gets content:\n\n| Tier | Method | Speed | When |\n|------|--------|-------|------|\n| 1 | HTTP + native Zig HTML-to-markdown | ~150ms | Default for most sites |\n| 2 | [Lightpanda](https://lightpanda.io/) headless browser | ~1.5s | When Tier 1 returns empty/broken content |\n| 3 | [CloakBrowser](https://github.com/CloakHQ/CloakBrowser) | ~6s | Bot-protected sites (Facebook, LinkedIn, Medium, etc.) |\n\nIf a page is blocked or empty, playpanda automatically tries the next tier.\n\n## Install\n\nOne-liner (installs binary + all dependencies):\n\n```\ncurl -fsSL https://raw.githubusercontent.com/ancs21/playpanda/main/scripts/install.sh | sh\n```\n\n### From source\n\nRequires [Zig](https://ziglang.org/) 0.15+:\n\n```\ngit clone https://github.com/ancs21/playpanda.git\ncd playpanda\nzig build -Doptimize=.ReleaseFast\ncp zig-out/bin/playpanda ~/.local/bin/\n```\n\n### Use as Agent Skill\n\n```\nnpx skills add ancs21/playpanda\n```\n\n### Dependencies\n\nThe installer handles these automatically, or install manually:\n\n- [Lightpanda](https://lightpanda.io/) — headless browser for Tier 2\n- Python 3 + `websockets` — Tier 3 stealth browser and cookie harvesting\n- Chrome/Chromium — for Tier 3 stealth and login flow\n\n## Usage\n\n### Fetch a page\n\n```\nplaypanda https://example.com                       # markdown to stdout\nplaypanda https://example.com \u003e article.md          # save to file\n```\n\n### Fetch multiple pages\n\n```\nplaypanda https://example.com,https://ziglang.org   # multiple URLs, separated by ---\n```\n\n### Log in to sites\n\n```\nplaypanda profile                                   # opens browser, log in, press Enter\n```\n\nCookies are saved to `~/.playpanda/cookies.json` and used automatically on subsequent fetches.\n\n### Upgrade\n\n```\nplaypanda upgrade\n```\n\n## How Cookies Work\n\n1. **`playpanda profile`** opens a browser with CDP enabled. Log in to any site, then press Enter. Cookies are harvested via Chrome DevTools Protocol and saved.\n\n2. **Fetch flow**: Cookies are automatically loaded and matched by domain. Tier 1 uses HTTP cookie headers, Tier 2 injects via `Network.setCookies` over CDP.\n\n## Bot-Protected Sites\n\nThese domains automatically use Tier 3 (stealth browser):\n\nfacebook.com, instagram.com, linkedin.com, x.com, twitter.com, medium.com, google.com, youtube.com, tiktok.com, reddit.com, substack.com, threads.net, pinterest.com\n\nOther sites start at Tier 1 and escalate if blocked.\n\n## License\n\n[Apache 2.0](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fancs21%2Fplaypanda","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fancs21%2Fplaypanda","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fancs21%2Fplaypanda/lists"}