This repo is a demo/playground for an experimental mechanic for GitHub repositories, which enables project backers to be a noticeable part of the development process/community and be immortalized in the project history together with the developers. This might potentially be a great booster for open-source development.
- When someone creates a new issue in the repo, it automatically gets a new comment with the "support the issue" info and "Pay with BTCPay" button
- When the pay button is pushed and a payment is made (as a GitHub user or anonymously), it triggers a series of actions as per the following rules:
- update the "support issue" comment with the backer username (if not anonymous)
- the position depends on the total amount donated by the backer on the issue
- if the total backer-issue amount is >=0.001 BTC, then the backer's avatar is also added (the avatar sizes differ depending on the amount)
- post a "@username (or anonymous) donated ฿" comment on the issue if the donation amount is >=0.0005 BTC. The templates, image sets and the number of ฿ symbols differ depending on the amount. The exact amount is not published to not harm the privacy.
- add "priority" label to the issue, if the total amount donated by all backers on the issue is >=0.001 BTC
- trigger the actions of the common Red BTC - wide donation logic of the "Become a backer" button on Red BTC website and Red BTC repos (including this one)
- update the "support issue" comment with the backer username (if not anonymous)
If you have an idea, post it here.
If you want to participate in the experiment and add this mechanic to your repo(s), create an issue with a couple words about it.
It's built with the open source Red BTC stack & node-red-contrib-github-plus nodeset. The flow implementing the mechanic will be open-sourced after trying it on a few projects.