sharedb
json1
Our great sponsors
sharedb | json1 | |
---|---|---|
6 | 2 | |
6,001 | 305 | |
1.1% | 0.0% | |
7.1 | 0.0 | |
23 days ago | 10 months ago | |
JavaScript | JavaScript | |
GNU General Public License v3.0 or later | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
sharedb
-
Writing Redux Reducers in Rust
Sure! Not sure about rust but I wrote this several years ago: https://github.com/share/sharedb (though now other people maintain it)
-
Is there a lib or a pattern for synchronizing a complex JSON over the network ?
This is called Operational Transformation, and there are a few libraries to help with it. One that looks fairly mature is https://github.com/share/sharedb
-
Reactive Clojure: You don't need a web framework, you need a web language
one that sort of fell by the wayside when Meteor and Ember got popular, was/is Derby.js/ShareDB. https://github.com/derbyjs/derby https://derbyjs.com/ https://github.com/share/sharedb
The LiveView lead resurgence in server side rendering is exciting. Does anyone have any insight as to why ShareDB never really took off?
- [AskJS] Which 3d JS engine should I use for a networked FPS camera that can support up to 32 players on a VPS?
-
online user document sharing?
Rather than implementing your own you might be able to use a library like ShareDB. I think there was another one out there built on the open-sourced Google Wave code, but I don't remember the name.
json1
-
Writing Redux Reducers in Rust
It uses some JSON OT code I wrote, which is without a doubt the most complex code I've ever written in my career: https://github.com/ottypes/json1
-
Version Control for Structure Editing
> Even if we get the OT part right, it’d be huge effort to port this to support other semantic structures with different set of ops
Its very doable, and its been done. Eg, in json1[1] we have support for lots of tree operations on a set of data stored as a JSON tree:
- Insert / delete in lists
- Move (reparent) any object in the tree
- Embedded edits (so if you have a custom type inside a field and define your own operations)
This is all very general purpose. You don't need to do reinvent any of this per application.
[1] https://github.com/ottypes/json1
What are some alternatives?
liveblocks - Liveblocks is a platform to ship collaborative features like comments, notifications, text editors in minutes instead of months.
medley - The main repo for the Medley Interlisp project. Wiki, Issues are here. Other repositories include maiko (the VM implementation) and Interlisp.github.io (web site sources)
Meteor JS - Meteor, the JavaScript App Platform
yjs - Shared data types for building collaborative software
automerge - A JSON-like data structure (a CRDT) that can be modified concurrently by different users, and merged again automatically.
inertia-laravel - The Laravel adapter for Inertia.js.
imba - 🐤 The friendly full-stack language
hotwire-rails - Use Hotwire in your Ruby on Rails app
reactor - Phoenix LiveView but for Django
derby - MVC framework making it easy to write realtime, collaborative applications that run in both Node.js and browsers
pathom - Pathom is a Clojure(script) engine for processing EQL requests.
Preact - ⚛️ Fast 3kB React alternative with the same modern API. Components & Virtual DOM.