# Sloth ## App installation (github app) ### Pros * Easy to develop (You get webhook with notification per each comment in PRs that you can react on) * Follows github policy * Good UX. Everything on Github. Can respond in PRs as a Bot ### Cons * Require app installation * You can't mention a bot, but we could parse all comments from hook to search for a trigger phrase ## App installation (oauth app) ### Pros * Still easy to develop * Will get access potentially to more repos comparing to GitHub app * Can respond in the PR on behalf of the user. * Follows github policy ### Cons * Hook is not available, we have to process PR's by our own or ask user to give us a link to the PR * Still access to repos limited as it would require us either of getting approved by org or org should allows 3rd party integrations (default false) * From UX perspective might require extra steps from user on a website as it's harder to find right place. ## User bot ### Pros * We can parse mentions to the user * We can monitor PRs * We can reply to the user. * Good UX ### Cons * We should stricly follow rate limits. Github allows user bots if they are follow rate limits: * 5000 requests per hour * 500 messages per hour * 80 messages per minute ## Open questions * I think reward by leaderboard will distribute rewards to potentially same people that are already actively contributing or already get funding for open source contribution. I think we have to move from the leader board reward to achivement based rewards. This way we would allow new users to get into contributing and rewarding that behaviour. E.g 100 points to get 10 NEAR. 5 Contribution to the X for Y and so on. ## Hacktoberfest implementation They're working with labels. Maintainers that are interested in contirbutions marking their repository as `hacktoberfest` in topic. Then they are reviewing PRs and do one of: * Merging PR that resolves an issue with `hacktoberfest` label * Mark the PR with `hacktoberfest-accept` * Mark the PR with `spam` or `invalid` to report So it's implemented a bit differently. See [details](https://hacktoberfest.com/participation/)