Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Github sponsors support #154

Open
finwo opened this issue Nov 1, 2019 · 3 comments
Open

Github sponsors support #154

finwo opened this issue Nov 1, 2019 · 3 comments
Labels
enhancement New feature or request

Comments

@finwo
Copy link
Contributor

finwo commented Nov 1, 2019

GitHub is rolling out their sponsors program.

Adding a check with github's api to see if found developers have sponsorships enabled would save them having to know about this project.

If the idea appeals, I might look into implementing it in the near future.

@finwo
Copy link
Contributor Author

finwo commented Sep 2, 2020

After checking, I've found no way yet within the github api to receive the sponsor list for a repository or user.

@feross
Copy link
Owner

feross commented Nov 3, 2020

This is a cool idea. PR welcome!

@feross feross added the enhancement New feature or request label Nov 3, 2020
@finwo
Copy link
Contributor Author

finwo commented Nov 4, 2020

Another note to self

There's a multiple routes this can take:

  • Without repository in package.json
    • See if there's a .github/FUNDING.yml in the package (for when they don't .npmignore it)
  • Requires repository url in package.json
    • Fetch the funding.yml from the repository on github & parse that to generate funding urls
    • Fetch contributors through graphql api & see if they have anything listed using the sponsorable interface.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants