After tiring of jumping through ridiculous hoops to privately share Wordle results with family, I created a really simple Perl CGI application to do the job.
It’s ridiculously simple because it has absolutely no security. No logins, no authentication, no cares in the world. This is what software would be like in a utopia.
5Kb of pure functionality. No libraries, no package managers, no dependencies (well, except the ridiculously stable and ubiquitous Perl 5).
The application displays the current Wordle puzzle by finding the highest numbered entry and only displaying entries with that number.
Host your own copy for your friends and family! Here’s the repo: https://github.com/ratfactor/wordleshare
Here’s a screenshot:
The storage format couldn’t be simpler: entries are condensed onto one line with
; standing in for newline like so:
Adara: Wordle 278 4/6;;🟨🟩⬛⬛⬛;🟨🟩⬛🟨🟨...;Dang, finally broke that... Toad: Wordle 278 5/6;;🟨⬛⬛🟨⬛;⬛⬛⬛🟨🟨...;I live on a yellow planet...
A user could absolutely "hack" it and put in a bunch of ';;;;' for many newlines, but…why?
It’s all honor system: everyone has to enter a name, but it can be absolutely anything you want.
You could enter fifty fake entries. Anything goes!
After learning that the latest and greatest browser clipboard API requires a "secure environment" (sigh, bad actors are why we can’t just have simple things), I settled on a "copy" feature that just spawns in a textarea with the contents of an entry. It turns out that the flexibility of a textarea for selecting and copying parts of an entry just can’t be beat anyway. Sometimes the oldest and simplest methods are still the best.