# My ridiculously overengineered #rust and #typescript website.

## Метаданные

- **Канал:** fasterthanlime
- **YouTube:** https://www.youtube.com/watch?v=12buKQHE-ZQ

## Содержание

### [0:00](https://www.youtube.com/watch?v=12buKQHE-ZQ) Segment 1 (00:00 - 01:00)

my website is all custom rust and types script code and it lets me do some pretty cool stuff let's say I have this article right here and there's an error I can do option e and then hover over something and it's going to open it right in Z in the right paragraph which is already pretty cool I'm pretty confident save and then it reloads here in place uh doesn't even change the scroll position and then we can do the same thing for diagrams which I added recently so if you hover over a diagram click it opens it and draw the Dio and if I change this to like 62 and save then it's going to also update that diagram only and that diagram works everywhere because it bundles the fonts that it needs I'm PR fond of my entire diagramming pipeline for example you can select text from inside the diagram and that just worked because they're just SVG files the font used in this diagram is yfa my favorite monospace font and the entire diagram is only 17. 5 kbytes even though the entire font file is 28. 8 kbytes that's because before bundling the font in the SVG file like so actually subset it with PFT subset keeping only characters used in text tags in the SVG I wanted to use a r trait to do all this but it's doing font subsetting for PDFs which produces font files that are missing some important information however Google fonts has been doing a lot of work porting stuff to rust so I'm optimistic we'll have a pure rust font subsetting solution soon it's kind of ridiculous the amount of stuff I built just for myself but I'm really loving it

---
*Источник: https://ekstraktznaniy.ru/video/37531*