Skip to content

thecoolwinter/blog

Repository files navigation

Khan's Blog

This is open source for fun! I won't be accepting PRs or issues on styling, but if you find a typo or a bug please let me know!

Prism Config:

Sizes

To find the compressed size of the entire site (only JS, CSS, HTML):

find .html -type f \( -name "*.html" -o -name "*.js" -o -name "*.css" \) -print0 | xargs -0 -I{} sh -c 'zstd --stdout "{}" | wc -c' | awk '{total+=$1} END {print "Total compressed size:", total, "bytes"}'

For the uncompressed size:

find .html -type f \( -name "*.html" \) -print0 | xargs -0 du -c --si | grep total

About

my website

Resources

License

Stars

Watchers

Forks