diff --git a/README.md b/README.md index 1ddc551..ff693b8 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,8 @@ SSH key, and all incoming messages are verified against the author's pubkeys. Every GitHub user's ssh pubkeys are [publicly available](https://github.com/robertdfrench.keys). +![](websites/screengrab.gif) + ## Architecture ### Validating Messages diff --git a/website/Makefile b/website/Makefile index 23a774d..d58f702 100644 --- a/website/Makefile +++ b/website/Makefile @@ -1,7 +1,7 @@ include ../lib/common.mk include ../lib/venv.mk -SOURCES=index.html social_media_preview.jpg +SOURCES=index.html social_media_preview.jpg screengrab.gif deploy: $(patsubst %, build/%.deploy, $(SOURCES)) #: Deploy changes to website @@ -15,3 +15,17 @@ build/%.deploy: % build/.dir .venv/ready test: @echo okay! + +# We don't list any pre-requisites here because we want to keep screengrab.gif +# under version control. If a new screengrab movie is made, update this by hand. +rebuild_screengrab: #: Update screengrab.gif you record a new screengrab movie +ifndef INPUT_MOVIE + $(error Define INPUT_MOVIE to point to a quicktime file) +endif + make build/.dir + ffmpeg \ + -i $(INPUT_MOVIE) \ + -vf "fps=10,scale=640:-1:flags=lanczos" \ + -c:v gif \ + build/unoptimized.gif + gifsicle -O3 build/unoptimized.gif -o screengrab.gif diff --git a/website/screengrab.gif b/website/screengrab.gif new file mode 100644 index 0000000..5749305 Binary files /dev/null and b/website/screengrab.gif differ