Skip to content

A websocket server designed for chat, capable of scaling and smartly connecting to the server when a client is online.

Notifications You must be signed in to change notification settings

jupiterhub/pipu-api-chat

Repository files navigation

pipu-api-chat

A websocket server designed for chat, capable of scaling and smartly connecting to the server when a client is online.

Dependencies

  • pipu-api-chat-directory
  • Firebase (For message history)
  • Environment variable for JSON export GOOGLE_APPLICATION_CREDENTIALS=<path-to-json-file>

Dev mode

quarkus dev

Build for JVM mode

quarkus build

Build for native mode

quarkus build --native --no-tests -Dquarkus.native.container-build=true

Note: Native uses UPX for compression. A higher value means slower build time but lower disk size.

# compression level can be set as from 1-10
quarkus.native.compression.level=10

run via: ./build/pipu-api-chat-1.0.0-SNAPSHOT-runner

Build container

docker build -f src/main/docker/Dockerfile.native-micro -t jupiterhub/pipu-api-chat:1.0.0 .

About

A websocket server designed for chat, capable of scaling and smartly connecting to the server when a client is online.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published