Skip to content

triebben/helix-static

 
 

Repository files navigation

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 Greenkeeper badge

About

Helix Static is a shared microservice for Project Helix that serves static files from GitHub. It includes 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 master 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.

About

Static File Serving for Project Helix

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%