by ChadNauseam on 6/10/25, 5:31 PM with 1 comments
by ChadNauseam on 6/10/25, 5:31 PM
I haven't yet been able to verify that it works as expected, but if so, it's very exciting because it means the Origin Private File System is much more usable now.
One reason that the OPFS is so useful is that, unlike other web abstractions for persisting data, the concept of writing and reading files also makes a lot of sense natively. This is an area that's exciting to me because it opens up the possibility of having one codebase that can run natively (using normal file operations) or on the web (using OPFS). This is the approach I took for my in-browser vector database [1], which is powered by an open-source abstraction layer that does just that [2].
[0]: https://news.ycombinator.com/item?id=44197134