emberry-org / emberry

🍊 A new way to chat with Friends

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

🍊 A new way to chat with Friends

License:GNU General Public License v3.0


Languages

Language:Rust 56.5%Language:Svelte 24.8%Language:TypeScript 15.6%Language:JavaScript 1.5%Language:CSS 1.4%Language:HTML 0.2%