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: 3 months ago
JSON representation
A secure chat app that you can host yourself
- Host: GitHub
- URL: https://github.com/dills122/session-chat
- Owner: dills122
- Created: 2021-08-23T22:24:49.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2025-02-21T22:16:08.000Z (4 months ago)
- Last Synced: 2025-03-27T22:51:08.544Z (3 months ago)
- Topics: angular, chat, chat-application, encrypted, nestjs, rushstack, secure, socket-io
- Language: TypeScript
- Homepage:
- Size: 582 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 14
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# Session Chat: Secure Session Chatrooms
[](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).*$/'
```