Skip to content

Steemhunt/ssl-checker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SSL Checker

Monitors SSL certificates, URL availability, and wallet balances. Sends alerts to Discord.

Structure

checks/
  ssl.js       - SSL certificate expiration check
  url.js       - URL availability check (status + response size)
  wallet.js    - ERC20/ETH wallet balance check (Base chain)
lib/
  config.js    - Domains, wallets, RPC endpoints
  notify.js    - Discord notification + helpers
deploy/
  deploy.sh    - Deploy to newtown server

cron-daily.js  - SSL + wallet (run daily)
cron-hourly.js - URL + wallet (run hourly)

Setup

cp .env.example .env   # add DISCORD_WEBHOOK_URL
npm install

Run locally

npm run daily
npm run hourly

Deploy

npm run deploy

Clones/pulls repo on newtown:~/ssl-checker, installs deps, copies .env, and sets up cron jobs:

  • Daily (11:00 UTC): cron-daily.js - SSL certs + wallet balances
  • Hourly: cron-hourly.js - URL availability + wallet balances

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors