With GitHub bulk sponsoring we have a great tool to export a list of current dependencies.
It however doesn't allow us to easily configure amounts and exceptions.
This repository contains a script that will fill the bulk sponsoring CSV with the preferred amounts.
It also allows us to track recipients over time.
Steps :
- export the your list from GitHub
- run the scripts
- upload the filled in lists back to GitHub
We do not want to spend time making lists of who should be sponsored and for how much. We also don't want to spend time making sure these lists are always up to date.
We believe that all our dependencies should be supported either financially or through code contributions.
By sponsoring a tiny amount to all dependencies we hope to help a little bit.
If more small companies do this, it will start to add up.
We hope to make it easier for other companies to do the same.
- open
fill.mjs
- set
SPONSOR_AMOUNT_REGULAR
(default: 1) - set
SPONSOR_AMOUNT_FOUNDATIONAL
(default: 2)
- visit : https://github.com/sponsors/explore?direct=0
- download the CSV of used dependencies
- check your email for the download link
- replace
export.csv
with the downloaded file (or paste the contents) - run
node clean-export.mjs
- run
node fill.mjs
- visit : https://github.com/sponsors/bulk-sponsorships/import/new
- upload
sponsor-log-0.csv
- repeat this for every file
uploads are currently limited to 100 recipients per file
GitHub bulk sponsoring is not recurring yet.
So repeat this process every few months to keep sponsoring.
GitHub can only find dependencies through package manager manifest files.
Some dependencies like curl
are typically part of an OS and not visible to GitHub.
If there are any additional dependencies that you want to sponsor, add them to additional.csv
.
The format is the same as export.csv
.
You do have to manually set the amount for each additional recipient.
Sometimes we make substantial contributions to specific projects or even maintain them.
We do not want to sponsor these financially because we are already donating time.
To mark these projects as code contributions, add them to code-contributions.csv
.
The last column in the CSV must be a number higher than zero.
Some dependencies are super critical to our business.
We mark them in foundational-work.csv
to increase the chance of continued maintenance and development.
These will receive a higher amount than the other dependencies.