Skip to content
/ skychat Public

An example of WebRTC chat/paint app with distributed message history

License

Notifications You must be signed in to change notification settings

xpl/skychat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Skychat

An example of WebRTC chat/paint app with distributed message history saving. You can embed it to HTTP 404 or 500 page, to let users hang around even when server is not working :)

Probably wont work if has too many peers (> 100), because the history synchronization algorithm is awful. To make it working on your own domain, you need to obtain a free WebRTC API key at developer.temasys.com.sg (they provide peer tracking service, which is required to make WebRTC work).

Does not work in Safari (due to lack of WebRTC support). Actually, it can work, if your disable the hasNativeRTCSupport () check in JS code, but it will ask users to install a third-party plugin (developed by Skylink), and it can be quite disturbing.

A framework used to structurize code: Useless.js. It delivers composable traits support to JavaScript along with some cool metaprogramming stuff. You may read more about it in the project's wiki.

P.S. In the corner, there's fancy brush size adjust. Flip it inside out to change color randomly.

img

About

An example of WebRTC chat/paint app with distributed message history

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages