Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
README.md 2.75 KiB
Newer Older
Paul Monnery's avatar
Paul Monnery committed
<div align="center">
PtitLuca's avatar
PtitLuca committed
  <img src=".github/poclogo2.jpg" width=50%"/>
Paul Monnery's avatar
Paul Monnery committed
</div>
Paul Monnery's avatar
Paul Monnery committed

PtitLuca's avatar
PtitLuca committed
Elivia is an open-source project resulting from a partnership between the [PoC R&D center](https://github.com/PoCInnovation) and the [/e/ Foundation](https://e.foundation/),
along with the supervision of [Gaël Duval](https://fr.wikipedia.org/wiki/Ga%C3%ABl_Duval).

The goal of this project is to create a personal assistant that respects the privacy of its users, that can run on the /e/ operating system.

Elivia is composed of two parts :

- A frontend mobile application. It is currently written in Kotlin and can be built with Android Studio.

- A backend application. It is currently written in Go and is built on top of the [Olivia](https://github.com/olivia-ai/olivia) project. It contains an AI and a CLI tool made for testing purposes.

You can learn more about each one of these two parts in the corresponding folder located at thr root of this repository.

## Installation

#### Requirements

- **Frontend**

    You need [Android Studio](https://developer.android.com/studio) to build the frontend application. When you'll open the project, it will automatically sync all required dependencies.
    As long as you can build the application targetting the Android 4.0 to 9.0 platform, it will work.

    Learn more about the frontend [here](https://github.com/PoCInnovation/Elivia/blob/master/front/README.md).

- **Backend**

    You need to have go or Docker installed to run the Olivia based AI & server.
    Learn more about the backend [here](https://github.com/PoCInnovation/Elivia/blob/master/back/README.md).
Paul Monnery's avatar
Paul Monnery committed

Qwexta's avatar
Qwexta committed
 ## Installation
Paul Monnery's avatar
Paul Monnery committed

PtitLuca's avatar
PtitLuca committed
First you have to clone the repository.

Qwexta's avatar
Qwexta committed
```shell
git clone git@github.com:PoCInnovation/Elivia.git
Qwexta's avatar
Qwexta committed
```
Paul Monnery's avatar
Paul Monnery committed

Qwexta's avatar
Qwexta committed
## Quick Start
- **Backend**
PtitLuca's avatar
PtitLuca committed

You can run the backend on your local environment and make request to the server. Please note that the target IP is not configurable yet.

Qwexta's avatar
Qwexta committed
```shell
cd back
go run ./
Paul Monnery's avatar
Paul Monnery committed
```

- **Frontend**

PtitLuca's avatar
PtitLuca committed
In the first place, you need to open the `MainActivity` file located in `app/java/com.poc.elivia/` and set your server local IP address at line 26.

To build the frontend application, open the front/Elivia folder in Android Studio.
In the `Build` tab, select `Build Bundle(s) / APK(s)` and then `Build APK(s)`.
Paul Monnery's avatar
Paul Monnery committed

Once the build has finished, you can copy the apk to your smartphone and install it by opening it in your file explorer.
Paul Monnery's avatar
Paul Monnery committed

PtitLuca's avatar
PtitLuca committed
## Authors
Qwexta's avatar
Qwexta committed

* [Theo Ardouin](https://github.com/Qwexta)
PtitLuca's avatar
PtitLuca committed
* [Luca Georges Francois](https://github.com/PtitLuca)
Paul Monnery's avatar
Paul Monnery committed

Qwexta's avatar
Qwexta committed
## Source
Paul Monnery's avatar
Paul Monnery committed

PtitLuca's avatar
PtitLuca committed
As mentionned in the project description, Elivia backend is built on top of the [Olivia](https://github.com/olivia-ai/olivia) project and more precisely the backend.
Because it is still in development, we may update the current version of the AI.
Paul Monnery's avatar
Paul Monnery committed

Qwexta's avatar
Qwexta committed
## License
Paul Monnery's avatar
Paul Monnery committed

PixelFault-tech's avatar
PixelFault-tech committed
This project is under MIT licence