Open inverted-capital opened 1 year ago
We might be able to include this feature in the default DOS CLI. So you would start up the CLI with yarn start
and you could optionally pass in a path to watch, or we could use the current directory if you started it somewhere global. This would act a lot like IPFS, and if a connection was made to a remote server, it would copy the data you blockchained, to make it available when you go offline.
Make a tool that can insert itself as a service on linux, that watches a path in the filesystem.
Provide a non service mode, so it only runs on demand, like how git works.
Then demonstrate making the files available in the browser, being transported by the blockchain filesystem.
Service would provide a webpage that it loads, or you can dial in to it from a static hosted page on ghpages, provided you know the connection string to get to your server.
It should push any changes detected on the filesystem, and should pull down any changes detected.
Initially it would have no permission restrictions.