Coder Social home page Coder Social logo

nirator78 / package-update-checker Goto Github PK

View Code? Open in Web Editor NEW
6.0 1.0 0.0 104 KB

A little application to check if package need update or not and send alert if update needed

License: MIT License

Dockerfile 1.13% TypeScript 97.55% JavaScript 1.32%

package-update-checker's Introduction

Package Update Checker (Npm, Composer, Yarn, Pip)

A little application to check if package need update or not and send alert if update needed

๐Ÿ’ช๐Ÿป Installation (Manual)

  1. Clone this repository
  2. Run npm install
  3. Copy src/config/config.example.json to src/config/config.json and fill the configuration
  4. Run npm start

๐Ÿณ Installation (Docker)

  1. Clone this repository
  2. Copy src/config/config.example.json to src/config/config.json and fill the configuration
  3. Run docker build -t package-update-checker .
  4. Run docker run package-update-checker

๐Ÿณ Installation (Docker Compose)

  1. Clone this repository
  2. Copy src/config/config.example.json to src/config/config.json and fill the configuration
  3. Run docker-compose up -d

Configuration

[
	{
		"name": "Test git public repository", // Name of the repository
		"type": "github", // Type of repository (github, gitlab, tortoisesvn, bitbucket)
		"url": "", // URL of the repository
		"description": "This is a test repository", // Description of the repository
		"private": false, // Is the repository private
		"auth": "", // Authentification for private repository
		"fileToCheck": [
			{
				"path": "package.json", // Path of the file to check
				"type": "npm", // Type of the file to check (npm, composer, yarn, pip)
				"ignorePackages": ["packageName"] // List of packages to ignore (Optional)
			}
		],
		"alerts": [
			{
				"type": "webhook", // Type of alert (webhook, email)
				"source": "slack", // Source of the alert (slack, discord, teams, custom, smtp)
				"url": "", // URL of the webhook
				"title": "Test git public repository", // Title of the alert
				"onlyIfUpdateNeeded": true // Send alert only if update needed
			}
		]
	}
]

Compatibility

Versionning System

  • Github (Public / Private Repository)
  • Gitlab (Public / Private Repository)
  • Tortoise SVN (Public / Private Repository)
  • Bitbucket (Public / Private Repository)

Alert System

  • Slack
  • Discord
  • Teams
  • Custom Webhooks
  • Email (SMTP)
  • PDF (only with manual installation or docker compose - only for one file to check)
  • JSON (only with manual installation or docker compose - only for one file to check)

Todo List

Motivation

  • It's my first open source project
  • I want to learn about open source and communauty tools
  • I already use this tool in my project in another unclean version ๐Ÿ˜‚

License

MIT

package-update-checker's People

Contributors

nirator78 avatar

Stargazers

 avatar Enzo Daval avatar Ivan avatar Nolan avatar Yarod avatar  avatar

Watchers

 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.