# sferik/t

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/sferik-t).**

_How this analysis was created: the description and tags below were written by an AI model that read this project's README and public documentation pages; stars, license and language come straight from the GitHub API. The model does not read the source code._

5,568 stars · 404 forks · Ruby · MIT

## Links

- GitHub: https://github.com/sferik/t
- Homepage: https://sferik.github.io/t
- awesome-repositories: https://awesome-repositories.com/repository/sferik-t.md

## Description

t is a command-line Twitter client that wraps Twitter's REST and streaming APIs, enabling users to post tweets, manage accounts, and search Twitter directly from the terminal. It supports authenticating and switching between multiple Twitter profiles stored in a local configuration file, allowing commands to be executed under the active account.

The tool distinguishes itself through shell-integrated workflows, including tab completion for Zsh and Bash, and Unix-pipe-compatible output formatting that defaults to tab-separated columns for piping into standard utilities like grep and awk. It also provides CSV export via a flag for spreadsheet or database ingestion, and supports parallel API request batching to accelerate bulk operations such as mass unfollowing or deletion.

Additional capabilities include real-time tweet streaming through a persistent HTTP connection, deep tweet search with pagination up to 3,200 tweets and client-side regex filtering, and a follow relationship check that exits with a non-zero code if one user does not follow another. The project generates shell-completion scripts and formats output for seamless terminal automation.

## Tags

### Development Tools & Productivity

