Holi Labs
1 分钟 本地优先

构建不会困住用户的浏览器工作区

在不改变编辑器流程的前提下,同时支持用户选择的文件夹和浏览器管理的备用存储。

#local-first #files #indexeddb
目录
统一工作区契约 两种存储模式 安全切换与恢复 隐私与发布检查

本地优先编辑器不该要求用户先理解浏览器存储。无论文件位于用户选择的文件夹,还是浏览器管理的空间,创建、保存和预览的流程都应保持一致。

统一工作区契约

让界面只调用 list、read、write 和 remove 等统一操作。文件夹适配器与 IndexedDB 或 OPFS 适配器负责实现这些操作,界面不需要知道当前使用哪一种。

两种存储模式

  • 文件夹模式必须由用户主动选择,只扫描授权目录,并清楚显示权限状态。
  • 浏览器工作区是正常的默认模式,不是错误状态;它应创建同样的项目和 images/ 结构。
  • 权限丢失时,把未保存内容留在内存中,并提供恢复导出。

安全切换与恢复

切换适配器是一项迁移:先复制,逐个验证文件,再启用目标工作区。不要自动删除来源。浏览器数据可能被清除,因此必须提供项目导出、完整工作区导出和路径验证后的导入。

隐私与发布检查

文件路径、名称、句柄和内容应留在设备上。托管服务仍可能看到 IP、请求时间和路由元数据。发布前确认无需账户或文件夹即可编辑,并通过网络检查验证没有上传文档或文件名。

下一篇 设计仍能可靠扫描的 QR 码

本地偏好

设置

这些偏好仅保存在此浏览器中,无需账户。

外观

主题 应用于此设备

导航

首页 Holi.tools 文章
会话 无需账户 · 本地偏好

当前 v0.6.0

版本

让 Holi 持续可用

支持独立工具

捐赠用于支付托管和开发费用,同时不强制要求账户或远程存储。

联系
v0.6.0 2026-09-02
  • Defined Tutorials, Field notes, Experiments, and Papers as formats in one Holi Labs publication
  • Added a localized Papers collection with a subtle crane category mark across all seven languages
  • Added format filters and the axolotl identity while preserving one shared library and privacy shell
v0.5.0 2026-09-02
  • Extended the Labs library shell, privacy summary, search, filters, and article routes to all seven Holi languages
  • Localized the shared product dock and removed its unstable outer glow
  • Kept code blocks, URLs, file paths, and technical product names intact across translated tutorials
v0.4.0 2026-09-02
  • Rebuilt Labs as a practical library with featured reading, search, category filters, and reading time
  • Published seven complete English and Spanish tutorials, guides, and engineering notes
  • Added coherent light and dark Labs palettes and limited public routes to fully translated locales
v0.3.0 2026-09-02
  • Unified Configuration, Versions, and Privacy in the shared Holi product dock
  • Added local theme and language preferences plus Labs navigation inside Configuration
  • Placed donations, support, and the visible Shadow Log inside Versions
v0.2.1 2026-09-02
  • Separated privacy and Version Log into left and right floating controls
  • Moved privacy facts into a dedicated glass drawer
v0.2.0 2026-09-02
  • Added a visible privacy summary to experiment, article, and tag pages
  • Made the current version and Shadow Log available throughout Labs
  • Reframed Labs as a research publication rather than a product backlog
v0.1.1 2026-01-12
  • Added English and Spanish routes
  • Synchronized the content collection
  • Improved stability
v0.1.0 2026-01-12
  • Created the first Labs content collection
  • Published initial graphics and performance notes

隐私概览

隐私摘要

阅读和导出文章不会向 Holi 提交个人文件。Cloudflare 可能看到你的 IP 和访问时间。

内容
Labs 发布静态文章,不会请求你的本地文档。
导出
复制摘要以及生成 Markdown 或打印输出均在浏览器中完成。
托管
Cloudflare 可能处理 IP、时间、请求路径、流量和路由数据。
外部链接
捐赠、支持和外部来源只会在你主动选择时打开。

关于

Holi Labs

前沿研究、WebGPU 实验与技术论文。

浏览 Holi.tools

捐赠

捐赠

如果 Holi.tools 对你有帮助,可以在这里支持持续开发:

GitHub Sponsors Ko-fi

支持与建议

支持与建议

如需支持、报告错误或提出建议:

电子邮件 [email protected] GitHub Issues

源代码: https://github.com/HugoAndresAmayaChairez/holi.tools