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
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#
| Language | Package | Guide | API reference |
|---|---|---|---|
| JavaScript / TypeScript | @sponsorkit/sdk | Guide | Reference |
| .NET | Sponsorkit | Guide | Reference |
| Python | sponsorkit | Guide | Reference |
| Go | github.com/ffMathy/sponsorkit/sdks/go | Guide | Reference |
| Rust | sponsorkit | Guide | Reference |
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.