Lurker News
We had some free time during the Chinese New Year vacation (we live in Taiwan). So I thought it would be fun to work with my daughter on a little web project.

She did all the drawings. I digitized them and added them to the page as inline SVGs. Then I wrote the code. Nothing fancy — it's just one HTML page with a few links. But I like the end result (yes, I'm 100% biased): https://kevin.tw
Fun technical facts: the page is entirely self-contained (except the favicon). It doesn't have any JavaScript at all. And it weighs 35Kb total (52Kb if you include the favicon).

Comments (182) 88 threads

Show all comments

Showing thread 4 of 88

onion2k3 replies#
It's a good idea to run SVGs through SVGO before you use them. In this case, the robot SVG data can be shrunk by almost 50% by using SVGO (or svgomg https://jakearchibald.github.io/svgomg/) with a precision of 0 and using the 'prefers viewbox' option. I didn't try the others.
mchusma#
Svgo is so good. It's like a cheat code. I use that GUI too.
uxamanda1 reply#
FWIW, ImageOptim[0] is a nice, very simple desktop app that includes SVGO and a bunch of other optimizers for various formats. Drop images, done.

[0] https://imageoptim.com

vmception#
nice, I'm going to see if I can compress some intricate SVGs enough to make fancier NFTs with onchain image data instead of IPFS or external dedicated webserver.

fixing one of the criticisms with that technology. a couple more to go