Skip to content

A small GitHub App written in Pharo that can be the starting point for creating your own app

Notifications You must be signed in to change notification settings

tinchodias/menta-pharo-bot

Repository files navigation

Menta

A small Pharo example that can serve as a starting point to create your own GitHub App.

The example GH App shows how to react to new comments in a repository's issues by posting a Roassal2 visualization. The interaction with GitHub is done via their REST API and webhooks.

logo

How to use

The ./server/build.sh script downloads a Pharo image, loads the code and it's dependencies.

Browse the code by starting the image with ./pharo-ui Pharo.image in the server/build directory.

To interact with GitHub, you must setup your GitHub App with an ID and PEM private key. Read class comments of MeGithubApp and subclasses to learn about it.

Deploy on a server that can be accessed via two ports. The ./server/start.sh script starts the Pharo image in headless mode with:

  • HTTP server (port 3000 by default) to receive GH webhook requests.
  • VNC server (port 5900 by default) to allow debugging on deploy environemt with a VNC client.

CI status

CI

License

The code is licensed under MIT.

The logo is licensed under CC0 1.0 Universal (CC0 1.0). Thanks to https://openclipart.org/detail/192959/mint-two.

About

A small GitHub App written in Pharo that can be the starting point for creating your own app

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published