awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
sferik avatar

sferik/x-cli

0
View on GitHub↗
sferik.github.io/t↗

X Cli

x-cli is a command-line client for Twitter (X) that lets you post, search, stream and manage accounts from the terminal. It is written in Ruby and built for scripting: results come out as column-aligned text or CSV, and commands return meaningful exit codes, for example when checking whether one account follows another, so they fit into shell pipelines alongside tools such as grep, awk and xargs.

Requests are signed with OAuth 1.0a or 2.0 credentials. Several account profiles can be kept in a single YAML configuration file, and you can list them, switch the active one and remove accounts. The client works against both the v1.1 and v2 API versions and falls back to the other when one is unavailable. It retries temporary errors with increasing delays and sends independent requests concurrently, so operations touching many items finish faster than sequential calls.

Beyond posting and account management, it can hold a persistent connection open to stream sampled or filtered posts live from searches, users, lists and timelines, with an optional cap on events. It can also search up to 3,200 recent posts with regular-expression filtering, and work with lists. Commands are organised as a tree with aliases and options, and completion definitions for Bash, Zsh and fish are included.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Features

  • Social Media Command-Line Clients - Provides a terminal client for posting, searching, streaming and managing Twitter accounts, with exit codes that suit shell scripting.
  • Twitter API Clients - Talks to Twitter's v1.1 and v2 APIs from the terminal to post, search, stream and manage accounts, signing requests with OAuth.
  • Social Status Updates - Publishes short status updates from the terminal and quotes special characters so the shell leaves the text intact.
  • Scriptable Command-Line Interfaces - Produces column-aligned or CSV output and meaningful exit codes so commands slot into shell pipelines with grep, awk and xargs.
  • Live Post Streams - Keeps a persistent connection open to stream sampled or filtered posts live from searches, users, lists and timelines.
  • Social Post Streaming - Keeps a continuous connection open to deliver sampled or filtered posts from searches, users, lists and timelines into the terminal, with an optional event cap.
  • CSV Data Exports - Converts any command's output to CSV with a flag so results open directly in a spreadsheet.
  • Plain-Text Data Handlers - Emits column-aligned or CSV text and meaningful exit codes so output flows into grep, awk and xargs.
  • Parallel Request Executors - Sends independent API requests concurrently so operations touching many items finish much faster than sequential calls.
  • Command Aliasing - Organises commands as a tree of subcommands and options, with shorthand aliases for faster use.
  • CLI Pipe Integration - Produces plain text output and meaningful exit codes that flow into grep, cut, awk and xargs inside shell scripts.
  • Configuration Profiles - Stores credentials and settings for multiple accounts in one YAML file with an active profile and legacy fallback.
  • Account Profile Switching - Stores several account profiles in one file, lists them, switches the active profile and removes accounts no longer needed.
  • HTTP Event Streams - Holds a long-lived connection open and prints sampled or filtered posts continuously until stopped or a cap is reached.
  • Real-Time Message Streaming - Holds a persistent HTTP connection open to receive sampled or filtered posts live from searches, users, lists and timelines, with an optional event cap.
  • Social Post Searching - Fetches up to 3,200 recent posts through the REST API and filters each against a regular expression, reaching further back than standard search.
  • OAuth 1.0 Authenticators - Signs every API request with OAuth 1.0a or OAuth 2.0 credentials so the tool can act securely on a user's behalf.
  • Multi-Account Profiles - Stores several account profiles in one config file, lists them, switches the active one and removes accounts.
  • OAuth Authentication - Signs API requests with OAuth 1.0a or 2.0 credentials so users can securely act on their account.
  • Outgoing Request Signing - Signs every outgoing API call with OAuth 1.0a or 2.0 credentials so the tool acts on a user's behalf.
  • Terminal Output Formatting - Formats results as column-aligned text so terminal output stays readable and works well with other command-line tools.
  • API Versioning - Calls both v1.1 and v2 API versions and falls back between them so commands keep working.
  • Fallback API Routers - Routes requests to the older or newer API endpoint and switches automatically when one is unavailable.
