个人应用:当 JavaScript 和 SQLite 就够了
Tessl 博客作者 Matthias Lübken 用 JavaScript/TypeScript 加 SQLite 本地数据库构建个人应用,并以 Bonn Tonne、Daybreak、Quote-Assist 三个示例验证可行性。这类应用可运行在 Cloudflare Durable Objects 或 Ryan Dahl 的开源实现 celld 上,每个应用独占 V8 isolate 与 SQLite 数据库,彼此隔离且可缩容到零。作者认为当前 LLM 对 TypeScript 和 SQLite 训练充分,配合合适护栏常能一次生成。

his model for quite some time. Cloudflare's Durable Objects are the most prominent example. Cloudflare introduced Durable Objects in 2020, giving its JavaScript Workers durable storage. Their implementation is remarkable and worth a deep dive, but it gives me what I need: a way to run JavaScript or TypeScript on their V8 runtime and store data in SQLite, backed by their object storage R2. They also introduced me to a new constraint: single-threaded access to the database. So far, I am quite happ
匹配字段正文



