Git Product home page Git Product logo

synchime's Introduction

syncHime

设置

webstore 传送门

connection-type 可以选择 webrtcwebsocket,默认 webrtc

  • 选择 webrtc 时,使用 websocket 交换信息并建立连接后,直接 p2p 通讯
  • 选择 websocket 时,建立连接后依然使用 websocket 通讯,适用于 p2p 通讯高延迟的情况

websocket-url 默认为 synchime.herokuapp.com,可以直接用,但是在延迟高时可以选择修改此配置

可以选择在自己的服务器部署 websocket 服务,也可以点一下按钮直接在 heroku 部署。

Deploy

使用

  • 绿色按钮:连接
  • 红色按钮:断开
  • 蓝色按钮:发送信息
  • 紫色按钮:同步时间
  • 双击对话框最小化

输入对方 ID 后点击连接即可

TODO

  • 样式优化
  • i18n

参考链接

https://segmentfault.com/a/1190000020780854

https://www.html5rocks.com/en/tutorials/webrtc/basics/

https://www.html5rocks.com/en/tutorials/webrtc/infrastructure/

synchime's People

Contributors

ssshooter avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.