Skip to content

johbar/caddy-serve-md-git

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

caddy-serve-md-git

Serves a markdown git repo as HTML using Git-Caddy.

Still work in progress.

Build

Build and run with podman

podman build . -t caddy-serve-md-git
podman run -it --rm -p 8080:8080 -e GIT_REPO_URL=https://github.com/johbar/caddy-serve-md-git.git localhost/caddy-serve-md-git:latest

Change env GIT_REPO_URL accordingly.

More env to customize behavior:

Name Description
GIT_BRANCH Git-Ref to clone (default: main)
UPDATE_SECONDS Interval of automatic update (default: 600)
DEBUG Set to debug for extensive logging
AUTHENTICATION set to auth username {$USERNAME} password {PASSWORD} to enable basic auth

See also

About

Serve a markdown git repo as HTML

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages