Skip to content
This repository has been archived by the owner on Jan 12, 2023. It is now read-only.

adobe/helix-static

Helix Static

Serve static files from GitHub (with some extras) for Project Helix

Status

codecov CircleCI GitHub license GitHub issues LGTM Code Quality Grade: JavaScript

About

Helix Static is a shared microservice for Project Helix that serves static files from GitHub. It includes the following features:

  • MIME type detection
  • large file dection (large files get redirected and served from the CDN)
  • generation of long-cachable URLs for JS and CSS assets
  • replacement of URLs in JS and CSS assets with references to long-cacheable URLs (through ESI)

Developing Helix Static

You need node>=8.0.0 and npm>=5.4.0. Follow the typical npm install, npm test workflow.

Contributions are highly welcome.

Deploying Helix Static

Deploying Helix Static requires the wsk command line client, authenticated to a namespace of your choice. For Project Helix, we use the helix namespace.

All commits to main that pass the testing will be deployed automatically. All commits to branches that will pass the testing will get commited as /helix-services/static@ci<num> and tagged with the CI build number.