Solve the daily wordle
by simply looking at twitter.
Given enough wordle
win tweets we can recover what the word of the day is. Each line in the pattern lets us refine what words the answer could be.
Wordle 213 5/6
β¬β¬β¬π¨β¬
β¬π©β¬β¬π¨
β¬π©π©β¬β¬
π©π©π©β¬β¬
π©π©π©π©π©
Day 213: 15 candidates left
Using 892 tweets, and 80 unique lines
Here is an example run of twitter-wordle
on day 215 (20 Jan 2022) which took around 40 seconds to gather enough tweets (74) and unique lines (61) to narrow in on only 1 candidate.
It should be obvious but don't run this if you don't want spoilers. Actually, don't even look at words.py
as it contains an explicit list of past and future solutions.
This project depends on python-twitter-v2
which can be installed manually with pip
or one of the many other python package managers. Alternatively there is a shell.nix
which provides all the needed dependencies.
In order to use the Twitter API, you will need to sign up and then set the BEARER_TOKEN
environment variable.
nix-shell
export BEARER_TOKEN=...
python twitter_wordle.py
- Some days it can take quite a while to gather enough unique lines to find a solution.
- This method assumes no adversarial tweets are in the feed. If you end up with 0 candidates someone could be messing with you, just restart the search.