Happy Valentine's Day Terminal Style Wish image ❤️ Impress your Partner ❤️
Free Online Valentine's Day Card Maker - Valentine' Day Greeting Image Generator with Name.
Linux Terminal Style valentine's day wishes - Built using PHP 💗
- PHP
- Bulma CSS
html2canvas
for convert HTML Content to imageImagick
for OG image Generation
- Clone or download this repo
git clone https://github.com/sanwebinfo/valentines-day
cd valentines-day
## Start local server
php -S localhost:6003
- Generate Terminal Style Greeting image
## Set Execute Permission
chmod a+x cli
## run this Below commands on terminal
php cli create
php cli greeting
or
./cli create
./cli greeting
- Enter your Partner name and get the Greeting Page URL
- you can also Create a Greeting image from webpage too
## Open URL in webpage
http://localhost:6003/
## Enter your Partner Name in Form and Click Button to Generate the Greeting image
http://localhost:6003/?name=partnername
- it supports English Letters, Numbers and Selected Symbols
- Done
- if you wanna an OG image then use it like this
http://localhost:6003/og/?title=partnername
- it require
php-imagick
andimagemagick
Packages
## install both packages
sudo apt install imagemagick
sudo apt-get install php-imagick
- nginx SEO Friendly URL
location / {
try_files $uri $uri/ =404 @rewriteurl;
#try_files $uri $uri/ /index.php?$args;
}
location @rewriteurl {
rewrite ^/(.*)$ /?name=$1;
}
https://example.com/?name=partnername
tohttps://example.com/partnername
- Deploy it on Vercel
https://example.vercel.app/?name=partnername
- you can also host it on your server - just upload the
index.php
file
- Love Calculator :
http://localhost:6003/calculator
- Love Calculator CLI :
php love yourname partnername
Terminal Concept - https://github.com/fobabs/ubuntu-terminal
MIT