Giter VIP home page Giter VIP logo

syncedtextarea's Introduction

DEPRICATED

This repo is no longer maintained. I think ShareJS is better solution for this.

https://github.com/share/ShareJS

SyncedTextarea

Just Textarea. I love Etherpad, but It's works on node.

  • Realtime syncing with WebSocket.
  • Works on chrome
  • Ruby 1.9.3 + sinatra + thin

Demo

Getting started

bundle
ruby app.rb

Lisence

MIT

syncedtextarea's People

Contributors

3100 avatar

Stargazers

 avatar

Watchers

 avatar

syncedtextarea's Issues

Use Pusher as a backend

Pusherをバックエンドに使うことで、em-websocketを削除できるかもしれない。

Todo

  • 通信頻度を減らす
    • 入力中はマージを行わないようにする。
    • パッチ頻度を調節出来るようにする。
  • Pusher APIを利用する。
  • Heroku対応

Changing cursor position after updating

AとBが同時に編集している時、Bが更新すると、Aのカーソル位置が勝手に末尾に移動してしまうことがあります。

編集中にこれが起こるとストレスが大きいと思います…

  • ひとまず、キーボード入力中はマージが起こらないようにする
  • テキスト全体を同期するのではなく、diffをパースして変更のある部分だけに挿入するようにする
  • ひょっとしたら、multiple cursorsに対応しているAceに移行する、もしくはEtherPadのUI部分を移植した方が早いかも?シンプルでは無くなってしまうが…

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.