This project is a Kotlin-based HTTP server designed to handle GitHub Webhooks. It automatically forwards push
notifications from the main
branch of a GitHub repository to a specified Telegram chat, facilitating real-time
updates.
- Receives GitHub Webhook payloads.
- Filters and processes push events to the
main
branch. - Sends notifications to a designated Telegram chat.
- Kotlin
- Git
- Clone the repository:
git clone git@github.com:AH-dark/ahdark-blog-releaser.git
- Build the project:
./gradlew build
- Copy the
config.example.properties
file toconfig.properties
. - Set your Telegram Bot token and chat ID in the
config.properties
file.
To start the server, run:
./gradlew run
src/main/kotlin/com/ahdark/code
: Contains the main application and various components like controllers, entities, services, etc.src/main/resources
: Contains configuration files likeconfig.properties
andlogback.xml
.src/test/kotlin/com/ahdark/code
: Contains test cases for the application.
Contributions are welcome. Feel free to fork the project and submit pull requests.
This project is licensed under the MIT License - see the LICENSE file for details.