HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
sferik
x-cli
Ruby2012–2022
sferik / x-cli

x-cli

A command-line power tool for Twitter.

13Distinct people
14Mentions
0Explicit recommenders
5.6KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

A command-line power tool for Twitter.

GitHub

Where it is used

No documented product use was verified in the last source check.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 12:54:37 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year14 dated mentions

Observed mentions: 2012-10-03 19:38:27 UTC to 2022-03-12 16:54:38 UTC.

0123452012-01-01 00:00:00 UTC to 2013-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments20122013-01-01 00:00:00 UTC to 2014-01-01 00:00:00 UTC (exclusive): 4 mentions; 0 submissions, 4 comments2014-01-01 00:00:00 UTC to 2015-01-01 00:00:00 UTC (exclusive): 5 mentions; 1 submissions, 4 comments2015-01-01 00:00:00 UTC to 2016-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2016-01-01 00:00:00 UTC to 2017-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2017-01-01 00:00:00 UTC to 2018-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments20172018-01-01 00:00:00 UTC to 2019-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2019-01-01 00:00:00 UTC to 2020-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2020-01-01 00:00:00 UTC to 2021-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2022

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20122012-01-01 00:00:00 UTC2013-01-01 00:00:00 UTC101
20132013-01-01 00:00:00 UTC2014-01-01 00:00:00 UTC404
20142014-01-01 00:00:00 UTC2015-01-01 00:00:00 UTC514
20152015-01-01 00:00:00 UTC2016-01-01 00:00:00 UTC101
20162016-01-01 00:00:00 UTC2017-01-01 00:00:00 UTC000
20172017-01-01 00:00:00 UTC2018-01-01 00:00:00 UTC000
20182018-01-01 00:00:00 UTC2019-01-01 00:00:00 UTC202
20192019-01-01 00:00:00 UTC2020-01-01 00:00:00 UTC000
20202020-01-01 00:00:00 UTC2021-01-01 00:00:00 UTC000
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC000
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC101

What Hacker News says

14 sources
Assuming Twitter mutuals means "users I follow and who follow me back", I'd like to recommend the great `t` gem, a Ruby CLI that even though it's a bit dated, is still one of the easiest tools to setup and use on a regular basis: https://github.com/sferik/t Gathering mutuals in CSV format (making it easy to sort by number of followers, tweets, location, etc) is as easy as: $ t friends --csv > my-twitter-mutuals.csv It's been awhile since I've looked at the source code, but the library does a good job of using the most efficient/least-restrictive calls. I have about 6,000 mutuals out of all my followers and folllowings and the `t` tool takes about 10 seconds to do all the calls needed.
In Find and list all your Twitter mutuals
Twitter (and their API) is horribly broken and inconsistent. There is twint [0], which bypasses the API and just scrapes their website to circumvent API limitations. The wrong number of favorites could be cached and it will go a way after a day or two, or it might be favorites on Tweets you can't see (because you're blocked, or the account is private, or the Tweet/account has been deleted). As __bee said in another comment, you can request your Tweet archive and get the Tweet IDs from the CSV (I've seen a handful of Tweets of mine that were not in the CSV, but those are very rare). At least for deleting Tweets, there is no rate limit. Twitter also won't show your own Retweets when the original Tweet is no longer visible to you (although they might be included in the CSV) and made it impossible to interact with those. It used to be possibl
Read the rest
e to delete Retweets if you somehow got its ID, but I think this has been disabled as well. If you want to play around with the API but don't want to register your phone number and an application at Twitter, you can use tools such as the "t" cli [1] or the "twython" library [2] with any of these publicly known API keys [3]. 0: https://github.com/haccer/twint 1: https://github.com/sferik/t/ 2: https://github.com/ryanmcgrath/twython 3: https://gist.github.com/sokcuri/42fba0b455a7b7b8ab772ba34426...
In Adventures in Deleting Tweets
The problem with this funding model is that it encourages fluff pull requests, such as this one: https://github.com/sferik/t/pull/138/files. If there was no financial incentive, I would probably merge it but now I'm questioning the motivations of the committer. If I merge this, it means there will be less money for someone else, who makes a more significant contribution in the future. Personally, I prefer Gittip’s model to incentivize open-source contributions, if only because it doesn’t create this kind of noise for project maintainers.
In Earn $4 in bitcoins for any commit to sferik/t, a command-line Twitter tool

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.