Skip to content

oslabs-beta/sono.land

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sono.land

sono.land

A real-time communication module for Deno
Explore the docs
Medium Article · Deno Module · Request Feature


Features

  • 🤝 WebRTC for P2P connections
  • 📸 Video and 🎤 Audio implementation
  • 👨‍👩‍👧‍👦Exhibit Many to Many WebRTC connectivity utilizing the Mesh system
  • 🔌 WebSocket for clients to server connections
  • 💬 Chatroom demonstration to display WebSocket connections
  • 📺 Multiple channels for different discussions
  • 📣 Broadcast messages to everyone in the channel
  • 📫 Direct message to a single client
  • 📝 Grab a list of all clients in a specified channel
  • 🔥 and much more

Demo

test


Documentation

Find the full documentation of sono.land

Usage & Examples

server.ts:

  import { Sono } from 'https://deno.land/x/sono@v1.1/mod.ts';

  const sono = new Sono();

client.js:

  import { SonoClient } from 'https://deno.land/x/sono@v1.1/src/sonoClient.js';

  const sono = new SonoClient('ws://localhost:8080/ws');

  sono.on('hello', (event) => {
    console.log(event, 'world')
  })

Installation

Import directly from deno.land / github.

deps.ts:

  import { Sono } from 'https://deno.land/x/sono@v1.1/mod.ts';

Contact the team!

About

Real-time Communication Library for Deno (WebSockets & WebRTC)

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published