Marketplace

Playwright (AI)

Other

Headless-Chromium render of JS pages → text.

togo-framework
bash
togo install togo-framework/ai-playwright

Install

bash
togo install togo-framework/ai-playwright

ai-playwright

A togo AI data-source plugin — render JS-heavy pages with a headless Chromium (Playwright) and return text/HTML, so ai-rag ingest and agents can read client-rendered sites.

bash
togo install togo-framework/ai-playwright

Install the browser once at runtime: go run github.com/playwright-community/playwright-go/cmd/playwright install chromium.

Use

  • Go: aiplaywright.FromKernel(k).Render(ctx, "https://example.com")Result{Title,Text,HTML}
  • REST: POST /api/ai/playwright {"url":"…"}

Part of the togo AI kit. MIT.


<div align="center"> <h3>Premium sponsors</h3> <p> <a href="https://id8media.com"><strong>ID8 Media</strong></a> &nbsp;·&nbsp; <a href="https://one-studio.co"><strong>One Studio</strong></a> </p> <p><sub>Support togo — <a href="https://github.com/sponsors/fadymondy">become a sponsor</a>.</sub></p> </div>