Hivemind consumes signals between entities at various resolutions and displays them in real-time through a unique time series visualization.
- Docker
- Node.js and npm
Start TimescaleDB with the following command:
docker run -d --name timescaledb -p 5432:5432 -e POSTGRES_PASSWORD=password timescale/timescaledb-ha:pg14-latest
Once TimescaleDB is running, set up your database using server/db.sql
.
This will create the necessary tables, hypertables, materialized views, and functions.
Navigate to the server directory, install dependencies, and start the server:
cd server
npm install
npm run dev
Set up and start the client in a similar manner:
cd client
npm install
npm run dev
In this demo, users can generate incoming signals corresponding to various emotions or actions by pressing designated keys:
J - Joy
S - Sadness
L - Love
T - General Thought
While signals in the demo are generated via key inputs, the future plan is to connect this to a more meaningful source, such as user sentiment signals or even a brain-computer interface 🤯.
This demo features 5 users, demonstrating duplicated signals for a more comprehensive visualization. The client connects to the server via a basic WebSocket stream, allowing for real-time interaction and signal processing.