Socket
Socket
Sign inDemoInstall

aws-informer

Package Overview
Dependencies
3
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    aws-informer

this dms you on telegram that a script running on your massive aws server has completed running.


Version published
Weekly downloads
0
Maintainers
1
Created
Weekly downloads
 

Readme

Source

alt

aws informer

this dms you on telegram that a script running on your massive aws server has completed running.

how does it work

Just add "informer" before the your command that takes lot of time to run.

$ informer cargo run --release

Once the command finishes running, the bot will send a message to your telegram.

setup instructions

  1. Install this globally
npm i -g aws-informer
  1. Make sure it is in the path
informer --version
  1. Setup telegram bot: https://telegram.me/BotFather and get the TELEGRAM_BOT_TOKEN.
  2. Get your chat id, you can get it from the APIs. One easy way is: https://telegram.me/get_id_bot
  3. Add your .env file
vim ~/.aws-informer.env

TELEGRAM_BOT_TOKEN=214554873:BAFaRuRwRyRRX-ncRSRS4q8QRBpGRnpRBRg # this is example token of your bot
TELEGRAM_CHAT_ID=834835405 # this is your chat id (unique to your telegram account)
  1. Try informer --test. It should send you a test message.

FAQs

Last updated on 19 Oct 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc