Create a private Twitter list out of someone else's feed so you can read it.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
|# Create a private Twitter list out of someone else's feed so you can read it.|
|# The name "ditter" is like "ditto" plus "Twitter" ha ha get it?|
|# Requires Python, GNU coreutils, and https://github.com/sferik/t|
|# $ chmod 777 ditter.sh && mv ditter.sh /usr/local/bin/|
|# $ ditter <username> [<list_name>]|
|MY_USERNAME="$(t whoami | grep '^Screen name' | grep -o '[^@]*$')"|
|t list create --private "$LIST_NAME"|
|# I aliased GNU split to "gsplit" on my Mac. You may need to change this.|
|t followings "$THEIR_USERNAME" \|
|| gsplit -l 100 --filter="xargs t list add \"$LIST_NAME\""|
|python -mwebbrowser "https://twitter.com/$MY_USERNAME/lists/$LIST_NAME"|
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
See https://rileyjshaw.com/blog/all-of-which-are-american-dreams for context and instructions.