Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dills122/session-chat

A secure chat app that you can host yourself
https://github.com/dills122/session-chat

angular chat chat-application encrypted nestjs rushstack secure socket-io

Last synced: about 4 hours ago
JSON representation

A secure chat app that you can host yourself

Awesome Lists containing this project

README

        

# Session Chat: Secure Session Chatrooms

[![CI Job](https://github.com/dills122/session-chat/actions/workflows/ci.action.yml/badge.svg)](https://github.com/dills122/session-chat/actions/workflows/ci.action.yml)

Chat securely with one or more associates without a worry of it getting out.

## Getting Started

At the moment this will need `node v18` or greater.

```bash
# setup the correct node version
nvm install lts/hydrogen
nvm use lts/hydrogen
# installs all dependencies
rush install
# sanity check
rush test:ci
```

### Setting Up Local Env

If your on MacOS then you can get away with just running the `./scripts/setup-certs.sh`.

For other OS's you'll need to make sure these dependencies are installed first.

Install `mkcert` & `nss` through `choco` for `Windows` or `apt-get` on your linux distro.

**Note `powershell` needs to be run in `administrator` mode.**

MacOS Setup:

```bash
# Sets up the SSL certs for local development
./scripts/setup-certs.sh
# Adds needed rows to the hosts file
./scripts/configure-hosts-unix.sh
# Setup Encryption keys for backend
./scripts/setup-backend-keys.sh
```

Now that all the dependencies are setup you can spin up the local docker env.

```bash
# starts dev env
rush docker-up:dev
# start UI project separately
cd ./apps/chat-frontend/ && rushx start:dev
```

## Notes & Misc

### Upgrading Packages

```bash
# check all packages but angular ones
ncu '/^(?!.*angular).*$/'
```