Comments (6)
That is because it is crap.
Text.js as it is is a demo only thing.
I have a decent implementation, but it will take time to release that one. Hopefully, with 0.4.
By the way, what is your use case?
from swarm.
By the way, what is your use case?
@gritzko I am building a prototype of a collaborative rich text editor, and I liked the relative simplicity of your CRDT-based causal trees approach in comparison to OT. I noted that Swarm included Text.js and was attempting to learn from it. I'm curious, in what ways do you consider the current Text.js to be crap?
from swarm.
@rocketraman It uses uncompressed base64 id strings, so it has x100 overhead compared to plain text. A "normal" value is below x10, x3 is really good. See IdArray.
It has no decent API, events are cryptic and so on.
It is just a minimal CT implementation, it was not intended to be practical.
from swarm.
@gritzko Ok given I'm creating a prototype I'm not super-concerned about the overhead. However, I'd love to see the better implementation you have. Does that implementation support rich text also? Are you open to helping us with a good rich text implementation, either as part of swarm open source or on a consulting basis? We'd probably be willing to contribute any source created as part of a consulting project back to Swarm.
from swarm.
You can always contact me privately at [email protected]
from swarm.
I know this issue is closed, but I'd love some recommendations about how to use plain text. Is Text.js
in better shape on the 0.4 branch? (I'm also getting the type unknown: /Text#note
error).
FWIW I'm trying to integrate Swarm with CodeMirror.
from swarm.
Related Issues (20)
- [Chat demo] Web version doesn't scroll at all in Firefox HOT 5
- SwarmDB Docker container exits immediately HOT 7
- End to end encryption (WebCrypto) HOT 1
- swarmdb protocol and implementation? HOT 5
- Maybe wrong Op.toString() result
- Is it dead? HOT 2
- Project Status HOT 3
- Insert into string op
- Serverless p2p example? HOT 5
- Reconstitute model from static data HOT 1
- What is the current state of this project? HOT 26
- Tests don't pass? HOT 3
- Native mobile clients HOT 1
- Links to demo repos HOT 3
- .
- Typescript? HOT 7
- Is Swarm ready for production? HOT 3
- A more general purpose API? HOT 2
- Documentation? HOT 2
- Broken Links HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from swarm.