Skip to content
Snippets Groups Projects
Select Git revision
  • 68ca18ac9474f36a761abf1f07f9a4737dea31c9
  • main default
  • langleyd/add_agpl_and_commercial_license
  • fix-sso-issue
  • get-logs
  • fix-doc
  • fix-80
  • hs/hs-instructions
  • hs/title-and-screenshot
  • fix-69
  • fix-redact
  • hs/demo
  • disable-composer
  • pre-release-maintenance
  • fix-race-session
  • use-previous-room
  • hs/tests
  • upgrade-sdk-0.0.14
  • disable-button
  • fix-tiles
  • button-spinner
  • v0.5.2
  • v0.5.1
  • v0.5.0
  • v0.4.2
  • v0.4.1
  • v0.4.0
  • hhs_staging
  • v0.3.2
  • v0.3.1
  • v0.3.0
  • v0.2.3
  • v0.2.2
  • v0.2.1
  • v0.2.0
  • v0.1.1
  • v0.1.0
37 results

chatterbox

  • Open with
  • Download source code
  • Your workspaces

      A workspace is a virtual sandbox environment for your code in GitLab.

      No agents available to create workspaces. Please consult Workspaces documentation for troubleshooting.

  • user avatar
    Midhun Suresh authored
    Use git-lab ci to do automatic build and release on tag creation
    
    See merge request new-vector/modular/chatterbox!3
    68ca18ac
    History

    Chatterbox lets you securely embed Hydrogen within any website.

    Develop Instructions


    1. Clone the repo.
    2. Install dependencies (you only need to do this once):
      yarn install
    3. Modify config.json in public directory with your homeserver details.
      (See types/IChatterboxConfig.ts)
    4. Start develop server:
      yarn start

    Build Instructions


    Follow the develop instructions above (steps 1-3), then:

    • Build chatterbox app into /target directory:
      yarn build

    Embed Instructions


    Assuming that the build output (inside /target) is hosted at <root> (eg: chatterbox.element.io), copy and paste the following snippet before the closing </body> tag:

    	<script>
    		window.CONFIG_LOCATION = "path_to_config";
    	</script>
    	<script src="<root>/parent/assets/parent.js" type="module" id="chatterbox-script"></script>