Skip to content

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

@xTrayambak

Description

@xTrayambak

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions