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

Looking for opinions - (optional) funding field in package data #2917

Open
xTrayambak opened this issue Aug 14, 2024 · 1 comment
Open

Looking for opinions - (optional) funding field in package data #2917

xTrayambak opened this issue Aug 14, 2024 · 1 comment

Comments

@xTrayambak
Copy link
Contributor

I believe that a lot more people would be able to contribute to the Nim ecosystem if we added an easy way for them to accept donations from other Nimmers. We could implement this in a similar fashion as to how npm does it. We need to add a single new donation link URL to new packages. Optionally (to make this more safe), we can only add "donation account" IDs (say, to an OpenCollective account or BuyMeACoffee account) instead of arbitrary URLs.

We can add a few new commands to Nimble:

nimble donate <package> - Open all donation links in the user's web browser. If they don't have one installed, simply output the links in the terminal.

nimble fundraise <package> - If a package is provided, this would show its donation URL, if it exists. Otherwise, it shows all packages that are accepting donations.

I'm looking for more opinions as to how this could be implemented. Feel free to share your thoughts!

@xTrayambak
Copy link
Contributor Author

nimble donate and nimble fundraise's parts have been appropriately merged into nimble sponsor and somewhat into nimble search as well.

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

No branches or pull requests

1 participant