Skip to content

Happy Valentine's Day Terminal Style Wish image ❤️ Impress your Partner ❤️ - Built using PHP 💗

License

Notifications You must be signed in to change notification settings

sanwebinfo/valentines-day

Repository files navigation

Valentine's Day 💜

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 💗

valentine's day wishes

Built using

  • PHP
  • Bulma CSS
  • html2canvas for convert HTML Content to image
  • Imagick for OG image Generation

usage

  • 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

OG image

  • if you wanna an OG image then use it like this
http://localhost:6003/og/?title=partnername
  • it require php-imagick and imagemagick Packages
## install both packages
sudo apt install imagemagick
sudo apt-get install php-imagick

love-sanweb-info-GId1GAhbzR

SEO Friendly URL

  • 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 to https://example.com/partnername

Free Deploy 😍

  • Deploy it on Vercel

Deploy with Vercel

https://example.vercel.app/?name=partnername
  • you can also host it on your server - just upload the index.php file

Other tools

  • Love Calculator : http://localhost:6003/calculator
  • Love Calculator CLI : php love yourname partnername

Credits

Terminal Concept - https://github.com/fobabs/ubuntu-terminal

LICENESE

MIT