begin working on preview generation

This commit is contained in:
Amolith 2023-01-27 09:49:12 -05:00
parent af04629cdb
commit 5dd1d1759b
Signed by: Amolith
GPG Key ID: 8AE30347CE28D101
1 changed files with 4 additions and 0 deletions

4
gen
View File

@ -9,3 +9,7 @@ fd --exact-depth 3 --no-ignore-vcs '.md' -x pandoc -f markdown -t epub3 --lua-fi
fd --exact-depth 3 --no-ignore-vcs '.md' -x pandoc -f markdown -t plain --lua-filter=pandoc_config/images.lua {} -o public/{/.}/{/.}.txt
rsync -avmzz public/ hel1:/var/www/secluded/
# Image generation
# wkhtmltoimage -f png --width 1200 --height 630 /tmp/file.html /tmp/file.png
# optipng -o4 file.png