@avocode/fontfetcher

0.1.1 • Public • Published
usage: fontfetcher [--fontsDir DIR_TO_DOWNLOAD_FONTS] <octopus-manifest-file>
Environment variables:
         FONT_FETCHER_AWS_REGION - AWS region of fonts S3 bucket (default: us-east-1)
         FONT_FETCHER_HOST - Fonts service host (default: https://fonts-v2.avcd.cz)
         FONT_FETCHER_BYPASS_TOKEN - Font service authentication bypass token put into 'X-AVCD-AUTH-BYPASS' request header

Addition Configuration

fontfetcher downloads the actual font files from S3, the exact bucket used depends on Schriftmeister service configuration, as of Apr 2022 there are these deployments:

  • Avocode Production https://fonts-v2.avocode.com S3 bucket: avocode-fonts
  • Avocode Staging https://fonts-v2.avcd.cz S3 bucket: avocode-staging-fonts

AWS credentials with read access to the appropriate bucket need to be set up (either via environment variables or AWS credentials config file)

Readme

Keywords

none

Package Sidebar

Install

npm i @avocode/fontfetcher

Weekly Downloads

3

Version

0.1.1

License

MIT

Unpacked Size

6.95 kB

Total Files

6

Last publish

Collaborators

  • avocode-ci
  • tomasrebro
  • bellathewitch