Built with React, Node Js and HTML/CSS, the project aims to allows users to spin up new chatroom with exclusive access only through QR codes.
qr_chat_npm is an npm package that allows you to generate unique QR codes that link to unique URLs with their own chat functionality. This package is designed to create anonymous chat groups for your community, college, stores, and more.
You can install qr_chat_npm using npm:
npm i qr_chat_npm
Chatroom: Chat: Conversation: Npm:
To use qr_chat_npm, first require the package in your code:
const qr_chat = require('qr_chat_npm');
To generate a QR code with a unique URL, use the generateQRCode function:
const url = 'https://your-chat-app-url.com/';
const qrCode = qr_chat.generateQRCode(url);
This will return a QR code image file that you can save or display.
To get a unique URL for your chat group, use the getUniqueUrl function:
const uniqueUrl = qr_chat.getUniqueUrl();
This will return a unique URL that you can use for your chat group.
To start chatting, simply share the generated QR code or unique URL with your group members. They can scan the QR code or enter the unique URL in their browser to join the chat group.
If you would like to contribute to qr_chat_npm, please submit a pull request with your changes. Before submitting, please ensure that your code passes the existing tests and that you have added tests for any new functionality.
qr_chat_npm is licensed under the MIT License. See the LICENSE file for details.