Web-based client for Haven & Hearth that allows you to manage multiple game sessions through a web interface.
This is still alpha version, more like Proof of Concept
If you are not scared of running precompiled version of this client, and you have docker:
docker run -p 7901:7901 -d razikus/webhaven:0.3
open your browser on http://localhost:7901
OR
docker run -p 7901:7901 -e AUTOLOGIN_USER=ACCNAME -e AUTOLOGIN_PASSWORD=PASSWORD -e AUTOLOGIN_CHAR=CHARNAME -d razikus/webhaven:0.3
This will additionally init your program (currently ChatterProgram)
Download .jar from there
https://github.com/Razikus/WebHaven/releases/
Or build it yourself - mvn clean install
You must first install dependencies
ant -f build.xml extlib-env
ant -f build.xml extlib/jogl
ant -f build.xml extlib/lwjgl-base
ant -f build.xml extlib/lwjgl-gl
ant -f build.xml extlib/steamworks
ant -f build.xml res-jar
- Java 21 or later
- Maven 3.9+
- Node.js 20 or later
- Yarn package manager
- Clone the repository:
git clone https://github.com/Razikus/WebHaven.git
cd WebHafen- Build the frontend:
cd src/main/resources/public/WebHaven
yarn install
yarn build
cd ../../../..- Build the backend:
ant -f build.xml extlib-env
ant -f build.xml extlib/jogl
ant -f build.xml extlib/lwjgl-base
ant -f build.xml extlib/lwjgl-gl
ant -f build.xml extlib/steamworks
ant -f build.xml res-jar
mvn clean installRun the compiled JAR directly:
java -jar target/WebHafen-0.3.jarBuild and run using Docker:
docker build -t webhaven .
docker run -p 7901:7901 webhavenThe following environment variables can be configured:
HOST- Host to bind to (default: 0.0.0.0)PORT- Port to listen on (default: 7901)AUTOLOGIN_USER- Optional username for auto-loginAUTOLOGIN_PASSWORD- Optional password for auto-loginAUTOLOGIN_CHAR- Optional character name for auto-login
- Open a web browser and navigate to
http://localhost:7901(or your configured host/port) - Use the login page to start a new game session
- Manage active sessions through the sessions page
- Chat and monitor players through the web interface
- Multiple simultaneous game sessions
- Web-based chat interface
- Player monitoring
- Real-time WebSocket updates
- Responsive web UI built with Vue 3 and Tailwind CSS
- Automation framework
- Map view
- Around-objects view
- Headless ALT creation
- Alerts & notifications
The project consists of:
- Backend: Java with Maven
- Frontend: Vue 3 + Vite + Tailwind CSS
- WebSocket communication between frontend and backend
- Docker support for containerized deployment
To develop the frontend:
cd src/main/resources/public/WebHaven
yarn dev