Skip to content

tecosaur/caddy-fs-git

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Caddy VFS module for (local) Git repositories

With special thanks to caddy-fs-s3 for serving as a template.

Installation

Build Caddy using xcaddy

xcaddy build --with github.com/tecosaur/caddy-fs-git

Usage

file_server {
	fs git <path/to/repo.git> [<revision=HEAD>]
}
file_server {
	fs git {
		repository <path/to/repo.git>
		revision HEAD # the default revision
	}
}

About

Caddy VFS module for Git

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages