Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Like thumbor, but for static files e.g js, css, or any other files

glendmaatita/static-cdn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

static-cdn

Like Thumbor, but works for static files.

Getting Started

Run

docker run -p 8080:8080 ghcr.io/glendmaatita/static-cdn 

Serve static files through cdn, e.g http://localhost:8080/serve/https://cdn.jsdelivr.net/npm/@tabler/[email protected]/dist/tabler-icons.min.css

Mount Volume

docker run -p 8080:8080 -v .:/opt/data/static ghcr.io/glendmaatita/static-cdn 

Make sure the directory is writable

Set Expire (in minutes)

docker run -p 8080:8080 -v .:/opt/data/static -e EXPIRE_TIME="5" ghcr.io/glendmaatita/static-cdn 

About

Like thumbor, but for static files e.g js, css, or any other files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages