cabal-club / cabal-client

interface for writing peer-to-peer chat clients
GNU General Public License v3.0
95 stars 14 forks source link

Shim out fs access #93

Open cblgh opened 2 years ago

cblgh commented 2 years ago

we recently had a pr that added a much-welcomed settings file (https://github.com/cabal-club/cabal-client/pull/89) however, as @khubo recently realized, this is fudging up cabal when used in the browser!

so we need to extract the settings logic into something that can work in the browser. so rather operate on the path using something that relies on the random-access-* ecosystem (like we're already doing in src/storage-node.js / src/storage-browser.js)