syphon-org / syphon

⚗️ a privacy centric matrix client
https://syphon.org
GNU Affero General Public License v3.0
1.03k stars 71 forks source link
dart e2ee encryption flutter linux matrix privacy redux


a privacy centric matrix client - now in open alpha*

Get it on Google Play Download on the App Store Download on Flathub


Translation status

Syphon is still in alpha and we do not recommend
using it where proven and independently verified security is required.


🤔 Why

Syphon aims to be built on the foundations of privacy, branding, and user experience
in an effort to pull others away from proprietary chat platforms to the matrix protocol.

Matrix has the potential to be a standardized peer-to-peer chat protocol, and in a way already is, that allows people to communicate and control their conversation data. Email has been standardized this way for a long while. Someone using Outlook can still email someone using Gmail. Most popular proprietary chat platforms do not adhere to a federated or decentralized protocol, and as a result have too much control over users data.

If the goal for Matrix is adoption, a network effect is required for this paradigm shift. Syphon bets the best way to attract new users is through strong branding and user experience. I hope that contributing and maintaining Syphon will help kick start this process and help those in need.

Syphon will always be a not for profit, community driven application.

✨ Features

🚀 Goals

🌙 Nightlies

📝 Contributing

🏗️ Building

You may notice Syphon does not look very dart-y (for example, no _private variable declarations, or using redux instead of provider) in an effort to reduce the learning curve from other languages or platforms. The faster one can get people contributing, the easier it will be for others to maintain or oversee a tool that does not exploit the user.

continuous integration

See our CI script if you wish to set up automated builds. It should also contain the most up-to-date build steps in case you are having trouble with those below.

workstation

ios/android

only android

  1. install android studio
  2. install latest commandline tools through android studio gui
  3. confirm sdkmanager is available in your path
  4. pull the latest cmake, NDK, and other dependencies
    • sdkmanager --install "ndk;21.4.7075529"
    • sdkmanager --install "cmake;3.10.2.4988404"
  5. run the script scripts/init-android.sh
  6. continue with next section ios & android

ios & android

  1. pull dependencies needed
    • flutter pub get
  2. generate json conversion for models
    • flutter pub run build_runner build --delete-conflicting-outputs
  3. generate json conversion for models
    • flutter run

macos

  1. flutter config --enable-macos-desktop
  2. brew install libolm to install native olm dependencies
  3. copy the dylib - not the soft links - to the macos folder
    • cp /opt/homebrew/Cellar/libolm/libolm.3.x.x.dylib ./macos/libolm.3.x.x.dylib
  4. follow instructions for linking the dylib generated from brew to the Syphon project
  5. flutter build macos to build the .app bundle

linux

  1. flutter config --enable-linux-desktop
  2. apt install libgtk-3-dev liblzma-dev libblkid-dev libsecret-1-dev libolm-dev libolm3 libsqlite3-dev libjsoncpp-dev libsqlcipher-dev or distribution equivalent
  3. flutter build linux && flutter build bundle
  4. navigate to release at $SYPHON_ROOT/build/linux/release/bundle
  5. Confirm build works with running $SYPHON_ROOT/build/linux/release/bundle/syphon

windows

  1. flutter doctor should give you warnings for anything missing
  2. flutter config --enable-windows-desktop
  3. Compile olm & move olm.dll to libolm.dll in the executable directory
  4. Fetch sqlite's Precompiled Binaries for Windows dll from the website

📐 Architecture

store

assets

integrations

references