The author uses the draw.io desktop app on Windows or macOS to create diagrams for their website, while their asset pipeline runs on Linux. This pipeline uses a Rust program that opens headless Chromium and loads only the HTML/JS/CSS parts of draw.io needed to render diagrams. It then leverages Chromium's 'print to PDF' functionality to save the diagrams, converting .drawio files to PDF and eventually to smaller SVG files.
I use the draw.io desktop app to
make diagrams for my website. I run it on an actual desktop, like Windows or
macOS, but the asset pipeline that converts .drawio files, to .pdf, to
.svg, and then to .svg again (but smaller) runs on Linux.
So I have a Rust program somewhere that opens headless chromium, and loads just
the HTML/JS/CSS part of draw.io I need to render my diagrams, and then use
Chromium’s “print to PDF” functionality to save a PDF.
继续阅读全文
为了尊重作者,这里只展示开头几段。你可以去原文阅读,或者在 HorizonReader 里读:划线做笔记、让 AI 帮忙。
AI 摘要The author is recapping the many projects they worked on in 2025 as a way to clear their head. The first project they discuss is called facet, which they started in March of that year, noting that although only ten months have passed, it feels like an eternity.
AI 摘要The author describes a discussion with the docs.rs team about why code samples are displayed in an unappealing way, prompting them to open a GitHub issue to understand the underlying reasons. Despite walking away from that discussion discouraged, they decided to ignore the existing constraints and tackle the problem from three different angles. This effort resulted in arborium, a tree-sitter distribution.
AI 摘要The article is an adaptation of a talk given at a Rust Paris Meetup in which the speaker sets out to answer whether Dioxus, a Rust UI framework, sparks joy. The piece opens playfully, noting that Dioxus's name is 'legally not inspired by any Pokémon,' even though its author conceded in a Hacker News comment that the Pokémon Deoxys is 'awesome'.
AI 摘要The author describes several online Rust quizzes, particularly the 'Unfair Rust Quiz,' which lives up to its name and is best tackled with a knowledgeable friend. For a live episode of the Self-Directed Research podcast recorded on the main stage of EuroRust 2025, the author decided to create something special: a Rust optimization quiz.
AI 摘要The author, who previously built a loudness meter, has now created a spectrogram visualization. The article explains how frequencies are extracted from sound waves and describes how the app is assembled from different Rust crates, including how it handles audio and graphics threads and draws the spectrogram.