Adrien Béraud | 0561d3c | 2021-05-02 11:23:54 -0400 | [diff] [blame] | 1 | # Jami-web |
Larbi Gharib | e9af973 | 2021-03-31 15:08:01 +0100 | [diff] [blame] | 2 | |
Adrien Béraud | 0561d3c | 2021-05-02 11:23:54 -0400 | [diff] [blame] | 3 | Jami-web is a web server that starts a Dameon on NodeJS express server and serve a React web client. |
Larbi Gharib | e9af973 | 2021-03-31 15:08:01 +0100 | [diff] [blame] | 4 | |
| 5 | The first milestone is to allow user with LDAP credentials to connect to the account using JAMS service and start chatting with their contacts using instant messaging. |
| 6 | |
| 7 | Next step will be to implement a video protocol such as WebRTC to allow audio and video calls from the users browser to another Jami contact allowing crossplateform communications. |
| 8 | |
| 9 | # Main dependencies |
| 10 | |
Adrien Béraud | ab519ff | 2022-05-03 15:34:48 -0400 | [diff] [blame] | 11 | * Jami Deamon with NodeJS bindings (https://review.jami.net/admin/repos/jami-daemon), |
| 12 | * NodeJS v16+ |
Larbi Gharib | e9af973 | 2021-03-31 15:08:01 +0100 | [diff] [blame] | 13 | |
| 14 | # How to start the server |
| 15 | |
| 16 | After building the Jami daemon you can use the following command to start the node js server using the LD_LIBRARY_PATH |
| 17 | |
| 18 | Where $PATH_TO_JAMI_PROJECT is the path to the shared library of your Jami daemon |
| 19 | |
| 20 | LD_LIBRARY_PATH=$PATH_TO_JAMI_PROJECT/ring-project/install/daemon/lib node |
| 21 | |
| 22 | To build the dring.node Javascript interface to talk to the daemon api go to the daemon repo and use ./configure --with-nodejs then execute make -j4 to build the daemon |