Huddle01 Web Core SDK
![https://huddle01-assets-frontend.s3.amazonaws.com/general/huddle01-logo-blue.svg](https://huddle01-assets-frontend.s3.amazonaws.com/general/huddle01-logo-blue.svg)
Web3-Native Zoom for Builders/DAOs/NFT Communities
NOTE: Request for access to the huddle01-client pkg on Huddle01's discord or reach out to the team.
Vanilla JS SDK
The Huddle01 Vanilla JS SDK offers a comprehensive suite of methods and event listeners that allow for seamless real-time audio and video communication with minimal coding required.
Pre Requisites
Before using the Huddle01 Vanilla JS SDK, you must have Node.js installed on your machine. You can install Node.js using one of the following methods:
-
Install Node.js with NVM by following the instructions on this GitHub page
-
Install Node.js with FNM by following the instructions on this GitHub page
-
Download Node.js from the official website
Pro Tip : Use NVM or FVM to install Node.js as they help in version management
and easy updation
Installing the packages:
You can install the Huddle01 Vanilla JS SDK packages in two ways:
-
using the script tag: Add the following code snippet to the head of your HTML file: Replace with our CDN
<!DOCTYPE html>
<html lang="en">
<script src="https://unpkg.com/@huddle01/web-core@0.0.1/dist/huddle01-web-core.umd.min.js"></script>
<script>
huddleClient.initialize('YOUR_PROJECT_ID');
document.getElementById('joinLobby').onclick = () => {
huddleClient.joinLobby('YOUR_ROOM_ID');
};
document.getElementById('joinRoom').onclick = () => {
huddleClient.joinRoom();
};
</script>
</html>
-
using npm (or pnpm/yarn): Run the following command in your terminal to install the package:
npm install @huddle01/web-core
For more information head to https://huddle01.com/docs
💡 For any help reach out to us on
Discord