one-page app that turns wordle shares into standard file format used in the Conway's Game of Life community
Go to file
peteyboy 8fe95c88b6 -Added regexs for High Contrast
-Fixed regext for black & white text squares (so it actually works out of Discord, _ not -)

-Updated html template, fixing textareas so 2nd one didn't get squished for unknown reason.

-Updated text in Template, still too wordy!

-Fixed RLE to end on ! instead of $ which is why the next item wasn't working

-Added a [[..]] section to end of generated RLE file to set generations per second, zoom, and colors to
custom values to generally be better defaults.
2022-02-16 08:35:53 +00:00
.gitignore Initial commit 2022-02-10 07:13:51 +00:00
LICENSE Initial commit 2022-02-10 07:13:51 +00:00
README.md Updated README to show the LiveViewer plugin dependency. 2022-02-14 18:58:35 +00:00
wordle-life.cgi -Added regexs for High Contrast 2022-02-16 08:35:53 +00:00

wordle-life

one-page app that turns wordle shares into standard file format used in the Conway's Game of Life community

Dependencies

This app is not at all packaged. You'll have to make sure all the perl modules you need are installed. If you are on a community unix server with just user rights (like, say SDF), you may need to ask an admin to install for you, or alternately, you can make a personal perl library in your user space.

Here's what I used to install the perl module I needed with cpanm. It's just:

curl http://cpanmin.us | perl - -l ~/perl5 App::cpanminus local::lib
eval `perl -I ~/perl5/lib/perl5 -Mlocal::lib`
echo 'eval `perl -I ~/perl5/lib/perl5 -Mlocal::lib`' >> ~/.profile
echo 'export MANPATH=$HOME/perl5/man:$MANPATH' >> ~/.profile

then for each package, you can run cpanminus:

$>cpanm CGI::Tiny
...
$>cpanm Mojo::Template
...
$>cpnam Mojo::Loader
...

Also, the Life Viewer is a super-cool javascript plugin app from the people at Conwaylife.com that is expected to be in the same directory as the CGI file. It is available with instructions here

Next steps will be to inject some better defaults into the RLE that the plugin recognizes so users don't have to set Generations Per Second every time.