Skip to content

BacchusJackson/shout

Repository files navigation

Shout

Shout Splash Logo

Description

Shout is a versatile command-line utility designed to enhance CI/CD pipelines with efficient logging and alerting capabilities. It allows developers and DevOps professionals to log information, warnings, and errors directly from their pipelines and send customizable alerts to specified webhook URLs. With support for structured logging and color-coded outputs, Shout makes monitoring and debugging CI/CD processes more intuitive and accessible.

Features

  • Logging: Easily log messages, warnings, and errors with color-coded outputs to distinguish between log levels.
  • Webhook Alerts: Send customizable alerts to any webhook URL, allowing integration with various monitoring and messaging platforms.

Installation

To install Shout, clone the repository and build the application using Go:

git clone https://github.com/bacchusjackson/shout
cd shout
go build -o shout .

Ensure you have Go installed on your system to compile the application.

Usage

Shout is designed with simplicity in mind, providing a straightforward CLI interface for all its features. Here are some examples of how to use Shout:

demo

Logging Information, Warnings, and Errors

Log an information message:

./shout log 'Deployment started'

Log a warning:

./shout warn 'Deployment taking longer than expected'

Log an error:

./shout error 'Deployment failed'

Sending Alerts

Send an alert to a webhook URL:

./shout alert [WEBHOOK URL] key1=value1 key2=value2

Displaying Version Information

To display the version and build information of Shout:

./shout version

Contributing

We welcome contributions! If you'd like to contribute, please fork the repository and use a feature branch. Pull requests are warmly welcome.

License

Apache 2.0 Open Source

About

A notification and logging utility for pipelines

Resources

License

Stars

Watchers

Forks

Packages

No packages published