𝕏

xurl

Make authenticated X (Twitter) API requests from the command line — post, search, DM, manage followers, upload media, and more.

OpenClaw 제작v1.0.0
CommunicationAutomationAPICLIDeveloper Tool
VM에 연결 중...
VM에 연결 중...
npx clawhub@latest install xurl
19현재 설치 수
v1.0.0버전

요구 사항

xurl

xurl is a powerful CLI tool that gives AI agents and developers full access to the X (Twitter) API v2. It combines human-friendly shortcut commands with raw curl-style access to any v2 endpoint, making it easy to automate X workflows without writing authentication boilerplate.Whether you need to post tweets, reply to conversations, search for content, manage your social graph, send direct messages, or upload media, xurl handles the OAuth complexity automatically — every command returns clean JSON output ready for further processing.

작동 원리

xurl wraps the X API v2 with two layers of access:Shortcut commands — friendly one-liners like xurl post "Hello!", xurl search "#buildinpublic", or xurl dm @handle "message" that cover the most common operations.Raw API access — pass any v2 endpoint path directly (e.g. xurl /2/users/me) for full flexibility, with support for custom HTTP methods, headers, and request bodies.Credentials are stored securely in ~/.xurl and never exposed to agent context. OAuth 2.0 tokens refresh automatically. Multiple apps and accounts can be registered and switched between using xurl auth default or the --app flag per request.

주요 기능

Post & Engage — Create posts, replies, quote tweets, likes, reposts, and bookmarks with single commands.Search & Read — Search recent posts with full query syntax support; read individual posts with author, metrics, and entities.Social Graph Management — Follow, unfollow, block, unblock, mute, and unmute users; list followers and following for any account.Direct Messages — Send DMs and list recent DM events.Media Upload — Upload images and videos with auto type detection; poll processing status for videos.Raw v2 Access — Hit any X API v2 endpoint with GET, POST, PUT, PATCH, or DELETE, including streaming endpoints.Multi-App & Multi-Account — Manage multiple registered apps and multiple OAuth2 accounts per app; switch between them on the fly.JSON Output — All commands return pretty-printed JSON to stdout, matching the X API v2 response format for easy parsing.

요구 사항

X Developer App Credentials — Required. You must register an app on the X Developer Portal and configure credentials manually outside any agent session. OAuth 2.0 is the recommended auth method; OAuth 1.0a and app-only auth are also supported. Credentials are stored in ~/.xurl and must never be passed through agent context.

활용 사례

Social Media Automation — Schedule and post content, reply to mentions, and engage with relevant posts automatically as part of a larger AI workflow.Content Research — Search X for topics, hashtags, or specific accounts and feed the JSON results into downstream analysis or summarization steps.Community Management — Monitor mentions, manage follower/following lists, block spammers, and send DMs at scale.Media Publishing — Upload images or videos and attach them to posts in a two-step workflow, enabling rich media publishing from automated pipelines.

설치 방법

1
Run in your terminal
npx clawhub@latest install xurl
or
2
Click the Install button at the top of this page for one-click setup

자주 묻는 질문

리뷰

0개 리뷰

리뷰를 작성하려면 로그인

아직 리뷰가 없습니다. 첫 번째로 경험을 공유해 보세요!