frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Ask HN: Who's Using the Origin Private File System?

5•ChadNauseam•19h ago
I think the OPFS [0] is just awesome. (For the uninitiated: each website gets a directory that only it can access, and it can write to & read from that directory at near-native speed.) Adobe uses it for the web-version of photoshop, to allow it to work with files that can't fit in browser memory [1].

I love it. I have the impulse to use it for basically everything that I don't use localStorage for. I first used it when writing an in-browser vector database, for which it was pretty much perfect. (I liked it so much I wrote an abstraction layer for it so I could write code once and have it work natively, in the browser, or in memory.) OPFS can be used from web workers and has a nice async API. But I very rarely hear anyone else talking about it. I wouldn't be surprised if most web devs don't know it exists. So I thought I'd ask here to see if anyone else is using it.

[0]: https://developer.mozilla.org/en-US/docs/Web/API/File_System_API/Origin_private_file_system

[1]: https://developer.chrome.com/blog/how-photoshop-solved-working-with-files-larger-than-can-fit-into-memory

Comments

austin-cheney•12h ago
OPFS summary on MDN - https://developer.mozilla.org/en-US/docs/Web/API/File_System...
owebmaster•48m ago
I find it interesting but doesn't use it as much because I prefer to use indexeddb.

Ask HN: Any good tools for viewing congressional bills?

69•tlhunter•4h ago•34 comments

Ask HN: Startup getting spammed with PayPal disputes, what should we do?

277•june3739•2d ago•179 comments

Ask HN: What are some good resources for coding best practices?

5•genericmask•5h ago•3 comments

Ask HN: Should I build a directory product?

3•alizaid•5h ago•3 comments

Ask HN: Has anybody built search on top of Anna's Archive?

282•neonate•2d ago•146 comments

Ask HN: Anyone else feeling increasingly alienated from the industry?

22•saubeidl•12h ago•16 comments

Ask HN: Who is hiring? (June 2025)

366•whoishiring•4d ago•469 comments

Ask HN: How do I learn robotics in 2025?

396•srijansriv•4d ago•99 comments

Ask HN: What are your fav/goto decision making hacks/heuristics?

5•ottaborra•12h ago•9 comments

Ask HN: How do I learn practical electronic repair?

180•juanse•6d ago•112 comments

Ask HN: Anyone making a living from a paid API?

247•meander_water•6d ago•172 comments

Ask HN: Running AI agents in isolated environments

4•polycaster•14h ago•1 comments

Ask HN: Options for One-Handed Typing

92•Townley•3d ago•93 comments

Ask HN: Who wants to be hired? (June 2025)

125•whoishiring•4d ago•388 comments

Ask HN: What do you put in claude.md and what you leave out?

5•bognition•1d ago•2 comments

Ask HN: What Does Your Self-Hosted LLM Stack Look Like in 2025?

17•anditherobot•1d ago•6 comments

Ask HN: Walking while working and having meetings

3•martythemaniak•18h ago•5 comments

Ask HN: Who's Using the Origin Private File System?

5•ChadNauseam•19h ago•2 comments

Ask HN: Where do you go for cutting-edge dev news and info?

3•TimTheTinker•1d ago•10 comments

Ask HN: What is the best LLM for consumer grade hardware?

238•VladVladikoff•1w ago•182 comments

O(1) memory, no-preprocessing reachability algorithm for 2D grids

2•MatthiasGibis•1d ago•1 comments

Ask HN: What tools are you using for AI evals? Everything feels half-baked

4•fazlerocks•1d ago•2 comments

Ask HN: How are parents who program teaching their kids today?

102•laze00•5d ago•91 comments

Ask HN: Dealing with Vibe Coding Depression?

17•softirq•2d ago•23 comments

Reaching my first 100 users without money or audience (at 10K users now)

32•felixheikka•3d ago•11 comments

How do you store and maintain your CV/resume over time?

10•xantin•2d ago•16 comments

Ask HN: List of skills to survive the AI tsunami

16•cookiemonsieur•1d ago•7 comments

Ask HN: What's with the repeated job posts on "Who's hiring"?

85•rafavento•3d ago•41 comments

Ask HN: Best way to get laid off

10•jakamm•1d ago•25 comments

Ask HN: Resources for building AI agents for software development?

7•nadis•3d ago•3 comments