5,595 stars·400 forks·Ruby·MIT·1 view

Star history

Star history chart for sferik/x-cliStar history chart for sferik/x-cli

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

Frequently asked questions

What does sferik/x-cli do?

x-cli is a command-line client for Twitter (X) that lets you post, search, stream and manage accounts from the terminal. It is written in Ruby and built for scripting: results come out as column-aligned text or CSV, and commands return meaningful exit codes, for example when checking whether one account follows another, so they fit into shell pipelines alongside tools such as grep, awk and xargs.

What are the main features of sferik/x-cli?

The main features of sferik/x-cli are: Social Media Command-Line Clients, Twitter API Clients, Social Status Updates, Scriptable Command-Line Interfaces, Live Post Streams, Social Post Streaming, CSV Data Exports, Plain-Text Data Handlers.

Which projects share features with sferik/x-cli?

Projects with overlapping indexed features include: sferik/twitter — This project is a Ruby wrapper for the Twitter API, providing a programmatic interface to interact with the platform's… abraham/twitteroauth — twitteroauth is a PHP library and REST API wrapper used for authenticating and interacting with the Twitter API. It… ttezel/twit — Twit is a Node.js library and API client for interacting with Twitter. It provides a programmatic interface for… lepture/authlib — Authlib is a comprehensive Python framework for implementing OAuth 1.0, OAuth 2.0, and OpenID Connect clients and… spring-attic/spring-security-oauth — This project is an OAuth security framework for Java web applications. It provides a set of tools for adding… googleapis/google-api-php-client — The Google API PHP Client Library is a development kit for interacting with Google Cloud services and APIs. It…

Projects sharing features with X Cli

These projects share indexed features with X Cli. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • sferik/twittersferik avatar

    sferik/twitter

    4,577View on GitHub↗

    This project is a Ruby wrapper for the Twitter API, providing a programmatic interface to interact with the platform's REST and streaming endpoints. It serves as an API client for managing social content, users, and account activity. The library includes specialized tools for real-time data streaming, allowing the acquisition of live public posts, account events, and user activity. It differentiates itself with advanced media handling, such as chunked uploading for large files, and integrated traffic management to monitor rate limits and detect streaming stalls. Broadly, the project covers c

    Ruby
    View on GitHub↗4,577
  • ttezel/twitttezel avatar

    ttezel/twit

    4,283View on GitHub↗

    Twit is a Node.js library and API client for interacting with Twitter. It provides a programmatic interface for accessing both REST and Streaming API endpoints to integrate social media data into JavaScript applications. The library enables real-time monitoring of Twitter events through a persistent streaming connection and an event-driven architecture. It also supports account automation, allowing for the management of user profiles and the programmatic execution of account actions. The toolkit covers media management via chunked file uploads, identity management through token-based authent

    JavaScript
    View on GitHub↗4,283
  • abraham/twitteroauthabraham avatar

    abraham/twitteroauth

    4,297View on GitHub↗

    twitteroauth is a PHP library and REST API wrapper used for authenticating and interacting with the Twitter API. It functions as an OAuth 1.0a client that manages the secure handshake process to authorize user accounts and obtain access tokens. The library handles the three-legged authorization flow, including the generation of authorization URLs and the requesting of security tokens. It automates the calculation of cryptographic signatures for requests and manages token-based sessions to maintain authenticated state. The project provides capabilities for social media content management, suc

    PHP
    View on GitHub↗4,297
  • lepture/authliblepture avatar

    lepture/authlib

    5,346View on GitHub↗

    Authlib is a comprehensive Python framework for implementing OAuth 1.0, OAuth 2.0, and OpenID Connect clients and servers. It provides a complete toolkit for identity management, spanning the development of authorization servers, resource servers, and client-side integrations. The library distinguishes itself through a full implementation of the JOSE specifications, including JSON Web Tokens, Encryption, Signatures, and Keys. It features specialized capabilities for non-interactive authentication via service account assertion frameworks and a compliance-correction layer designed to handle ide

    Python
    View on GitHub↗5,346
Compare all 30 related projects→