All Projects → maubot → github

maubot / github

Licence: AGPL-3.0 license
A GitHub client and webhook receiver for maubot

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to github

gitlab
A GitLab client and webhook receiver for maubot.
Stars: ✭ 86 (+177.42%)
Mutual labels:  matrix-bot, maubot
kanbanize
Triage issues on github project boards.
Stars: ✭ 32 (+3.23%)
Mutual labels:  github-webhooks
tug
Private Composer registry for private PHP packages on AWS Serverless
Stars: ✭ 33 (+6.45%)
Mutual labels:  github-webhooks
background-check
A GitHub App built with probot that peforms a "background check" to identify users who have been toxic in the past, and shares their toxic activity in the maintainer’s repo.
Stars: ✭ 27 (-12.9%)
Mutual labels:  github-webhooks
reminder
A maubot plugin to remind you about things.
Stars: ✭ 30 (-3.23%)
Mutual labels:  maubot
lemon
Lemon – LED Monitor – is a $79.43 opensource alternative to LaMetric that supports GitHub-, IFTTT- and Zapier-webhooks and even integrates with Pushover!
Stars: ✭ 45 (+45.16%)
Mutual labels:  github-webhooks
PollMaubot
A polling plugin for Riot (using maubot)
Stars: ✭ 18 (-41.94%)
Mutual labels:  maubot
scalafmt-probot
🤖Github bot for checking code formatting with scalafmt
Stars: ✭ 15 (-51.61%)
Mutual labels:  github-webhooks
github-ipfs
GitHub -> IPFS mirroring
Stars: ✭ 25 (-19.35%)
Mutual labels:  github-webhooks
hookah
GitHub Webhooks Made Easy!
Stars: ✭ 29 (-6.45%)
Mutual labels:  github-webhooks
sre.surmon.me
💻 SRE service for Surmon.me blog.
Stars: ✭ 34 (+9.68%)
Mutual labels:  github-webhooks
GitHub-WebHook
🐱 Validates and processes GitHub's webhooks
Stars: ✭ 25 (-19.35%)
Mutual labels:  github-webhooks
commit-hawk
Notify when watched file(s) change in a GitHub repo
Stars: ✭ 24 (-22.58%)
Mutual labels:  github-webhooks
teamcity-commit-hooks
Plugin for TeamCity simplifying installation of webhooks for repositories in GitHub and GitHub Enterprise.
Stars: ✭ 24 (-22.58%)
Mutual labels:  github-webhooks
GitHub-Webhook-Bot
It is a Simple Telegram Bot, which will listen to GitHub Webhook and inform via Telegram
Stars: ✭ 33 (+6.45%)
Mutual labels:  github-webhooks
xkcd
A maubot plugin to view xkcd comics
Stars: ✭ 15 (-51.61%)
Mutual labels:  maubot

github

A GitHub client and webhook receiver for maubot.

Hosted instance

You can use the instance hosted on maunium.net by talking to @github:maunium.net.

See steps 4 and 5 below.

Basic setup

  1. Set up the plugin like any other maubot plugin.

    You just have to upload the plugin, and then create an instance i.e. an association of a plugin and a client.

    You have to give this new instance an instance_id / a name, for example "my_github_bot"

  2. Register a GitHub OAuth application to get a client_id and client_secret.

    Set the callback URL to https://{maubot_host}/{plugin_base_path}/{instance_id}/auth

    Following our example, if your instance is hosted on maubot.example.com and you kept the default plugin_base_path i.e. _matrix/maubot/plugin, the Github's new OAuth App's form should go like this:

  3. Set the client_id and client_secret in maubot.

    Copy these informations from your Github's OAuth App page and paste them in the instance page options.

    client_id: <replace>
    client_secret: <replace>
    

    And save the instance configuration.

  4. Use !github login to log in.

    After inviting your bot / client to a matrix channel, use the !gh or !github command to use the github instance.

    Using gh login first is mandatory and needed once per instance.

    The bot will reply with a link leading to your personal Github's allowed OAuth apps page, where you shall grant the necessary rights to the bot OAuth app.

    By default, the bot will request access to all public repos and to add webhooks. You can control the permissions it wants with some flags:

    • --no-repo makes it not ask for repo access at all. Only !github webhook add will work, other commands like !github create will not.
    • --no-hook makes it not ask for webhook access. !github webhook add will not work.
    • --private makes it ask for private repo access. Necessary if you want to use the bot to manage private repos.
  5. Use !github webhook add <owner>/<repo> to add webhooks.

    This will let you see in the current channel all the commits, comments, issues, stars, forks, pull requests, and so on, for that given repository.

    You must have admin rights on the repositories you want to track, as adding webhooks to a repository requires manager access rights to a project.

    Once you create a webhook and track a repository, it will be tracked only in the room from which you are in.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].