npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

ssl-expiry-reminder

v0.2.16

Published

SSL Expiry Reminder - Get Notification remainder on Telegram and Gotify

Downloads

66

Readme

SSL Expiry Reminder 🔔

Github Workflow

SSL Expiry Reminder and SSL Status Checker - Get SSL Expiry Notification reminder on Telegram and Gotify.

Gotify

SSL Expiry Reminder Gotify

Telegram

SSL Expiry Reminder Telegram

If you Like My Work then Buy a Coffee for me 😄

Buy Me A Coffee

⚙ Requirements

🔧 Installation

  • Clone this Repo via Git
git clone https://github.com/mskian/ssl-expiry-reminder.git
cd ssl-expiry-reminder
npm install
  • Used as CLI
npm link

(OR)

  • Install via npm
npm install -g ssl-expiry-reminder
$ checkssl -h
Usage: check [options]

Options:
  -V, --version                                      output the version number
  -d, --domain <domain name>                         Add domain without http/https (This Command line Argument for Automation Task)
  -s, --status <domain name>                         Add domain without http/https
  -g, --gotify <GOTIFY API URL>                      Gotify URL with Application Key
  -t, --telegram <Telegram API URL>                  Telegram API URL with your Bot Key
  -c, --chatid <Telegram Chat or Channel ID>         Telegram Channel ID or Chat ID
  -r, --remainder <Enter the Day Remaining 1 to 10>  Enter the Remaining Day to Get SSL Expiry Remainder Alert
  -h, --help                                         output usage information
  • Next Store your Telegram & Gotify API by using this Below Command lines
$ Register Gotify API with URL
checkssl --gotify https://push.example.com/message?token=XXXXXXXXXXXXXXX
$ Register Telegram API URL and Botkey
checkssl --telegram https://api.telegram.org/bot<YOUR BOT API KEY>/sendMessage
$ Register Telegram your Chat id or Channel id
checkssl --chatid 123456789
  • Testing - Execute the Script
checkssl --status example.com
  • Test via npx
npx ssl-expiry-reminder -h

🕹 Usage

For Automation it having Seperate Command Line Argumet it will Send the Push Notification Alert via Telegram & Gotify

checkssl -d example.com
  • Install the Bash Script for Automated Task
  • Download the bash script on Any Location in your Server
wget https://raw.githubusercontent.com/mskian/ssl-expiry-reminder/master/sslcheck.sh
  • Just Run the Bash file sslcheck.sh
chmod +x sslcheck.sh
./sslcheck.sh

🛠 Customization

  • Change SSL Remaining Day (Default Remaining day is 5)
  • Add your Own 👇 Example
checkssl --remainder 2

📦 API Storage

Linux - ~/.config in Home
Windows - AppData Folder c:\Users\username\AppData\Roaming\ssl-expiry-reminder-nodejs
macOS - ~/Library/Application Support

🖥 Supported OS

  • I am using Linux also I am using Linux Cloud VPS Server (Ubuntu) I am testing it on both LTS Version on Ubuntu it's Working Well

  • Locally you can use this on your Desktop/laptop with Linux Distro/Windows/macOS

  • I Locally tested it on tested on Windows 10 it's Working well but Some users facing an issues like checkssl is not recongized as an internal or external command, operable program or batch file if you are facing this issue on your Windows System Just uninstall & reinstall the Node.js LTS version & try again

📖 Library

SSL Checker NPM Module - https://github.com/mskian/ssl-checker-node-api

🏗 Contributions

Your PR's are Always welcome 🦄

🐛 Bug Report

If you find any issues create an issue Ticket Here ✉ https://github.com/mskian/ssl-expiry-reminder/issues

☑ License

MIT