Giter Club home page Giter Club logo

chatbox's Introduction

<<<<<<< HEAD

Preview


Included addon packages:

Checkout the LIVE DEMO

Prerequisites

  • PHP >= 7.4
  • Laravel >= 8.42
  • MySQL >= 8.x
  • PHPREDIS if using redis for drivers, which our default .env.example has set.

Notes

  • This demo is meant to be seeded before use. Registration also assumes a pre-seeded database, as we automatically create threads between the admin user and a newly registered user, as well as set friendships.
  • Calling will be disabled by default. Even though we have our janus-client installed, you are responsible for setting up your own Janus Server.
  • Please see Janus official docs for more information.
  • We use pusher.com by default for our websocket implementation, however you may choose to use the drop-in replacement laravel-websockets

Installation

Clone or download this repository

$  git clone [email protected]:RTippin/messenger-demo.git

Composer install

$  composer install

Rename the .env.example to .env and configure your environment, including your pusher keys if you use pusher.

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=1234
DB_DATABASE=demo
DB_USERNAME=root
DB_PASSWORD=password
PUSHER_APP_ID=
PUSHER_APP_KEY=
PUSHER_APP_SECRET=
PUSHER_APP_CLUSTER=
MESSENGER_SOCKET_PUSHER=true
MESSENGER_SOCKET_KEY="${PUSHER_APP_KEY}"
MESSENGER_SOCKET_CLUSTER="${PUSHER_APP_CLUSTER}"
#etc

Run the Install Command

  • This command will generate your APP_KEY for you, as well as migrating fresh and downloading our documentation files.
    • This will WIPE any data in your database as it runs migrate:fresh under the hood.
$  php artisan demo:install

Running locally:

Run these commands in their own terminal inside your project folder

$  php artisan serve
$  php artisan queue:work --queue=messenger,messenger-bots

Default seeded admin account:

Password: messenger

All other seeded accounts use messenger password as well


UI configurations / Websockets


Pictures

Sending images, voice messages, replies, and reactions

Preview


Interacting with a chat-bot using triggers to invoke responses

Preview


Viewing a bots actions and triggers

Preview


Managing a groups participants

Preview


In a video call

Preview


Sending documents and images, hovering over options / reactions

Preview

ChatBox

remotes/origin/main

chatbox's People

Contributors

abdulhamidbro avatar

Watchers

 avatar

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.