Self Hosted End to End Encrypted Chat System
# With the power of Flutter, Appwrite, and this app, you can easily host your Encrypted chat system in a few simple steps. No more fear of being snooped on, since you have all the control over your messages that are secured using a private key - and an even more awesome thing is that it's open-source so you can modify it to make it however you want it to be. The encryption is based on public-private key pairs where the private key is generated on the device and you can keep a backup of it using a QR code generated inside the app, which makes switching devices easy without data loss. The theme is based on Appwrite's website - and everything else is just CUTE AND SECURE.
To get a local copy up and running follow these steps.
.env
file_APP_FUNCTIONS_ENVS
and set it's value to dart-2.16
_APP_FUNCTIONS_ENVS
field - Save the filedocker-compose up -d
localhost:80
or if you set some other portKeep the project id as ecat
unless you want to rebuild your application.KEEP PACKAGE NAME AS IS
coding.fries.ecat
appwrite login
./create.sh yourProjectID yourProjectName yourHost yourAPIKey
For Windows
./create.cmd yourProjectID yourProjectName yourHost yourAPIKey
appwrite deploy --all
a
and enter
then again select all a
and enter
appwrite deploy -all
might fail while deploying functions and give you an error Unexpected token
localhost:80
and go to functions1. createMessageCollection
2. createUserDocument
3. notifyUser
For all three of these you have to add these variables in the settings
For createMessageCollection
and notifyUser
add this in Execute access section:
role:member
and For createUserDocument
check the account.create event
Download the apk, install and Open your app - Set your setup information by clicking the settings icon on the login screen - Enjoy free and private encrypted chat
👤 Awais Amjed
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!