Sponsorkit documentation

Check whether the current user sponsors you on GitHub Sponsors or Open Collective, and help them start. No account, no API key, no stored data.

On this page

Sponsorkit tells your software whether the current user supports you on GitHub Sponsors or Open Collective, and helps them start. You write the rule; Sponsorkit reports the facts.

Project status

  • All five SDKs are published. Version 1.0.0 is on npm, NuGet, PyPI, crates.io and the Go module proxy. See Install.
  • The hosted service is live at api.sponsorkit.io. Some provider behaviour has only been tested against stubbed provider responses so far; mock mode needs no network at all.

Start here#

  • Getting started: the four steps of an integration.
  • Quickstart: copy-paste examples for every SDK.
  • Install: packages and supported runtimes.
  • Concepts: targets, sessions, the contribution shape and the error contract.
  • Guides: checkout, nags, mock mode and backend verification.

SDKs#

LanguagePackageGuideAPI reference
JavaScript / TypeScript@sponsorkit/sdkGuideReference
.NETSponsorkitGuideReference
PythonsponsorkitGuideReference
Gogithub.com/ffMathy/sponsorkit/sdks/goGuideReference
RustsponsorkitGuideReference

Every SDK has the same behaviour, the same result shape and the same error contract; only the naming follows each language's conventions.

Under the hood#

The SDKs talk to a small, stateless HTTP API. Its wire protocol is public, and you can host it yourself.