/broadcaster

Service to broadcast notifications over websockets for canvas game factions that use TemplateManager

Primary LanguageTypeScriptGNU Affero General Public License v3.0AGPL-3.0

Broadcaster

Service to broadcast notifications over websockets for canvas game factions that use TemplateManager

Installation

  1. yarn install
  2. Copy .env.example to .env and edit .env to configure the app
  3. yarn run build
  4. yarn start
  5. ⚠️ IMPORTANT: The first user that signs into a Broadcaster instance gets Manage permissions. So, you should open it in your browser and sign in now.

Usage

See API.md.

Panel

For humans, there's a panel/GUI at /.

Logging

By default, Broadcaster does not log outgoing notifications to a file. However, it does log them to stdout, so if you'd like a log of the notifications, you can just save that to a file.

Development setup

To get modules to work correctly in Visual Studio Code:

  1. yarn dlx @yarnpkg/sdks vscode (You might not need to do this one?)
  2. Ctrl+Shift+P in a .ts file
  3. Select TypeScript Version
  4. Use workspace version

Source

Also, be careful upgrading TypeScript

License & Copyright

Copyright (c) 2023 April april@dummy.cafe

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see https://www.gnu.org/licenses/.