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 💗
- Host: GitHub
- URL: https://github.com/sanwebinfo/valentines-day
- Owner: sanwebinfo
- License: mit
- Created: 2024-02-03T14:17:19.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-13T13:27:52.000Z (over 2 years ago)
- Last Synced: 2025-06-10T05:44:33.754Z (12 months ago)
- Topics: cli, festival, greetings, kavithai, lovers, og-image, php, php-cli, tamil, valentine, valentine-day, valentine-gift, valentines, valentines-day, wishes, wishes-images
- Language: PHP
- Homepage: https://love.sanweb.info
- Size: 304 KB
- Stars: 1
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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 💗

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

## 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
[](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