---
title: "Lei Vertri (@leivertri) | Hashnode"
description: "Lei Vertri (@leivertri) writes on Hashnode. Read their latest articles and follow their work."
url: "https://hashnode.com/@leivertri"
---

@leivertri

# Lei Vertri

@leivertri · Joined October 2026

### [transformers.js's progress\_callback Fetched Every Model File Twice](https://leivertri.hashnode.dev/transformers-js-s-progress-callback-fetched-every-model-file-twice?utm_source=hashnode&utm_medium=feed)

I passed it to show download progress. Version 4.3.1 then GET the whole file just to read its size — and Chrome aborted one of the overlapping, immutably cached requests.

5 min read · [leivertri.hashnode.dev](https://leivertri.hashnode.dev/transformers-js-s-progress-callback-fetched-every-model-file-twice?utm_source=hashnode&utm_medium=feed)

[Nov 12](https://hashnode.com/posts/transformers-js-s-progress-callback-fetched-every-model-file-twice/6af5bd1a5c2c7817f4e4cbf2)

### [When "Opening Never Throws" Still Threw: sql.js and a Damaged B-Tree Page](https://leivertri.hashnode.dev/when-opening-never-throws-still-threw-sql-js-and-a-damaged-b-tree-page?utm_source=hashnode&utm_medium=feed)

I build a browser tool that opens Audacity .aup3 / .aup4 projects. The projects are SQLite databases. One of the rules the recovery flow depends on is written at the top of the archive module and in t

5 min read · [leivertri.hashnode.dev](https://leivertri.hashnode.dev/when-opening-never-throws-still-threw-sql-js-and-a-damaged-b-tree-page?utm_source=hashnode&utm_medium=feed)

[1](https://hashnode.com/posts/when-opening-never-throws-still-threw-sql-js-and-a-damaged-b-tree-page/6af12bbfa4feda9a1d3e7a9f) [Nov 9](https://hashnode.com/posts/when-opening-never-throws-still-threw-sql-js-and-a-damaged-b-tree-page/6af12bbfa4feda9a1d3e7a9f)

### [Escaping Plain-Text Answers in Google FAQPage JSON-LD](https://leivertri.hashnode.dev/escaping-plain-text-answers-in-google-faqpage-json-ld?utm_source=hashnode&utm_medium=feed)

Google's FAQPage documentation said Answer.text may contain HTML. If your answers are meant to be plain text, a literal < in one of them can be taken as the start of a tag. Many sites add FAQPage str

5 min read · [leivertri.hashnode.dev](https://leivertri.hashnode.dev/escaping-plain-text-answers-in-google-faqpage-json-ld?utm_source=hashnode&utm_medium=feed)

[Nov 7](https://hashnode.com/posts/escaping-plain-text-answers-in-google-faqpage-json-ld/6aee891a83d8ad7966b3e7e7)

### [Every Page of My Next.js Site Shared as the Homepage: The Shallow Metadata Merge Trap](https://leivertri.hashnode.dev/every-page-of-my-next-js-site-shared-as-the-homepage-the-shallow-metadata-merge-trap?utm_source=hashnode&utm_medium=feed)

Setting title, description and canonical per page is not enough. If only the layout defines openGraph, every page inherits the homepage's og:url.

5 min read · [leivertri.hashnode.dev](https://leivertri.hashnode.dev/every-page-of-my-next-js-site-shared-as-the-homepage-the-shallow-metadata-merge-trap?utm_source=hashnode&utm_medium=feed)

[1](https://hashnode.com/posts/every-page-of-my-next-js-site-shared-as-the-homepage-the-shallow-metadata-merge-trap/6aea92df0801a3865bd66c22) [Nov 4](https://hashnode.com/posts/every-page-of-my-next-js-site-shared-as-the-homepage-the-shallow-metadata-merge-trap/6aea92df0801a3865bd66c22)

### [Turning Audio Into an MP4 in the Browser: Writing the Muxer, and Why I Left the Edit List Out](https://leivertri.hashnode.dev/turning-audio-into-an-mp4-in-the-browser-writing-the-muxer-and-why-i-left-the-edit-list-out?utm_source=hashnode&utm_medium=feed)

WebCodecs gives you AAC packets and H.264 frames. Getting them into a file that YouTube, phones and ffmpeg all accept is the part nobody hands you.

6 min read · [leivertri.hashnode.dev](https://leivertri.hashnode.dev/turning-audio-into-an-mp4-in-the-browser-writing-the-muxer-and-why-i-left-the-edit-list-out?utm_source=hashnode&utm_medium=feed)

[Nov 2](https://hashnode.com/posts/turning-audio-into-an-mp4-in-the-browser-writing-the-muxer-and-why-i-left-the-edit-list-out/6ae7f0d89b8e18819ac9ddd8)
