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.
- Receives GitLab webhook events
- Forwards notifications to Discord
-
Clone the repository:
git clone https://github.com/IdanKoblik/Gitlab-monitor cd gitlab-monitor
-
Install dependencies:
npm install
-
Set up your
config.json
file (see Configuration section) -
Run the application:
node .
-
Pull the Docker image:
docker pull ghcr.io/idankoblik/gitlab-monitor:master
-
Set up your
config.json
file (see Configuration section)
Create a config.json
file in the project root with the following structure:
{
"port": 3000,
"tokens": {
"gitlab-token": [
"discord-webhook1",
"discord-webhook2",
]
}
}
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License.