Use https://github.com/antfu/sponsorkit instead.
# env
SPONSORS_LOGIN=github_username
SPONSORS_TOKEN=github_token
# sh
npx spnsors-cli
The token should include scopes read:org
and read:user
, here to generate one.
To use in actions you can fork 2nthony/sponsors-image then replace secrets and username in workflows.
Support config file sponsors.config.js
, for more details read types.ts.
module.exports = {
/* options */
}
This is a "translate" job from @antfu's ./sponsors.svg but with opinionated features.
The generated image is similar to vuesuse sponsors section, by default preset.
MIT © 2nthony