0.1.1 • Published 2 years ago

@avocode/fontfetcher v0.1.1

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago
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)