simple blinkie generator in php. adds text to blinkies.
features:
- select blinkie style
- select font
- select text colour
you may also be interested in my piconaut/blinkies.cafe repo, which is a node.js blinkie maker / web server with a different set of features.
- i guess this depends where you're running/hosting?
- this should work out-of-the-box on Glitch -- just import the repo https://github.com/piconaut/blinkiegen. i currently have it running as a Glitch project.
- Debian/Ubuntu: in bash, at the repo's root directory, use
php -S localhost:80
to run on the standard HTTP port 80.
-
There are a few extra steps to add images in Glitch. If you're not using Glitch
-
in your Glitch project, click on "Assets" and upload your blank blinkie
.gif
. Then click "Copy URL". -
click "TERMINAL" at the bottom of the project page.
-
once the terminal loads, type
cd blank
to enter the~/blank
directory. -
in the
~/blank
directory, typewget
(with a space after) -
press Ctrl+Shift+V to paste the URL you copied in Step 2. The command line should look kinda like this, but with a different URL:
wget https://cdn.glitch.global/2c0d59b9-4345-48bb-aff6-858a6e656a20/blinkiesCafe-o4.gif?v=1650903842137
-
type
-O
(with a space both before and after) -
type a filename for your blank gif, like
example.gif
. So in total your command line should look like this, but with a different URL and filename:wget https://cdn.glitch.global/2c0d59b9-4345-48bb-aff6-858a6e656a20/blinkiesCafe-o4.gif?v=1650903842137 -O 04-mushroom.gif
press Enter.
-
in
index.php
, add an<option>
element to the style select dropdown,<select id="instyle" name="instyle">
. set itsvalue
to match the filename of the blank gif (without the.gif
extension).<option value="example">Your Style Name!</option>
-
save a blank blinkie
.gif
file to theblank/
directory.e.g.:
blank/example.gif
-
in
index.php
, add an<option>
element to the style select dropdown,<select id="instyle" name="instyle">
. set itsvalue
to match the filename of the blank gif (without the.gif
extension).e.g.:
<option value="example">Your Style Name!</option>
-
add a
.ttf
file to thefonts/
folder.e.g.:
fonts/example.ttf
-
in
index.php
, add an<option>
element to the font select dropdown,<select id="font" name="font">
. set itsvalue
to match the filename of the ttf file (without the.ttf
extension).e.g.:
<option value="example">New Font Name</option>