Wordleshare

Created: 2022-03-24 Updated: 2022-10-03

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. (Which is a concept I keep thinking about: Utopian Software.)

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:

screenshot of wordleshare in action

Update: I now have an Emoji picker for comments and the previous day’s Wordle entries are shown below the current ones to make it an even more relaxing and fun "social" site.

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.