Sign inSign up

esselfe/lunabot

By esselfe

•Updated 2 months ago

IRC bot for Github webhook notifications.

Image
0

1.5K

esselfe/lunabot repository overview

⁠Lunabot - IRC bot for Github webhooks

Lunabot is a simple IRC bot written in the C programming language, designed to relay GitHub webhook notifications to an IRC channel. While primarily developed for the Lunar Linux project, it can be adapted for other projects by modifying a few global constants and variables.

Features:

  • Connects to an IRC server over TLS.
  • Sends messages in the channel for:
    • New PR.
    • Pending CI build (optional).
    • CI build statuses, Failed or Success.
    • Closed PR.
    • Merged PR.
    • Label operations on PRs (optional).
  • Listens for GitHub webhook events via an embedded HTTP server.
  • Parses and formats repository events before sending them to the IRC channel.
  • Uses OpenSSL for payload signature verifications.

You will need to put the bot's NickServ password in .passwd and the webhook secret in .secret.
Alternatively you can set the credentials using environment variables instead of files:

  • LUNABOT_NICKSERV_PASSWORD
  • LUNABOT_WEBHOOK_SECRET

The project source code is hosted there: https://github.com/esselfe/lunabot/⁠

Tag summary

Content type

Image

Digest

sha256:4a488da4a…

Size

819.5 MB

Last updated

2 months ago

docker pull esselfe/lunabot