Get support for jcubic/dialogue

If you're new to LTH, please see our FAQ for more information on what it is we do.

Qualified Helpers
jcubic
owner From $50 / 30 mins
Get help from jcubic

jcubic/dialogue

Dialogue

Chat JavaScript Open Source library

Usage

Terminal and Firebase

import { Dialogue, FirebaseAdapter, Terminal } from "https://esm.sh/dialogue";

const term = $('body').terminal($.noop, {
    exceptionHandler(e) {
        this.error(`Error: ${e.message}`);
    },
    greetings: false
});

const firebase_config = {
    /* your firebase config */
};

const dialogue = new Dialogue({
    adapter: new FirebaseAdapter(firebase_config),
    renderer: new Terminal(term),
    ready: () => {
        term.exec('/join general');
    }
});

Todo

  • Notifications
  • Sound Notifications
  • Online users per room
  • UI
    • React
    • Terminal
      • chat command
  • Adapters
    • Server-Sent Events
    • Web Sockets
  • Add a way to obtain a commerial License

License

Copyright (c) 2024 Jakub T. Jankiewicz Released under AGPL v3 license

Our Mission

We want to make open source more sustainable. The entire platform was born from this and everything we do is in aid of this.

Interesting Articles

Thank you for checking out LiveTechHelper |
2024 © lth-dev incorporated

p-e622a1a2