Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

celestiaorg/celbot

Folders and files

NameName
Last commit message
Last commit date
Apr 7, 2023
May 12, 2023
Apr 7, 2023
May 10, 2023
Apr 5, 2023
Apr 5, 2023
May 10, 2023
Apr 7, 2023
Apr 5, 2023
Apr 5, 2023
Apr 5, 2023
Apr 7, 2023
May 12, 2023
Apr 7, 2023
May 12, 2023
Apr 7, 2023
Jul 11, 2023
Jul 11, 2023

Repository files navigation

celbot

CI

A GitHub App built with Probot that A github bot for enforcing Matt's wishes upon the developers at celestia

Setup

Quickstart

# Install dependencies
npm install

# Run the bot
npm start

Local Development

When developing locally you can use 1 of 2 methods to run the bot.

  1. Hot reload with nodemon
  2. Simulate a webhook event

Hot reload with nodemon

# Install dependencies
npm install

# Run the bot with nodemon
npm run dev

Simulate a webhook event

Follow the instructions here to setup a webhook on your local repository. Then you can trigger the webhook event by running the following command. There is a folder test/fixtures/live that is ignored by git that you can use to store your webhook payloads.

# Install dependencies
npm install

# Simulate the webhook event
npm run mock

Docker

# 1. Build container
docker build -t celbot .

# 2. Start container
docker run -e APP_ID=<app-id> -e PRIVATE_KEY=<pem-value> celbot

Contributing

If you have suggestions for how celbot could be improved, or want to report a bug, open an issue! We'd love all and any contributions.

For more, check out the Contributing Guide.

License

ISC © 2023 Strange Loop Labs AG