Wordle (and Absurdle) Solver
A bookmarklet and Twitter bot that automatically solves the daily Wordle puzzle.
It also solves a fun variant: Absurdle.
Every morning, this Twitter bot uses this script to solve the daily Wordle puzzle and posts its results.
The tweet will include a link to a screenshot of the full solution.
Source for the Twitter bot can be seen in
twitter-bot/index.js. The bot is run inside a GitLab
scheduled pipeline (see
In your browser of choice, create a new toolbar bookmark. Name the bookmark something like "Solve Wordle", and paste the following code into the "URL" field:
Then, navigate to Wordle or Absurdle and click your new "Solve Wordle" bookmarklet!
This script is published to NPM as
and is available as a downloadable script here:
Clone this repository, and in the root directory, run:
yarn tsc --watch
build/index.js will be automatically updated every time
build/index.js, copy its contents and paste into the developer tools of
a Wordle or Absurdal page.
Releasing a new version
To release a new version of the bookmarklet:
yarn tscto ensure
build/index.jsis up to date
yarn version --[patch|minor|major]
git push --tags
- Create a new release on
GitLab using the tag
After running the steps in the Bookmarklet section above, navigate to the
twitter-bot directory and run:
yarn solve --date=2021-10-10 --headful --skip-tweet --skip-image-upload --use-local-script
See the comments in
twitter-bot/index.js for an
explanation of each command line parameter.
The API keys/secrets for both Twitter and Imgur are provided through environment variables.