opfs-tools

Weekly Pick

一个在浏览器中运行的简单、高性能、完备的文件系统 API,基于 OPFS 封装,旨在解决 Web 端文件操作的限制,适用于音视频剪辑、游戏、数据库等场景。

Check out opfs-tools on CurateClick

• Copy the embed code to showcase this product on your website

• Share on X to spread the word about this amazing tool

项目链接- opfs-tools:在浏览器中运行的简单、高性能、完备的文件系统 API- opfs-tools-explorer:管理 Web 站点的 OPFS 文件,类似操作系统的 Explorer、Finder推文链接### 推文内容文件系统是许多领域程序的基石,所有通用编程语言都会内置完备的文件系统 API。Web 很长一段时间没有提供完善的访问文件系统的规范,使得需要高频读写文件、大文件处理软件在 Web 端都会受到一些限制,比如音视频剪辑、游戏、数据库等等。之前在浏览器中实现视频裁剪截帧等相关功能时,发现缺少基本的操作文件的 API,比如读写、移动、复制文件。而 OPFS已经发布很久了(Chrome 86),它提供了访问文件系统的低级 API,且在 Worker 中访问才能发挥最佳性能,日常使用起来很是麻烦,于是就有了基于 OPFS 封装简单易用 API 的想法。以上两个项目就是笔者近期的成果,点击体验 opfs-tools-explorer demo image后续会再写一篇文章详细介绍 Web 中与文件相关的 API 和 opfs-tools 实现原理。 如果读者也有在浏览器中访问文件系统的诉求,欢迎 Star 和贡献,还可订阅博客以接收更新。

Latest Weekly Picks

make.ink favicon
Weekly Pick

Your AI tattoo generator for pro-grade concepts

Leo Wade
sellfy.com favicon
Weekly Pick

A code-free online store builder to turn views into revenue. Sell digital products, subscriptions, and merch, without fees or hassle.

Maris
www.videotoblog.ai favicon
Weekly Pick

Convert videos into awesome blog posts.

Video To Blog
www.sellerpic.ai favicon
Weekly Pick

SellerPic is the all-in-one AI design platform for e-commerce

SellerPic
fastimage.ai favicon
Weekly Pick

Fast Image AI instantly transforms your photos into stunning styles like Ghibli, Sketch, and Pixar. Effortlessly control image elements and create amazing effects with just one click.

Fast AI Team
linkedinpro.daisy.so favicon
Weekly Pick

AI-powered tool that transforms casual photos into professional LinkedIn headshots instantly. No photographer needed—just upload and download.

Gabriel
crevas.ai favicon
Weekly Pick

Crevas unifies Veo 3, Sora 2, Nano Banana and more into one intuitive canvas — so filmmakers can script, prompt, and generate cinematic stories without switching tools or losing consistency.

Spark Alpha
fotominiatur.com favicon
Weekly Pick

AI Foto Edit - Text to Image & Image Edit

foto miniatur