Giter Club home page Giter Club logo

valentines-day's Introduction

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

valentines-day's People

Contributors

mskian avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.