The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Highlighting package funding links

The story is as old as time, or at least as old as time_t! A kind developer writes some code and makes it open-source as a library, hoping it might help others. Over time, that library might gain popularity, prompting other developers to raise issues, open discussions, and sometimes even pull requests! However, it can also happen that the original developer realises they are spending all their free time working for free on a project they might not even use anymore, leading to burnout and many abandoned projects.

Are services like GitHub Sponsors, Open Collective, Patreon, and Ko-fi the answer? We’re not convinced they are a perfect solution, but they are the best “one size fits all” solution we have.

It was pointed out to us recently that while package pages contain more Swift-specific metadata and other useful information, they hide the sponsorship links shown on the GitHub repository page. This feature was on our list of things we’d like to add, but we hadn’t got around to it.

We’re happy to say that we now have got around to it! You’ll see links to any funding platforms directly underneath package metadata.

Package funding links for the Vapor package on Swift Package Index.

Adding this feature also made us curious about how many open-source packages are seeking funding, so we did a little digging through the data, and there are 256 individuals or organisations accepting funding for 718 packages. That’s more than 10% of all packages in the index!

The only difficulty with this feature is that browsing for a new package isn’t the right time to decide to sponsor it. However, we would encourage you to look through your project’s used dependencies and then return to their package pages to see if any are seeking funding.

About this blog

The Swift Package Index is a search engine and metadata index for Swift packages. Our main goal is to help you make better decisions about the dependencies you include in your apps and projects. If you're new here, the best place to get started is by searching for packages.