Crates.io | tlfs |
lib.rs | tlfs |
version | 0.1.0 |
source | src |
created_at | 2021-12-28 21:12:59.714693 |
updated_at | 2021-12-28 21:12:59.714693 |
description | The Local First SDK |
homepage | |
repository | https://github.com/cloudpeers/tlfs |
max_upload_size | |
id | 504439 |
size | 51,577 |
There is no cloud, it's just someone else's computer.
The Local-First SDK offers a stack to write applications as productively as when using state-of-the-art cloud-based architectures, while providing the Seven Ideals for Local-First Software 0 -- basically for free:
The Local-First SDK comprises the following components:
The Local-First SDK comes in three flavours:
As the browser's API guarantees are weak, its environment has to be considered ephemeral1. This is why the optional Cloud-Peer supplemental services complement the browser environment very well (data persistence, peer discovery).
As of now, the SDK is just offered as an ES module, requiring asynchronous import:
import * as localFirst from 'local-first';
await localFirst.init();
[..]
Rust, libp2p, crdts, cambria, .. --> INSERT AWESOMENESS HERE <--
Licensed under either of
at your option.
Be respectful. Check out our Contribution Guidelines for specifics. Any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Most notably this is about persistence of user data (key material and application data). However, it's easy to lose one's browsing data by switching to another browser profile/container, etc. ↩