/emberry

🍊 A new way to chat with Friends

Primary LanguageRustGNU General Public License v3.0GPL-3.0

Powered by Tauri & SvelteKit

A new way to Chat with Friends


Emberry is a peer to peer chat application with the mission
To create a secure and efficient chat platform for everyone.
Emberry is still very early in its development, if you want to contribute contact me :D


Frontend

Install Javascript dependencies :
We use Yarn as our package manager ⠿
$ yarn

Start the development environment :

$ yarn tauri dev

Backend

For the backend setup add a .env file to the src-tauri directory :

/src-tauri/.env

SERVER_ADDRESS=<server_ip>:<udp_port>
CONTROL_ADDRESS=<server_ip>:<ctrl_chnl_port>
SERVER_DOMAIN=<certificate domain name>
CERT=<server X509Certificate>

Then add a build/ directory on the same level as src/ and src-tauri/ as shown below :

./emberry/* 
  ├─ build/      - # Vite build output
  ├─ src/        - # Frontend codebase
  ├─ src-tauri/  - # Backend codebase
  ├─ static/     - # Production assets (included within the build)
  └─ README.md

Dependencies

To build Emberry on arch based systems the following packages need to be installed :

$ pacman -S webkit2gtk

Running

To run Emberry in developer mode use the following command :

$ yarn tauri dev