Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD

syphon

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

01-android-tiny

03-android-tiny

05-android-tiny

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 in this way for a long time. for example, 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 makes the bet that 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

  • no analytics. period.
  • no proprietary third party services
    • ios will have apns support, but will be made clear to the user
  • all data is aes-256 encrypted at rest
  • e2ee for direct chats using olm/megolm
  • all indicators of presence are opt-in only (typing indicators, read receipts, etc)
  • customize themes and colors throughout the app

�� goals

  • [x] desktop clients meet parity with mobile
  • [ ] screen lock and pin protected cache features
  • [ ] p2p messaging through a locally run server on the client
  • [ ] allow transfering user data from one homeserver to another, or from local to remote servers
  • [ ] cli client using ncurses and the same redux store contained here (common)

��️ 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.

general

  • you’ll to do several things to setup the environment for syphon
    • install flutter (stable channel for ios/android)
    • install android studio
    • install cmake version for workstation platform (for olm/megolm)
    • install libs needed for cmake
      • macos -> brew install ninja
      • linux -> sudo apt install ninja-build
    • download repo and init submodules
      • git submodule update --init --recursive
    • run the following prebuild commands
      • flutter pub get
      • flutter pub run build_runner build

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. follow instructions for linking the dylib generated from brew to the syphon project
  1. flutter build macos to build the .app bundle

linux

  1. flutter config --enable-linux-desktop
  2. apt install libolm3 libsqlite3-dev or pacman -s libolm or platform equivalent for libolm
  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

  • not currently supported, feel free to reach out if you can support making builds!

�� architecture

store

  • views (flutter)
  • state (redux)
  • cache (redux_persist + json_serializable + sembast)
  • storage (sembast + sqflite + codec cipher)

assets

  • looking for branding or design files? they can all be found here, in the top level assets folder.

integrations

  • notifications
    • utitlizes android_alarm_manager on android to run the matrix /sync requests in a background thread and display notifications with flutter_local_notifications
    • no third party notification provider will ever be used outside apples apns for ios only
  • equatable
    • this library allows comparisons of objects within flutter to tell if they have changed.
  • jsonserializable
    • unfortunately, json is not integrated directly in dart/flutter for your own objects. code generation is required, for now, and will convert syphon’s custom objects to a ‘map’ of respective json fields
  • freezed (future)
    • because every object in syphon is immutable, freezed will help create objects doing the same thing all the ‘copywith’ helper functions do today, with the improvement of allowing ‘null’ values to overwrite non-null values
  • fastline directory
    • fastline is not used as tool, but is there to provide a schema of metadata to fdroid

Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD

Comments are closed.