Skip to content

About

Serves files from github, bitbucket and gitlab, but with the correct content types

Topics

Resources

Stars

681 stars

Watchers

18 watching

Forks

Latest commit

 

History

489 Commits

Folders and files

Repository files navigation

rawgit.hack

This is the source code behind rawgit.hack - CDN for your source code that serves files with proper Content-Type headers.

Supported Platforms

rawgit.hack supports the following source code hosting platforms:

  • GitHub - served via raw.githack.com subdomain
  • GitHub Gist - served via gist.githack.com subdomain
  • GitLab - served via gl.githack.com subdomain
  • Bitbucket - served via bb.githack.com subdomain
  • Gitea - served via gt.githack.com subdomain
  • Codeberg - served via cb.githack.com subdomain

Both development and production (CDN) URLs are available for each platform.

Example config.lua

return {
   cf = {
      zone = "ZONE_ID",
      username = "USERNAME",
      api_key = "API_KEY"
   }
}

About

Serves files from github, bitbucket and gitlab, but with the correct content types

Topics

Resources

Stars

681 stars

Watchers

18 watching

Forks

Sponsor this project

Used by

Contributors

Languages