LGro / coagulate

Staying in contact, with privacy friendly location sharing and contact synchronization powered by Veilid.
https://coagulate.social
Mozilla Public License 2.0
10 stars 0 forks source link
coagulate contacts location p2p privacy sharing social sync veilid

Coagulate

Coagulate is a smartphone app to synchronize contact details and share current as well as future locations in a privacy preserving manner for everyone who wants to stay in touch with their peers.

When you are visiting a city, find out immediately who of your old friends you could meet and directly contact them with up-to-date contact details.

Features:

This Flutter based implementation is derived from VeilidChat. Accordingly, the Copyright to all code files belongs to the Veilid developers unless explicitly stated otherwise. Also, you might still find left over things called "veilidchat" that should be called "coagulate". If you find any, feel free to open a small pull request 😊

Development Setup

While this is still in development, you must have a clone of the Veilid source checked out at ../veilid relative to the working directory of this repository.

For platform specific development setup, see the scripts in ./dev-setup.

In case you prefer MapBox over OpenStreetMap as a map provider, specify an API token via the environment variable COAGULATE_MAPBOX_PUBLIC_TOKEN.

Building

To (re-)generate all code from templates, run

dart run build_runner build

Fastlane

For Fastlane setup see https://docs.fastlane.tools/

Based on the Gemfile of this repo, you can get fastlane with

bundle update

User Stories

Open app first time

I'd like to set up my profile with all the contact information I want to publish. I'd like to define different scopes that can see different subsets of my contact information to shape what is shared with others.

I'd like to see my contacts list with all already securely connected contacts that also have the app. If that's not possible, see highlighted / at top who has the app - not connected yet. If that's not possible, can I at least see most of them after I've connected with the first peer?

Connect

When I click on a contact that I haven't shared with to yet, I'd like to see a share menu for all encrypted messengers where I can share the sharing link.

When my contact accepts the invitation and shares with me, I'd like to see that highlighted.

When someone sends me a share code, I'd like to click on it and have the app automatically pick it up. It should then also ask me if I want to share back and if I say yes automatically do so.

After sharing is recognized in the app, I'd like the respective information to be updated.

See the map

I'd like to see a map where all the locations of my contacts are displayed. Locations by the same contact should be visually grouped somehow?!

When I click on a pin on the map I'd like to see their name when I zoom close enough I might also already want to see the initials or name

Recovery

When I loose my phone, I'd like to be able to tell four of my trusted contacts. They should then send me a message, which opens in the app. And after I've received all four, everything should be restored.

My updates

When I update my profile, I'd like all contacts I've shared with to receive the updated information without any unauthorized 3rd party being able to see the update or tie my social network to me / infer the social network. I'd like to also see which of my contacts already received my update.

Unshare

When I decide to stop sharing with someone, I'd like them not not be notified and for them to stop receiving any future updates.

Others updates

When ever someone else updates their profile, I'd like to get all the information, even if I'm not online at the same time and without unauthorized parties seeing the details.

Higher avail / federation

I would like to set up an always on node that I can configure to replicate everything my mobile node replicates.

Privacy

I'd like nobody to be able to discover my social graph or the contact details I share if they are not intended for them. I'd also like to remain anonymous to the peers I do not share my contact details with.

Architecture

Views

Actions

On each trigger (app open, background location change, ...?):

Open Questions