Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jahfer/ot
Implementation of full Operational Transform editor in Clojure. Library version: https://github.com/jahfer/othello
https://github.com/jahfer/ot
Last synced: about 2 months ago
JSON representation
Implementation of full Operational Transform editor in Clojure. Library version: https://github.com/jahfer/othello
- Host: GitHub
- URL: https://github.com/jahfer/ot
- Owner: jahfer
- License: epl-1.0
- Created: 2014-01-10T05:19:23.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2019-05-07T11:45:31.000Z (over 5 years ago)
- Last Synced: 2024-04-15T02:52:26.285Z (9 months ago)
- Language: Clojure
- Homepage:
- Size: 380 KB
- Stars: 27
- Watchers: 4
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ot [![Build Status](https://travis-ci.org/jahfer/ot.svg?branch=master)](https://travis-ci.org/jahfer/ot)
`ot` is a basic implementation of Operational Transforms, used to resolve concurrent edits of a document from multiple sources.## Is this what I want?
Probably not. This is a first-pass at the idea. The library extracted from this is probably what you're interested in: [jahfer/othello](https://github.com/jahfer/othello). There's also an implementation using that library available at [jahfer/othello-editor](https://github.com/jahfer/othello-editor).## Usage
### Start server:
```shell
$ lein server
```### Start server using reloaded pattern:
```shell
$ lein repl
ot.repl> (go) # change code...
ot.repl> (reset)
```### Compile and watch cljs + cljx:
```shell
$ lein client # runs tests on compile!
$ lein cljx auto
```### Run tests:
```shell
$ lein cleantest
```### Run specific group of tests:
```shell
$ lein do cljx, clj-test # or...
$ lein do cljx, cljs-test
```## References
- [Understanding and Applying Operational Transformation](http://www.codecommit.com/blog/java/understanding-and-applying-operational-transformation)
- [Operational Transform on Wikipedia](http://en.wikipedia.org/wiki/Operational_transformation)
- [OT FAQ](http://cooffice.ntu.edu.sg/otfaq/)
- [Google Wave Operational Transformation](http://www.waveprotocol.org/whitepapers/operational-transform)
- [OT Explained](http://operational-transformation.github.io/index.html)## License
Copyright © 2015 EPLDistributed under the Eclipse Public License version 1.0.