{"repo":"Clivern/Hamster","free":true,"listed":false,"github":"https://github.com/Clivern/Hamster","clone":"git clone https://github.com/Clivern/Hamster.git","description":"🐀 A Bot toolkit for github that supports OAuth, Events, API, Custom Commands and Check Runs.","language":"Go","stars":43,"topics":["github","golang","go-lang","clivern","bot","hamster","github-bot","github-client"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"Hamster A Bot Toolkit for Github! Documentation Config & Run The Application Hamster uses Go Modules to manage dependencies. First Create a dist config file. Then add your app mode , app port , app log level , github token , github webhook secret , repository author and repository name You can config app domain and the rest of github app configs github app in case you need a github app not a personal bot. Add a new webhook from Settings Webhooks , Set the Payload URL to be https://hamster.com/listen , Content type as JSON and Add Your Webhook Secret. And then run the application Also running hamster with docker still an option. Just don't forget to update GithubToken , GithubWebhookSecret , RepositoryAuthor and RepositoryName inside docker-compose.yml file. Then run the following stuff Customize the Default Event Listeners Anytime github call hamster listen endpoint, there will be a callback that get called with incoming data. For example when you get a status change call from github, the StatusListener(status event.Status) will get called. So do whatever you need inside this callback. any event: any time listen endpoint get a call, the following callback get called. status event: any time a Repository has a status update from the API, The following callback get called. watch event: any time a User stars a Repository. issues event: any time an Issue is assigned, unassigned, labeled, unlabeled, opened, edited, milestoned, demilestoned, closed, or reopened. issue comment event:","default_branch":null,"files":null,"tree":[],"storefront":"/r/Clivern","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Clivern/Hamster/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}