Skip to content

wireapp/broadcast-app

Repository files navigation

Wire™

Wire logo

This repository is part of the source code of Wire. You can find more information at wire.com or by contacting opensource@wire.com.

You can find the published source code at github.com/wireapp/wire.

For licensing information, see the attached LICENSE file and the list of third-party licenses at wire.com/legal/licenses/.

No license is granted to the Wire trademark and its associated logos, all of which will continue to be owned exclusively by Wire Swiss GmbH. Any use of the Wire trademark and/or its associated logos is expressly prohibited without the express prior written consent of Wire Swiss GmbH.

Broadcast-App PoC

Message multiple conversations simultaneously. This sample Wire App is intended as a Proof of Concept to manage basic DB whitelisting and sending the message in multiple conversations. It's not intended to be used in production as is, but rather as a starting point for building more complex Wire Apps.

Prerequisites

Create a .env file in the project root as specified in SDK documentation
You can use the .env.sample file as a starting point and fill in data for the Wire user that will own the App. The database environmental variables are already specified in postgres.env

Usage

  1. Start the App
  docker compose up
  1. Authorize Wire user to broadcast.
    Insert Wire ID + domain into the database:
  ./authorize_user.sh <user_id> <user_domain>
  # e.g. ./authorize_user.sh e514b71a-81d4-453f-84ec-a8a68b6804e2 wire.com
  1. Add App to Conversations
    Invite the App into any conversation you want to include in the broadcast.

  2. Send a Broadcast In any conversation where the App is present, use:

/broadcast <your message here>

This will send the message to all other conversations where the App is added.

About

Message multiple conversations simultaneously

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors