Skip to content

gikaragia/gloomhavensecretariat

 
 

Repository files navigation

Gloomhaven Secretariat

Publish Latest Online Version Build and publish release Publish Docker Image

Gloomhaven Secretariat is a Gloomhaven/Frosthaven companion app and does bookkeeping of all entities values to gain more focus on gameplay. It is an open source web app made with Angular.

As GHS is a web application no installation is required and it runs in every modern browser even on mobile, still it can also be installed for offline usage.

For usage with multiple clients sharing the same game, the server component Gloomhaven Secretariat Server is required. A public instance is available under gloomhaven-secretariat.de port 8443 with secure option. (I also manage a public server list, so please contact me, if you're running a public instance yourself.)

GHS is based on the look&feel of the original Gloomhaven Helper (by Esoteric Software®). Since GHH is discontinued and not available anymore, GHS should become a well maintained successor, implementing all functionality of GHH, many improvements and many more features. For a comparison of some popular apps, see Comparison of Companion Apps.

As open source software this is meant for the community to actively contribute with ideas, suggestions and of course feedback. As I am not capable of good design/UX also feel free to contribute better assets.

If you need help using the app take a look at the help page. It is not complete but should help with all general steps to use GHS properly.

SPOILER WARNING: The label-spoiler.json files inside the data-folders and therefore the final edition data files in releases inside ./assets/data-folder contain spoilers by including the corresponding label.

More infos about spoiler in this repository

Support me

Buy me a coffee? (or Direct Donation via PayPal)

Current Features

  • Base Feature complete for GH, FH, JOTL, FC and CS (all needs testing, so please contribute!), for details see Data Progression
  • Tracking:
    • initiative sorting
    • health automatic exhausting/dead, max values for every level
    • conditions automatic expire + automatic apply (wound, wound_x, regenerate, bane, poison, poison_x, ward, brittle)
    • level, loot, experience of Characters
    • Character Progress level, loot, experience, items, battlegoals, perks, masteries
    • Character Attack Modifier Deck including perks & CS oak cards
    • Elements automatic update state
    • Monster Stats
    • Monster Standees automatic add standees for scenario rooms/sections and special rules (rooms/sections data WIP)
    • Monster Modifier Deck addition of Blesses and Curses, auto-shuffling
    • Monster Ability Cards auto-shuffling, calculated values (separated for normal and elite)
    • Character Summons
    • Scenarios and Sections with automatic level calculation, remind and apply special rules and scenario finish for applying character progress
    • Party Sheet
    • Campaign Management (some special Rules for CS missing)
    • Markers
    • Treasures (WIP)
  • Eliminating the following physical components:
    • monster ability cards
    • monster stats sheets
    • monster attack modifier deck
    • damage tokens
    • condition tokens
    • element board, element discs, round tracker, initiative tracker
    • character HP/XP dials
    • character boards
    • character sheets
    • character attack modifier deck
    • loot deck
    • party/campaign sheet
  • Other features:
    • i18n support (currently en, de, fr and ko, more translations required. Big thanks to contributers of french and korean)

    • PWA for installation on all devices!

    • Synchronize state (+ settings) with GHS Server

    • Permission management for different clients with GHS Server

    • load custom JSON edition data for custom content!

    • edit Monster Attack Modifier and Monster Ability decks (support for Diviner class mechanics): reveal cards, remove cards, re-order cards

    • FH Loot Deck support incl. Enhancements

    • Monster data editor

    • includes Solo Scenarios for GH, FC and CS

    • includes Blood and Sand campaign: can be enabled under Data Management (Big thanks to /u/Calm_Construction131 for contribution)

    • includes Seeker of Xor campaign: can be enabled under Data Management

    • manage multiple parties (on party sheet while no active scenario set)

    • SPOILER WARNING: Envelope X (and V)

      To add Envelope X (or V for ToA), enable it under Data Management, then type the complete name into the Character Filter (not case-sensitive).

Short term plans

  • validation of all existing data
  • room/section/standee data for all scenarios!
  • add Trail Of Ashes edition data

Long term plans

  • support for managing character ability cards

Install

Install as App

You can always install any hosted version as App (PWA) if your OS/Browser supports installation of PWA. For example here is the Latest Online Version.

Instructions for various devices/browser:

Standalone

An Electron app is provided for Linux, Mac and Windows. Download the corresponding files from the latest release assets.

only tested Linux AppImage for now

Selfhost

To selfhost Gloomhaven Secretariat on your webserver, simple download the zip file from the latest release and unzip to your webserver.

The base url for this build is set to root. To use a different base url please build your own package.

Build and run using Docker

Publish Docker Image

If you want to use docker for running on port 80 execute following:

docker pull gloomhavensecretariat/ghs
docker run --rm -p 80:80 --name ghs gloomhavensecretariat/ghs

For usage with docker compose, simple run docker compose up -d.

Build from source

If you want to create you own custom build (for example to selfhost), prepare a development setup. Afterwards run npm run build (available options) and access build under ./dist/gloomhavensecretariat.

Development

Prerequisite:

  • up-to-date Node.js and npm version

Checkout the source code with git clone https://github.com/Lurkars/gloomhavensecretariat.git.

Install dependencies with npm install.

Afterwards run npm run start to create a development server at http://localhost:4200.

For development with docker, install docker compose and run docker compose -f docker-compose.dev.yaml up -d.

Contributing

Feel free to file a new issue for bugs, features and improvements or start a new new discussion for help or feedback.

All game data is inside the data folder with subfolders for every edition. A review of all data by a third person would be awesome. As all files are JSON data it should be easily human readable. Every character, monster and monster deck has it's own file, so it should be easy to check. Every edition folder get concatenated to a single edition data file on build.

Also pull requests are welcome!

Please notice: all files inside data-subfolder will be automatically formatted and added to any commit. If you made local changes to those files and do NOT want to commit those changes, please use the --no-verify parameter for your git commit and git push commands.

Many thanks to all already contributed, you're awesome!

Archive

All older versions are also available on gloomhaven-secretariat.de, for example the first version v0.0.1 is available under v0-0-1.gloomhaven-secretariat.de. All available tags are listed under Releases, just replace all . with - for a proper url. This is meant as showcase for the evolution of GHS, but also as fallback, if a release does break anything important, than you can always fallback to a previous version.

Please keep in mind that there is no history of the server component. So connecting with older clients to the current server may not work properly!

Privacy

This app does NOT collect ANY personal data. Everything runs and stays in your browser/local storage. For usage of the server component please go to Gloomhaven Secretariat Server#Privacy.

Copyright / License

Gloomhaven and all related properties, images and text are owned by Cephalofair Games.

Assets/Data used:

Source code is licenced under AGPL

Personal disclaimer

This is a hobby project I do in my free-time. The software provides a practical need due to the end of the original Helper app and so I completely follow the Quick'n'Dirty approach to get things fast done. This leads of course to a lack of quality and testing and the code base does definitely not comply with my profession.

About

A Gloomhaven / Frosthaven Companion App

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 52.3%
  • SCSS 24.0%
  • HTML 22.2%
  • JavaScript 1.5%