Skip to content

Instantly share code, notes, and snippets.

View ttam's full-sized avatar

Matt Bannon ttam

View GitHub Profile
@noevidenz
noevidenz / spoilerdle.js
Last active November 24, 2022 23:11
A quick script to add Discord spoiler tags around your Wordle result for the day.
/**
* Reads your Wordle result from stdin and logs to stdout.
*
* Usage on macOS: `alias spoilerdle="pbpaste | node ~/bin/spoilerdle.js | pbcopy"`
*/
const fs = require('fs')
const light = "⬜"
const dark = "⬛"