独立运营 · 不出售排名位置  · 我们怎么评估工具 →
Anclum 提交收录
R

roedyrustam/realmaya

本站为独立目录,非该工具官网;下方信息取自其公开仓库。

AI-native headless browser automation library & MCP v1.x server (Chrome CDP & Firefox WebDriver BiDi) with…

装之前:没有可直接复制的命令 · 许可证 MIT

第一步:这条暂时没有可执行的下一步,可先看原仓库 https://github.com/roedyrustam/realmaya

更新 2026-11-17
在 GitHub 查看 ↗直链 · 无中转页

装完之后怎么算装好了

  1. 装完该看到什么 — 命令正常结束时退出码为 0,终端里没有 "command not found" 或 "permission denied"。
  2. 一行自检 — 按该仓库 README 里给出的最小用法跑一次;能按 README 的描述输出就是通了。
  3. 答不出来怎么办 — 这个项目没有写排错说明,去仓库的 Issues 搜 install。

安装命令取自该仓库;以上判据只描述可观察到的结果,不替代项目自己的文档。

★ 数取值
0 ★ · roedyrustam/realmaya · 取自 GitHub 搜索 API · (2026-11-19 20:00:48 核对)
来源明细
从该仓库的 GitHub 页面直接读取 · 条目类型:开源项目
收录与活跃
收录于 2026-11-18 · 最近见到 2026-11-20 · 共见到 3 次 · 被 2 个来源列出
评分构成
综合分 203 · 2 个来源 · repo
安装
安装命令见上方「安装与配置」。
常见问题(答案都来自我们的记录)
它适合谁 / 用来做什么?
我们把它归在这些标签下: 浏览器自动化。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
仓库 roedyrustam/realmaya;我们收录于 2026-11-18;最近见到 2026-11-20。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。
README 原文(英文,未翻译) · 在 GitHub 读完整 README →

# realmaya

以下摘录自该仓库的 README(片段)

realmaya is an AI-native headless browser automation library and native Model Context Protocol (MCP v1.x) server for controlling Chrome (CDP) and Firefox (WebDriver BiDi) with zero heavy driver dependencies.
It replaces brittle CSS/XPath-only automation and 50,000-token raw HTML dumps with an in-page Token-Compressed Semantic Distiller, Self-Healing Locator Cache, Speculative Parallel Branching (page.fork()), Set-of-Mark Visual Grounding, and a Prompt-Injection Firewall.
## Key Capabilities
| Capability | Description |
| Dual-Engine Headless Control | Zero-driver headless Chrome (CDP) and Firefox (native WebDriver BiDi) over a unified JSON-RPC WebSocket multiplexer. |
| Token-Compressed Semantic Distiller | Compresses 50k+ token DOMs (including open Shadow DOM) into semantic trees in = 85% token reduction). |
| Self-Healing Locator Cache | Repeat page.act() calls resolve in breakout tags, and prompt-injection override phrases; enforces onDestructiveAction confirmation hooks. |
| Set-of-Mark Visual Grounding & Network Mocking | Annotate interactive elements with [id] bounding-box overlays (page.screenshot({ setOfMark: true })) and mock fetch/XMLHttpRequest routes deterministically (page.mockRoute()). |
## Quick Start (TypeScript SDK)
ts
import { launch, createOpenAiCompatibleProvider } from 'realmaya';
import { z } from 'zod';
const llm = createOpenAiCompatibleProvider({
baseUrl: 'https://api.openai.com/v1',
apiKey: process.env.OPENAI_API_KEY,
model: 'gpt-4o-mini',
});
await using browser = await launch({
engine: 'chrome',
headless: true,
llm,
cachePath: '.realmaya/locators.db', // Supports .db/.sqlite (node:sqlite) or .json
onDestructiveAction: async ({ instruction, action }) => {
console.warn(Confirm destructive ${action}: ${instruction});
return false; // Block unapproved destructive actions
},
});
const page = await browser.newPage();
await page.goto('https://example.com');
// 1. Observe token-compressed semantic tree ( semantic tree |
| browser_act | Execute natural-language intent (click, type, select, press, scroll) via cache or MCP Sampling |
| browser_extract | Extract structured JSON from the current page matching requested field descriptions |
| browser_click | Deterministically click by numeric [id] or CSS selector |
| browser_type | Deterministically type into an input/textarea by [id] or CSS selector |
| browser_select | Select an in a element by [id] or CSS selector |
| browser_press | Dispatch keyboard key press (Enter, Escape, Tab, etc.) on an element |
收录徽章(可选)
想把收录标记放进 README 就复制这行,可选,不影响收录。
[![Listed on Anclum](https://anclum.com/badge/listed.svg)](https://anclum.com/zh/s/roedyrustam-realmaya/)
来源
github · https://github.com/roedyrustam/realmaya
按领域浏览
浏览器自动化
收录来源
2 个独立来源
收录于
今天

更多条目

全部 19 →

所属领域与标签

每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。

浏览全部领域 →

← 返回索引