{"id":15989184,"url":"https://github.com/peter279k/emask-notifier","last_synced_at":"2026-04-26T23:31:41.752Z","repository":{"id":53574781,"uuid":"265570314","full_name":"peter279k/emask-notifier","owner":"peter279k","description":"The e-mask notifier for improve https://emask.taiwan.gov.tw/msk/index.jsp feature","archived":false,"fork":false,"pushed_at":"2021-03-23T17:44:03.000Z","size":35,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-04T22:27:34.689Z","etag":null,"topics":["bash","bash-script","emask","nexmo","nexmo-api"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/peter279k.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-05-20T13:14:41.000Z","updated_at":"2021-03-23T17:44:05.000Z","dependencies_parsed_at":"2022-08-22T13:00:49.208Z","dependency_job_id":null,"html_url":"https://github.com/peter279k/emask-notifier","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/peter279k/emask-notifier","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peter279k%2Femask-notifier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peter279k%2Femask-notifier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peter279k%2Femask-notifier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peter279k%2Femask-notifier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/peter279k","download_url":"https://codeload.github.com/peter279k/emask-notifier/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peter279k%2Femask-notifier/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32317163,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T23:26:28.701Z","status":"ssl_error","status_checked_at":"2026-04-26T23:26:25.802Z","response_time":129,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bash","bash-script","emask","nexmo","nexmo-api"],"created_at":"2024-10-08T04:40:45.502Z","updated_at":"2026-04-26T23:31:41.736Z","avatar_url":"https://github.com/peter279k.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# emask-notifier\n\n## Introduction\n\nUsing the Nexmo API to make SMS message with specific phone number and user.\n\n## Emask Notifier Installation (Deprecated)\n\n- Set up a Nexmo account on [Nexmo developer site](https://dashboard.nexmo.com/)\n- Creating `phone.csv` and locate this CSV file is with `emask-notifier.sh` on same directory.\n\nAnd the format is as follows:\n```\nuser_name,user_phone\n```\n- Set `api_key` as a system environment variable with `echo 'export api_key=\"{your_api_key}\"' | sudo tee -a /etc/environment` on `/etc/environment` file\n- Set `api_secret` as a system environment variable with `echo 'export api_secret=\"{your_api_secret}\"' | sudo tee -a /etc/environment` on `/etc/environment` file\n- Using `cd /path/to/emask-notifier/ \u0026\u0026 ./emask-notifier.sh` as a Cronjob to let this Bash script do work automatically.\n- Done. Happy to do notification for your friends :)!\n\n## Emask Notifier Uninstallation (Deprecated)\n\n- Remove `api_key` system environment variable on `/etc/environment` file\n- Remove `api_secret` system environment variable on `/etc/environment` file\n- Remove this Cronjob work.\n\n## Emask Notifier for notifier.php Installation\n\n- Checking the `supervisor`, `curl` and `cron` commands have been available on deployed operating system.\n- `PHP 7.4` has been installed on Ubuntu operating system.\n- Download `composer.phar` with `curl -sS https://getcomposer.org/installer | php7.4` command.\n- Running `php composer.phar update -n` command.\n- Creating the `.env` to setup the `VONAGE_API_KEY`, `VONAGE_API_SECRET`, `SENDER_EMAIL`, `RECIPIENT_EMAIL`, `MJ_APIKEY_PUBLIC` and `MJ_APIKEY_PRIVATE` variables.\n- Creating the `phone.csv` to setup the user phone number lists.\n- Running the `notifier_php_builder.sh` script to setup all of above works.\n\n## Emask Notifier for notifier.php Uninstallation\n\n- We assume that this uninstallation work is running with non-root user.\n- Stopping notifier worker with `sudo rm /etc/supervisor/conf.d/notifier-php.conf`\n- Restarting supervisor service with `sudo systemctl restart supervisor`\n- Removing this repository with `rm -rf /path/to/emask-notifier`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeter279k%2Femask-notifier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpeter279k%2Femask-notifier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeter279k%2Femask-notifier/lists"}