CLI to check website HTTP status and send notifications to Self-hosted ntfy push server.
- clone or download this repo
- install the packages
pnpm install- create
.envfile and add your ntfy URL (Important Step)
Example
NTFY_BASE_URL=https://ntfy.sh- you can also include the ENV Variable like this
NTFY_BASE_URL=https://ntfy.sh pnpm dev -u "https://example.com" -t "status"- Test CLI
Example
pnpm dev -u "https://example.com" -t "status"- build CLI
## Build CLI
pnpm build
## Test the Production CLI
pnpm start -u "https://example.com" -t "status"
- Link and run the CLI Locally
pnpm link --global- Run the CLI
Example
website -u "https://example.com" -t "status"- unlink CLI
pnpm uninstall --global website-statusFor Notification Updates you can try htfy.sh self-hosted push notification service while setup replace ntfy.sh URL with your push server URL in .env File.
I mainly built this CLI for my tasker and termux automations.
MIT