Skip to content
This repository has been archived by the owner on Feb 25, 2022. It is now read-only.

2nthony/sponsors-cli

Repository files navigation

Use https://github.com/antfu/sponsorkit instead.

sponsors-cli

Usage

# 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.

Config

Support config file sponsors.config.js, for more details read types.ts.

module.exports = {
  /* options */
}

Credit

This is a "translate" job from @antfu's ./sponsors.svg but with opinionated features.

Example

The generated image is similar to vuesuse sponsors section, by default preset.

License

MIT © 2nthony