kevinmackenzie / localcloudstorage Goto Github PK
View Code? Open in Web Editor NEWA provider-agnostic cloud storage client for local backup and sync with encryption of remote data
License: MIT License
A provider-agnostic cloud storage client for local backup and sync with encryption of remote data
License: MIT License
This class will have a minimal interface, but has a background loop that is where the work happens. It periodically polls a provider for updates and then sends them to the item metadata.
Handles startup and construction of the aggregation layer and the instances. It will also handle application-level control (handling system events and presumably other things).
Sometimes the user wants to reconfigure the file system switching structure. This cannot be done while the instance is running, but the user should have the option to make this change. Migration is how this will be done. See doc for more details.
The first provider supported will be OneDrive since that is already what I have experience with on the previous revision of this project.
The file system will send events when local file system items change. These must be parsed and translated into item deltas to be sent up to the ItemMetadata
As the hub of all events and things that happen in an Instance, this should have a rock-solid set of interfaces with robust internals. It should be fully thread-safe.
Many of the events that occur will need to wait for some long-lasting event (network access/filesystem access). It is important to have a component that will allow these ItemDeltas to propagate to its destination without locking up the caller until then. This will probably act like an asynchronous queue.
We can't guarantee this application will be open all the time, so it is important to be able to scan through the local directory structure upon startup / on request to see if there are any updates to push to the remote.
This layer composes all of the Instances and views together and links them together.
This class is the interface between the instance and the aggregation layer. It allows read access to all information about deltas and item metadata along with other useful information, such as connection stats. It also is the only way to receive and resolve item delta conflicts.
There are two primary classes to accomplish this. The first is an abstraction layer on top of the file system to apply and generate ItemDeltas. The second is a class that will demux item deltas to the particular local file system locations that they should be going to (based on item path).
An asynchronous logging class for each of the instances. Can filter by severity, origin, component, time, etc.
We don't want to saturate the user's connection, so there should be a layer that monitors the total network usage and limits upload speeds across all instances to be sure it doesn't exceed cap.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.