GithubHelp home page GithubHelp logo

muzijun99 / slate-yjs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bitphinix/slate-yjs

0.0 0.0 0.0 114.49 MB

Yjs bindings for Slate

Home Page: https://bitphinix.github.io/slate-yjs-example

License: MIT License

JavaScript 0.99% TypeScript 98.87% Shell 0.14%

slate-yjs's Introduction


Slate-yjs aims to be the goto collaboration solution for slate. Get started in seconds, scale to infinity, customize to your hearts content.



Sponsors · Why Yjs? · Live demo · Documentation · Packages · Questions · Contributing!



⚠️ This is the active development branch for the new version of slate-yjs. Don't use any code in here in production. Things will break and the api will change. ⚠️


Sponsors 💖

I'm currently looking for sponsors to found further development of slate-yjs. These awesome sponsors already fund the development:


Sana Labs


Why Yjs?

Yjs offers a feature-rich rich text CRDT with best-in-class performance. It's used in production by multiple fortune 500 companies and is the core of many collaborative editing applications. Moreover, it offers a very mature ecosystem with server-side solutions like hocuspocus, enabling you to build robust and highly scalable collaborative/offline-first applications.

For more detailed benchmarks about performance, you can take a look here.

Why a CDRT over OT? While many current collaborative text editing applications rely on OT (e.g., google docs with ShareJS), it only provides a subset of the functionally CRDTs offer due to the dependence on a central server. In other words: CRDTS can do everything OT can, but OT simply can't.

You can read more about this here.



Live demo

https://www.hocuspocus.dev/examples/slate/



Documentation

Coming soon. In the meantime take a look a the examples folder or dig into the source code yourself.



Packages

Slate-yjs's codebase is monorepo managed with yarn workspaces. It consists of a handful of packages—although you won't always use all of them. They are:

Package Version Size Description
@slate-yjs/core Core slate-yjs binding.
@slate-yjs/react React specific components/utils for slate-yjs.


Questions?

For questions around yjs, head over to the Yjs Community. Trying to build a backend with hocuspocus and have questions? Take a look at the #hocuspocus channel in the TipTap Discord. Having issues with slate? There's a there's a Slack for that as well.

Any questions about slate-yjs? Thead over to the #slate-yjs channel inside the Slate Slack or post something in the Discussions



Contributing!

All contributions are super welcome! Check out the Contributing instructions for more info!

Slate-yjs is MIT-licensed.

slate-yjs's People

Contributors

bitphinix avatar dependabot[bot] avatar doodlewind avatar inokawa avatar kjohnson-hugo avatar nemanja-tosic avatar renovate-bot avatar renovate[bot] avatar semantic-release-bot 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.