Giter Site home page Giter Site logo

yazan98 / zilon Goto Github PK

View Code? Open in Web Editor NEW
1.0 0.0 0.0 563 KB

Scheduled Task to Check Github Libraries Releases and Send Messages with Libraries Update

License: Apache License 2.0

JavaScript 1.65% TypeScript 98.35%
nestjs nodejs node-js slack-bot slackbot github github-api automated automation automated-tasks

zilon's Introduction

Zilon

Original Article

Medium

Dev.to

Description

Zilon is a NodeJs Project To Run Scheduled Task Checks on Github Libraries Releases This Project Will Check on All Cached Github Libraries inside Json File and Loop on All of them To get Latest Version of each library and Compare it with Cached Version Then Will Send Slack message with Latest Updates of the Library

The Problem

The Problem I faced when I use The Libraries that I should check or Follow Someone on Twitter, Reddit or medium to get notifications on the Libraries that I'm using inside my Project, but if I didn't open any application from social media apps I will never know if any library pushed new Version on their Repository or maybe I know about this updates after 2 weeks and for this reason I need to get Notifications in the same day of the Release because some libraries are still pushing major release changes and it's really a big problem if we discover this Updates after 2 Weeks from the Release date

Project Components

  1. NodeJs (NestJs)
  2. Json Files
  3. Github Api V3
  4. Google Maven Repository (Androidx Libraries)
  5. Slack Api (Send Messages)

Project Structure

This Project Built based on Json Files Structure The Json Files will Store the Github Libraries, Versions and Each Day Will Start Scheduled Task to check all of them and return the updated tag, also this Project used Github Api V3 to Loop on all Libraries

Files Description

Name Description
config.json This File Will Store All Slack, Github Tokens and Keys
github-libraries.json This File Will Store All Github Libraries to track each day
github-libraries-cache.json This File Will Store All Github Libraries Versions to Compare them with Latest Release
google-libraries.json This File Will Store All Androidx Libraries Information
google-libraries-cache.json This File Will Cache All Androidx Libraries and Compare them with Latest Release
postman_collection.json This PostMan Collection has Androidx Requests, This Project Test Requests
default Folder This Folder has Default Libraries To Check each Day

Usage

  1. Clone the project
  2. Fill config.json File with The Required Information
  3. Run npm install
  4. Run npm start:dev
The Required Information inside Config.json File
1. Github Application ClientId
2. Github Application Secrete Key
3. Slack App Access Token
4. Slack App Signing Key
5. Channel Id Start With # like #general

Repositories

  1. Github Libraries
  2. Androidx Libraries

Result

Screenshot 2021-10-20 173745

zilon's People

Contributors

yazan98 avatar

Stargazers

 avatar

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.