Skip to content

Discord webhook that notifies about GitLab project actions

License

Notifications You must be signed in to change notification settings

IdanKoblik/Gitlab-monitor

Repository files navigation

GitLab Monitor

GitLab Monitor is a Discord webhook that notifies about GitLab project actions. It listens for GitLab webhook events and forwards them to a specified Discord channel.

Features

  • Receives GitLab webhook events
  • Forwards notifications to Discord

Installation

Option 1: Clone and Run

  1. Clone the repository:

    git clone https://github.com/IdanKoblik/Gitlab-monitor
    cd gitlab-monitor
    
  2. Install dependencies:

    npm install
    
  3. Set up your config.json file (see Configuration section)

  4. Run the application:

     node .
    

Option 2: Docker

  1. Pull the Docker image:

    docker pull ghcr.io/idankoblik/gitlab-monitor:master
    
  2. Set up your config.json file (see Configuration section)

Configuration

Create a config.json file in the project root with the following structure:

{
  "port": 3000,
  "tokens": {
   "gitlab-token": [
      "discord-webhook1",
      "discord-webhook2",
   ]
  }
}

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License.

About

Discord webhook that notifies about GitLab project actions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages