Fayeblade icon

Fayeblade

Facilitates browser automation by providing a robust bridge that communicates over `stdin/stdout` using a JSON-RPC-like protocol.

关于

Fayeblade acts as a streamlined browser bridge designed for robust automation tasks, communicating via a JSON-RPC-like protocol over standard input/output. It leverages Playwright for real browser control, offering a single persistent context to manage optional cookie and session states. The tool supports two primary transport framers—`line` for simplicity and `content-length` for stricter host requirements—and is engineered with production stability in mind, meticulously avoiding common `asyncio` I/O pitfalls to ensure clean, protocol-only output.

主要功能

  • Browser automation via Playwright with persistent context
  • Robust I/O design prevents protocol mismatches
  • Supports 'line' and 'content-length' transport framing
  • JSON-RPC-like communication over stdin/stdout
  • 1 GitHub stars
  • Configurable through environment variables

使用案例

  • Integrating browser control into other applications or services
  • Maintaining persistent browser sessions for logged-in states or specific contexts
  • Automating browser navigation and interactions programmatically
Advertisement

Advertisement