Giter Club home page Giter Club logo

serverless-freshping-telegram's Introduction

serverless-freshping-telegram

GitHub

Serverless solution for freshping-telegram integration. Creates a telegram bot that notifies a group when the server status changes (Available/ Not Responding) that is hosted with AWS Lambda.

Alt desc

Telegram Bot Integration Guide

  1. Add @esm_wonderful_bot to the telegram group
  2. Add @getidsbot to the telegram group to get group chat ID
  3. Go to Freshping Dashboard > Setting > Integrations > Webhook > Create Integration
  4. Paste https://irrb74more.execute-api.ap-southeast-1.amazonaws.com/dev/{group_chat_id} into "Trigger the webhook" field
  5. Save and click on "Test" to see if the integration works

Example: If group chat ID is -100123456, paste https://irrb74more.execute-api.ap-southeast-1.amazonaws.com/dev/-100123456


(Optional) Custom Webhook Deployment

  1. Ensure you have a Freshping account
  2. Create a Telegram Bot with @BotFather and save the bot token
  3. Ensure AWS credentials are set up on your computer for Serverless to work
  4. Clone this repo: git clone https://github.com/yarkhinephyo/serverless-freshping-telegram.git
  5. Install Dependencies: npm ci
  6. Deploy the webhook and receive a URL: sls deploy --botToken <Telegram bot token>
  7. Refer to the integration guide above

serverless-freshping-telegram's People

Contributors

yarkhinephyo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

serverless-freshping-telegram's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.