https://github.com/peter279k/daily-beauty-notifier
A simple Bash script is for fetching some beauty images and send newsletter via SendinBlue every day.
https://github.com/peter279k/daily-beauty-notifier
bash bash-script beauty beauty-picture email-notifier email-sender sendinblue
Last synced: 23 days ago
JSON representation
A simple Bash script is for fetching some beauty images and send newsletter via SendinBlue every day.
- Host: GitHub
- URL: https://github.com/peter279k/daily-beauty-notifier
- Owner: peter279k
- Created: 2020-05-22T14:12:16.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-06-16T16:22:25.000Z (almost 3 years ago)
- Last Synced: 2025-02-10T07:13:43.803Z (3 months ago)
- Topics: bash, bash-script, beauty, beauty-picture, email-notifier, email-sender, sendinblue
- Language: Shell
- Size: 19.5 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# daily-beauty-notifier
## Introduction
A simple Bash script is for fetching some beauty images and send newsletter via SendinBlue every day.
## Installation
- Clone this Git repository via `git clone https://github.com/peter279k/daily-beauty-notifier`
- Setting `sendinblue_api_key` as a environment variable.
- If the `html-minifier` command on current environment, running `html_minifier_installer.sh` Bash script.
- Create `mail_addresses.txt` and content formats are as follows:
```
[email protected]
[email protected]
......
```
- Create `mail_setting.csv` and the content formats are as follows:
```
"subject","正妹日報(today_date)"
"sender_name","Your Sender Name"
"sender_email","Your Sender E-mail address"
```
- Run `daily_beauty_notifier.sh your_contact_email_address` as a Cronjob!
- Done. Enjoy it!## Uninstallation
- Unset `sendinblue_api_key` environment variable
- Remove `daily-beauty-notifier` repository folder via `rm -rf daily-beauty-notifier/`
- Delete related `./daily_beauty_notifier.sh` Cronjob.
- Remove `$NVM_DIR` via `rm -rf ${NVM_DIR}` to remove nvm directory.
- Remove following lines on `${HOME}/.bashrc` file:
```
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
```
- It can also refer this [uninstallation guide](https://github.com/nvm-sh/nvm#uninstalling--removal).