An open API service indexing awesome lists of open source software.

https://github.com/sanwebinfo/valentines-day

Happy Valentine's Day Terminal Style Wish image ❤️ Impress your Partner ❤️ - Built using PHP 💗
https://github.com/sanwebinfo/valentines-day

cli festival greetings kavithai lovers og-image php php-cli tamil valentine valentine-day valentine-gift valentines valentines-day wishes wishes-images

Last synced: about 1 month ago
JSON representation

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

Awesome Lists containing this project

README

          

# 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](https://raw.githubusercontent.com/sanwebinfo/valentines-day/main/valentines-day.jpg)

## Built using

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

## usage

- Clone or download this repo

```sh
git clone https://github.com/sanwebinfo/valentines-day
cd valentines-day

## Start local server
php -S localhost:6003
```

- Generate Terminal Style Greeting image

```sh

## 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

```sh
## 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

```sh
http://localhost:6003/og/?title=partnername
```

- it require `php-imagick` and `imagemagick` Packages

```sh

## install both packages
sudo apt install imagemagick
sudo apt-get install php-imagick
```

![love-sanweb-info-GId1GAhbzR](https://github.com/sanwebinfo/valentines-day/assets/10300271/d58daa21-0285-4772-a130-7e4a73bf9548)

## SEO Friendly URL

- **nginx** SEO Friendly URL

```sh
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://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fsanwebinfo%2Fvalentines-day)

```sh
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 -

## LICENESE

MIT