← 返回
开发者工具 中文

Ganidhuz-FoxX

🦊 Ganidhuz-FoxX (Firefox + X combined lol). Browse X/Twitter using a real logged-in Firefox session via cookie injection. Supports profile viewing, tweet fe...
🦊 Ganidhuz-FoxX(Firefox + X 结合版)。通过 Cookie 注入使用真实 Firefox 登录会话浏览 X/Twitter,支持查看资料、推文等功能...
ganidhuz
开发者工具 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 1
Stars
📥 683
下载
💾 7
安装
1
版本
#latest

概述

Ganidhuz-FoxX 🦊

Browse X/Twitter through Firefox with your real session cookies. Built because Chromium kept getting bot-blocked by X.

Requirements

  • Python 3.7+
  • Playwright: pip install playwright && playwright install firefox
  • Firefox installed with an active X/Twitter login
  • Xvfb display (for headless servers): Xvfb :1 &

Setup

1. Export your X cookies

Close Firefox first, then:

bash scripts/export-x-cookies.sh
# Cookies saved to secrets/x-cookies.json by default
# Override: FOXX_COOKIES_OUT=/custom/path.json bash scripts/export-x-cookies.sh

Custom Firefox profile path:

FIREFOX_PROFILE_PATH=/path/to/profile bash scripts/export-x-cookies.sh

2. Health check

bash scripts/check-firefox-env.sh

Usage

Run a plan file:

DISPLAY=:1 python3 scripts/playwright-firefox-control.py --plan /tmp/foxx-plan.json

Plan Examples

View a profile

{
  "needs_gui": true,
  "gui_reason": "site_only_action",
  "url": "https://x.com/elonmusk",
  "cookies_path": "secrets/x-cookies.json",
  "steps": [
    {"action": "wait", "ms": 4000},
    {"action": "screenshot", "path": "/tmp/foxx-profile.png"}
  ],
  "close_delay_ms": 3000
}

Search tweets (live)

{
  "needs_gui": true,
  "gui_reason": "site_only_action",
  "url": "https://x.com/search?q=AI+agents&src=typed_query&f=live",
  "cookies_path": "secrets/x-cookies.json",
  "steps": [
    {"action": "wait", "ms": 4000},
    {"action": "screenshot", "path": "/tmp/foxx-search.png"}
  ],
  "close_delay_ms": 3000
}

Fetch a tweet

{
  "needs_gui": true,
  "gui_reason": "site_only_action",
  "url": "https://x.com/user/status/123456789",
  "cookies_path": "secrets/x-cookies.json",
  "steps": [
    {"action": "wait", "ms": 3000},
    {"action": "content", "selector": "article"},
    {"action": "screenshot", "path": "/tmp/foxx-tweet.png"}
  ],
  "close_delay_ms": 3000
}

Plan Options

FieldDefaultDescription
---------
needs_guirequiredMust be true to launch browser
gui_reasonrequiredOne of: login, captcha, mfa, visual_verification, site_only_action
urlrequiredStarting URL
cookies_pathoptionalPath to exported cookies JSON
close_delay_ms3000Wait (ms) before closing browser - validate result first
validation_screenshot/tmp/firefox-openclaw-validate.pngAuto-taken final screenshot before close
storage_state_pathoptionalSave session state to this path after run

Supported Step Actions

  • goto - navigate to URL
  • click - click element by selector
  • fill - fill input by selector
  • type - type text with delay
  • press - press keyboard key
  • wait - wait ms
  • wait_for_selector - wait for element
  • screenshot - take screenshot
  • content - extract inner text from element

Behaviour Rules

  • Always wait for page load (wait step, min 3000ms recommended)
  • A validation screenshot is always taken before closing
  • Browser waits close_delay_ms before closing - verify result is correct
  • If cookies expired (redirects to login), re-run export-x-cookies.sh
  • Always close browser after task - don't leave it idle

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-31 00:48 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 68 📥 180,474
developer-tools

Agent Browser

matrixy
专为AI智能体优化的无头浏览器自动化CLI,支持无障碍树快照和基于引用的元素选择。
★ 427 📥 118,386
developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 672 📥 324,534