- [Social Media CLI Clients](https://awesome-repositories.com/f/development-tools-productivity/social-media-cli-clients.md) — Runs Twitter operations such as delete, list, set, and stream through a command-line interface. ([source](https://cdn.jsdelivr.net/gh/sferik/t@main/README.md))
- [Social Media CLI Automations](https://awesome-repositories.com/f/development-tools-productivity/cli-workflow-automations/social-media-cli-automations.md) — Running Twitter operations like posting, deleting, and searching from the command line without a browser.
- [Social Media API Wrappers](https://awesome-repositories.com/f/development-tools-productivity/command-line-wrappers/social-media-api-wrappers.md) — Wraps Twitter's REST and streaming APIs for bulk operations and real-time data from the terminal.
- [Parallel Request Executors](https://awesome-repositories.com/f/development-tools-productivity/api-request-executors/parallel-request-executors.md) — Fires multiple independent Twitter API requests concurrently using thread-level parallelism to accelerate bulk operations.
- [Command Piping](https://awesome-repositories.com/f/development-tools-productivity/command-piping.md) — Formats command output for seamless piping to standard Unix utilities like grep and awk. ([source](https://sferik.github.io/t))
- [CSV Output Formats](https://awesome-repositories.com/f/development-tools-productivity/json-output-formats/csv-output-formats.md) — Converts any command's output to CSV format using the --csv flag. ([source](https://sferik.github.io/t))
- [Tab-Separated Output Formats](https://awesome-repositories.com/f/development-tools-productivity/json-output-formats/csv-output-formats/tab-separated-output-formats.md) — Formats command output as tab-separated columns by default for piping into grep, awk, and other standard Unix tools.
- [Bulk Operations](https://awesome-repositories.com/f/development-tools-productivity/link-management/bulk-operations.md) — Fires multiple independent API requests concurrently to accelerate bulk operations like mass unfollowing. ([source](https://sferik.github.io/t))
- [Shell Completion Generators](https://awesome-repositories.com/f/development-tools-productivity/shell-completion-generators.md) — Generates Zsh and Bash completion scripts that expose all subcommands, flags, and dynamic arguments for tab-completion.
- [Shell Completion Integrations](https://awesome-repositories.com/f/development-tools-productivity/shell-completion-integrations.md) — Completes commands with tab completion and pipes output to Unix tools for scripting and automation.
- [Shell Completion Providers](https://awesome-repositories.com/f/development-tools-productivity/shell-completion-providers.md) — Provides tab completion for commands, subcommands, and flags in Zsh and Bash. ([source](https://sferik.github.io/t))
- [Shell Integration Tools](https://awesome-repositories.com/f/development-tools-productivity/shell-integration-tools.md) — Provides tab completion for Zsh and Bash and formats output for piping to Unix utilities.

### System Administration & Monitoring

- [Social Media CLI Clients](https://awesome-repositories.com/f/system-administration-monitoring/kafka-cluster-administration/cli-client-tools/social-media-cli-clients.md) — A command-line tool for posting tweets, managing accounts, and searching Twitter from the terminal.

### Business & Productivity Software

- [Tweet Sending](https://awesome-repositories.com/f/business-productivity-software/deferred-sending/tweet-sending.md) — Sends a new tweet to the authenticated account's timeline from the command line. ([source](https://cdn.jsdelivr.net/gh/sferik/t@main/README.md))

### Content Management & Publishing

- [Short Status Updates](https://awesome-repositories.com/f/content-management-publishing/short-status-updates.md) — Publishes a status update to the authenticated user's Twitter timeline from the command line. ([source](https://sferik.github.io/t))

### Networking & Communication

- [Account Context Switching](https://awesome-repositories.com/f/networking-communication/account-context-switching.md) — Switches between multiple Twitter profiles stored in a local config file and runs commands under the active account. ([source](https://cdn.jsdelivr.net/gh/sferik/t@main/README.md))
- [Account Authentication](https://awesome-repositories.com/f/networking-communication/communication-platforms-services/messaging-notification-systems/messaging-automation/account-authentication-gateways/account-authentication.md) — Authenticates and stores multiple Twitter accounts, switching between them with a subcommand. ([source](https://sferik.github.io/t))
- [Persistent HTTP Connections](https://awesome-repositories.com/f/networking-communication/persistent-http-connections.md) — Opens a long-lived HTTP connection to Twitter's streaming endpoint and processes incoming JSON events line-by-line in real time.

### Security & Cryptography

- [Multi-Account Session Management](https://awesome-repositories.com/f/security-cryptography/social-authentication-management/multi-account-session-management.md) — Stores and switches between multiple authenticated Twitter profiles in a local config file.
- [OAuth Token Swapping](https://awesome-repositories.com/f/security-cryptography/token-authentication/multi-account-token-handlers/oauth-token-swapping.md) — Stores per-account OAuth credentials in a local YAML file and swaps the active token at runtime to impersonate different users.

### Data & Databases

- [Paginated](https://awesome-repositories.com/f/data-databases/api-result-filters/paginated.md) — Iterates through paginated REST API responses up to the 3,200-tweet limit and applies client-side regex filtering.
- [Bulk Data Operations](https://awesome-repositories.com/f/data-databases/bulk-data-operations.md) — Executes multiple API requests in parallel to perform large-scale tasks like mass unfollowing or deletion.
- [CSV Exports](https://awesome-repositories.com/f/data-databases/data-serialization-formats/structured-data-exporters/analysis-result-exporters/query-result-exporters/csv-exports.md) — Converts any command's structured output into comma-separated values when the --csv flag is passed.
- [Social Media Streams](https://awesome-repositories.com/f/data-databases/real-time-data-streaming/real-time-text-streaming/social-media-streams.md) — Opens a persistent HTTP connection to receive real-time tweets matching a filter or timeline. ([source](https://cdn.jsdelivr.net/gh/sferik/t@main/README.md))
- [Social Media Stream Consumers](https://awesome-repositories.com/f/data-databases/real-time-data-streaming/social-media-stream-consumers.md) — Opens a persistent connection to receive and filter tweets in real time from the terminal.
- [Search and Indexing](https://awesome-repositories.com/f/data-databases/search-indexing-technologies/search-indexing/search-and-indexing.md) — Queries Twitter's search API and returns matching tweets in the terminal. ([source](https://cdn.jsdelivr.net/gh/sferik/t@main/README.md))
- [Social Media Searches](https://awesome-repositories.com/f/data-databases/search-indexing-technologies/search-indexing/search-and-indexing/social-media-searches.md) — Searches up to 3,200 tweets via the REST API and filters results with a regular expression. ([source](https://sferik.github.io/t))

### Part of an Awesome List

- [Third Party APIs](https://awesome-repositories.com/f/awesome-lists/devtools/third-party-apis.md) — Command-line power tool for Twitter.
