Documentation for wsrv.nl.
git clone https://github.com/weserv/docs.git
cd docs
yarn # OR npm install
# Create a markdown file and write something
echo '# Hello World' > docs/Hello.md
# Start writing
yarn run dev # OR npm run dev
# Build to static files
yarn run build # OR npm run build
# Serve dist/
docker run -d -p 8080:80 -v "$(pwd)/dist:/var/www/imagesweserv/public" --shm-size=1gb --name=weserv ghcr.io/weserv/images:5.x
# Visit http://localhost:8080/