Giter Club home page Giter Club logo

universal-chat-widget's People

Contributors

catogonzalez avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

universal-chat-widget's Issues

Example config for RocketChat adpater

Hello :).

here,
just because it took me hours to find out the correct config params for the rocket chat adapter I give you an example for it that you can provide on the <>Code page of git hub.

config= {
"adapter": "RocketChat", // one of ActionCable or RocketChat (required)
"element": "#chat-widget",// css selector of element to replace in DOM when the chat widget renders (required)
"position": "bottom-right", // or embedded
"showAvatars": true,
"allowUploads": true,
"poweredByText": "121 Services", // yes, you can change this :)
"poweredByHost": "http://localhost:3000", // and this!
"adapterConfig": {
"backendUrl": "http://localhost:3000",
"deviceId": "c683b9da-c908-4407-97dd-91e6bf2552d1",
"initData": {
"username": "testbot",
"password": "123",
"data": {
"roomId": "GENERAL"
}
},
"mode":"private"
}
}

hope this help others to set up faster the uwc with rocket chat :).

You should also describe (for the beginners like me) that we have to build the adapter by our own and include it by copying it into node_modules folder. This path was not clear for a beginner like me.

Anyway, thank you for creating this universal chat client and building the adapter :) ๐Ÿ‘

Create user

Hi, thanks for this work, it's awesome ! I have a question , i want to have a form before having the chat widget where user can enter his username (and the password will be automatically generated) and then send data to my rocket chat backend to create this user. And finally display your vue.js widget.

i don't know if it's clear enough ..

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.