Skip to main content

locality_social_cloud 1.8.0 copy "locality_social_cloud: ^1.8.0" to clipboard
locality_social_cloud: ^1.8.0 copied to clipboard

Write social apps with Flutter. This code connects to the backend of Locality Social Cloud to provide realtime state synchronization across devices.

This package #

Is an implementation of caching for locality_core

locality_social_cloud #

Locality is there to fuel the development of serverless Social Apps with Flutter. Social Apps are fundamentally a technological reflection of real social interactions. In real social interactions, we interact through objective space that transports state changes at light speed. The challenge of creating objective spaces for multiple observers across many devices is fundamental. Traditionally, state management and business logic are performed on servers. This creates significant challenges when dealing with End-to-End-encrypted interactions. With Locality Social Cloud, you can create serverless Social Apps and model all your domains on the frontend. This allows for improved flexibility when building or updating features (no deployment) and allows you to develop Social Apps in a way where the problem modelling just fits the problem space more naturally.

Examples of this pattern #

For example, a chat you can view as just a distributed list of messages. All observers want to modify and see the same list of messages. The same way, a FriendList is just a distributed List of Friends. This has the advantage that the user can restore their FriendList on another device, even though it may be encrypted. A cryptocurrency you could see as a distributed Map, Key-Value-store, with an authoritative timeline; all observers want to modify and view the same map.

How to obtain a backend #

For testing purposes, you can use the public test realm

    realmId: "ptr2",
    realmSecret: "h3w1uzXhmHc4JvZi6ZE6bGXlPPISH/t26Pb6vtGzffE=",

or create your own realm at https://localitysocial.cloud. It is possible to license the backend. Furthermore you can obtain physical servers running the Locality Social Cloud at https://localitysocial.store. These servers are optimized for low energy cost. Your servers can be connected into a distributed system. This allows you to upscale your operations.

2
likes
0
points
228
downloads

Publisher

verified publisherlocality.media

Weekly Downloads

Write social apps with Flutter. This code connects to the backend of Locality Social Cloud to provide realtime state synchronization across devices.

Homepage
Repository
View/report issues

License

unknown (license)

Dependencies

connectivity_plus, cupertino_icons, flutter, http, locality_core, provider, sqflite, sqflite_common_ffi

More

Packages that depend on locality_social_cloud