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

feat: add liberapay support #102

Merged
merged 2 commits into from
Dec 30, 2024
Merged

feat: add liberapay support #102

merged 2 commits into from
Dec 30, 2024

Conversation

Zaczero
Copy link
Contributor

@Zaczero Zaczero commented Dec 28, 2024

Description

Added support for Liberapay provider. Only Public sponsors are supported, there is no private API. Additional HTTP request is made (when needed) to fetch currency exchange information. Some avatars have URLs present but it just returns 404 (instead of it being empty like others) so image handling was slightly modified.

E.g. https://en.liberapay.com/Zaczero/

  // Providers configs
  liberapay: {
    login: 'Zaczero',
  },
SPONSORKIT_LIBERAPAY_LOGIN=Zaczero

@Zaczero Zaczero force-pushed the main branch 2 times, most recently from 66013c3 to a536507 Compare December 28, 2024 09:45
@antfu antfu merged commit 68d0eee into antfu-collective:main Dec 30, 2024
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

Successfully merging this pull request may close these issues.

2 participants