GithubHelp home page GithubHelp logo

cympletech / esse Goto Github PK

View Code? Open in Web Editor NEW
496.0 14.0 69.0 15.51 MB

Encrypted peer-to-peer IM for data security. Own data, own privacy. (Rust+Flutter)

License: GNU General Public License v3.0

Kotlin 0.17% Objective-C 0.06% Swift 0.38% Ruby 0.36% Dart 53.55% CMake 1.57% C++ 2.76% C 0.22% Shell 0.24% Rust 40.70%
rust flutter cryptography p2p cross-platform data web3 data-security

esse's Introduction

ESSE

Do you have watched "Black Mirror" The first episode of the second season? The story of the โ€œrebirthโ€ to accompany the lover based on the text, photos, videos and other information posted on the Internet.

So is this "data" accessible to everyone or some companies?

What we want to do is protect this data and privacy. you can see details what we are doing.

ESSE (Encrypted Symmetrical Session Engine) An open source encrypted peer-to-peer system for own data security, and allow data to be sent securely from one terminal to another without going through third-party services. Also provides data visualization and interactive entry. With a friendly interface for users, it transforms abstract data concepts into software that everyone can actually experience.

Slogan: My place, my rules.

image

ESSE, positioned as an engine. The engine is coded in Rust language based on TDN framework, and the cross-platform user interface is built using Flutter.

Features

  • Encryption Everywhere
  • Distributed Identity
  • Distributed Devices
  • Distributed Notes & Files
  • Distributed Storage & Synchronization
  • Built-in Chat with friend (IM) service
  • Built-in Group Chat service
  • Built-in DAO social & operating service
  • Built-in Personal Domain service
  • Built-in Wallet service (Support ETH/ERC20/ERC721)
  • Built-in Robot assistant service
  • Multi-identity System
  • Multi-platform Support: Android, iOS, iPadOS, MacOS, Windows, Linux, etc.

Screenshots

Document

Install

๐Ÿš€ Use pre-compiled executable

Download

๐Ÿšฒ Compile from source

1. Pre-installed

  • Rustup install
  • Rust (Lastest Stable version)
  • Flutter (Lastest Stable channel)

2. Compile Rust code to dynamic link library (FFI)

2.1. Auto-compile script

It is recommended to use rust.sh to auto-compile the Rust code

2.2. Manually compile
Linux / MacOS / Windows
  • cargo build --release
Linux
  • cp target/release/libesse.a core/linux/share/libesse.a
MacOS
  • cp target/release/libesse.a core/macos/share/libesse.a
Windows
  • cp target/release/esse.dll core/windows/share/esse.dll
  • cp target/release/esse.dll.lib core/windows/share/esse.dll.lib
Android
  1. Add your android device target
  • rustup target add aarch64-linux-android
  • rustup target add armv7-linux-androideabi
  • rustup target add x86_64-linux-android
  1. Configure your NDK

  2. Build the jniLibs

  • cargo build --release --target=aarch64-linux-android
  • cp target/aarch64-linux-android/release/libesse.so core/android/src/main/jniLibs/arm64-v8a/
iOS
  1. Install lipo
  2. cargo lipo --release
  3. cp target/universal/release/libesse.a core/ios/share/libesse.a

3. Run flutter to build binary

  • Run flutter run or flutter run --release in terminal, or
  • for Android, run flutter build apk, or
  • for Linux, run flutter build linux, or
  • for MacOS, run flutter build macos, or
  • for Windows, run flutter build windows

License

This project is licensed under

Donation

ESSE is still in its infancy, both technical and financial support are welcome. Thank you for your support.

ETH๏ผš0xbB64D716FAbDEC3a106bb913Fb4f82c1EeC851b8

For more information, please visit:

esse's People

Contributors

daocuong avatar dependabot[bot] avatar joeydarko avatar omahs avatar sunhuachuang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

esse's Issues

[Feature] encrypted local SQLite database.

What ?

Encrypted local SQLite database.

Why ?

Encrypted everywhere.

How ?

  • use sqlcipher to handle SQLite. use rusqlite and features bundled-sqlcipher-vendored-openssl. (better for cross-compile)
  • update tdn_storage API. use open(path: PathBuf, password: &str)
  • update ESSE
    • account.db: use device's local secret (every device drive it randomly when first launch) to encrypt/decrypt.
    • account's database: use user encrypt key (which is encrypted by user's PIN and secret) to encrypt/decrypt.

Next version 0.6

What is the plan of 0.6 ? (Breaking changes)

List

  • Data structure defined Data-Protocol.
  • Local encrypted database.
  • Refactor distributed synchronization between devices.
  • Optional cloud-based data centre.
  • DAO and organization application (Maybe in 0.7)

Making installer, and publish to app store.

For safer and more convenient

Android

Now that is apk, can install, but we need to upload to Play Store

IOS

First, I need to register an IOS developer account. And then upload to App Store.

macOS

Also need account, and upload to App Store.
Need test on M1 device (arm64)

Windows

Make Windows installer. Try msix

Linux

Upload to snap

error: $./rust.sh in zsh

$ ./rust.sh linux          
./rust.sh: 2: Syntax error: "(" unexpected

Fix

Add default sh #!/bin/bash to rust.sh

#!/bin/bash
#### Default Current Machine
function current() {
    cargo build --release

    ## check now os.
}
...

Add NFT as account avatar.

I think NFT can be as avatar.

When import an account with secp256k1, it will have ETH address. So we can use a NFT that belongs to this address as avatar.

Problem with understanding logic.

Can you explain why the Rust is in the same file as Flutter? I am trying to understand all the logic to be able to install this locally. I have problems running the application in XCode. I only get splash screen for a few seconds and kick me out.

[Doing] use "PeerID" replace "ESSE ID & PeerID".

Now, if you search a friend, you need to know ESSE ID and PeerID.
How about only use PeerID ?

Advantages

  1. Easy to understand
  2. User info is smaller
  3. Easy to handle network connect/disconnect

Disadvantages

  1. Can't at same time online multiple accounts. (one account is one PeerID)
  2. Login before network start
  3. Logout will make network stop
  4. Change account, restart network
  5. Difficult to identify whether connecting to cloud service

Step

  1. chamomile support stop network, restart network, and TDN also add
  2. Refactor account system

How

use new ID (string)

pub fn id(peer: &tdn_types::primitive::PeerId) -> String {
    bs32::encode(&peer.0)
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.