Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shaneafsar/wordlescorer
A bot that scores wordles across different social sites.
https://github.com/shaneafsar/wordlescorer
bluesky bot mastodon twitter
Last synced: about 1 month ago
JSON representation
A bot that scores wordles across different social sites.
- Host: GitHub
- URL: https://github.com/shaneafsar/wordlescorer
- Owner: shaneafsar
- Created: 2022-01-29T19:00:03.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-11-05T19:30:18.000Z (2 months ago)
- Last Synced: 2024-11-05T19:37:07.010Z (2 months ago)
- Topics: bluesky, bot, mastodon, twitter
- Language: JavaScript
- Homepage: https://scoremywordle.shaneafsar.repl.co
- Size: 294 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# wordlescorer
## Intro
This node script runs and watches a specific bot account and replies to anyone who asks with a score of their wordle output. The more characters that are solved earlier in the puzzle, the more points you get!The bot currently runs on [Mastodon](https://botsin.space/@scoremywordle) and [Bluesky](https://bsky.app/profile/scoremywordle.bsky.social). RIP [Twitter](https://twitter.com/ScoreMyWordle)
### Features
* At-mention [@ScoreMyWordle](https://twitter.com/ScoreMyWordle) in your tweet with a Wordle output (or in a reply), and it'll tweet back a response with a score. (Note: limited support in Communities, you will be quote-tweeted).
* Supports reading the default square emoji wordle output (including the high contrast version of the emojis)
* Supports reading wa11y.co alt text on wordle images if there's no default wordle square emoji output
* Tweets out the top Wordler of the day ranked by score, row solved, then tweet time.
* Tweets out top global stats for the day using the two most popular Wordle numbers.## Future ideas
### Features
* Improve parsing acessibility text on images that leveraged wa11y.co (any others parsers out there?).
* Provide a score or unique message for interesting pattern results.
* Static website to paste results without needing to tweet.
* More & varied compliments! (Perhaps via OpenAI?)### Infra
* Refactor DBs into typescript
* Pull out the scoring mechanism so that it can be used independently (e.g. for a static website, bots on other services)## Special thanks
* https://www.powerlanguage.co.uk/wordle/ | [@powerlanguish](https://twitter.com/powerlanguish) - for creating wordle!
* https://wa11y.co/ | [@antagonistapp](https://twitter.com/antagonistapp) - for creating an accessible alt-text version of the game's output
* [@ishabazz](https://twitter.com/ishabazz) & many others - for posting wordle images with alt text & slight variations I could test with.
* https://developer.twitter.com/ - for Twitter's API access
* https://github.com/neet/masto.js - for an excellent Mastodon JS client
* https://www.linode.com/docs/guides/nodejs-twitter-bot/ - for providing the basis for setting up this node script