ForstaLabs / forsta-web-messenger

Forsta Web Messenger

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

forsta-web-messenger

Forsta web messaging app.

Change Log

Building

make

Running

make run

Dev

The UI must be built for proper function. To avoid having to call make repetitively you can use make watch to automatically rebuild and install the changed sources.

Embedded Client [NEW]

See the forsta-messenger-client for details on embedding a custom messenger into your applications.

Embedded Client [DEPRECATED]

For installation in 3rd party sites you can include an <iframe> of our embedded client. The user is /@embed and takes various parameters to tune the session. The only required argument is token which must match an organizational ephermeral-user-token.

For example:

<iframe src="http://localhost:1080/@embed?token=TESTING&first_name=Demo&email=foo@bar.com&to=@support:forsta.io"></iframe>

And with calling support (NOTE the allow attribute required for new browsers):

<iframe allow="camera; microphone" src="https://app.forsta.io/@embed?token=TESTING&allowCalling"></iframe>

Query Arguments

  • to: Distribution (tags) to start thread with.
  • token: Ephemeral user token for the organization.
  • theme: Theme for interface (e.g. minimal, dark, pink, plaid).
  • first_name: First name of ephemeral user.
  • last_name: Last name of ephemeral user.
  • email: Email of ephemeral user.
  • phone: Phone of ephemeral user.
  • allowCalling: Enables video calling support (no value required).
  • forceScreenSharing: Forces video calling support to ONLY support screen sharing (no value required).
  • threadId: Hardcode the threadId in UUID format (EXPERT USE ONLY).
  • disableHeader: Disable top header panel.
  • disableCommands: Disable user commands like /help.
  • logLevel: Optional filter for console.[debug, info, warn, error].
  • salt: Optional identifier which can be set or changed to force new user creation.

License

Licensed under the GPLv3: http://www.gnu.org/licenses/gpl-3.0.html

  • Copyright 2015-2016 Open Whisper Systems
  • Copyright 2017-2019 Forsta Inc.

About

Forsta Web Messenger

License:GNU General Public License v3.0


Languages

Language:JavaScript 68.9%Language:CSS 27.4%Language:HTML 2.9%Language:Smarty 0.4%Language:Makefile 0.2%Language:Shell 0.1%Language:Dockerfile 0.0%Language:Batchfile 0.0%Language:Ruby 0.0%