Skip to content

emberry-org/emberry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

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