• Stars
    star
    1,291
  • Rank 36,440 (Top 0.8 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created about 4 years ago
  • Updated about 1 month ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

The CRDT Yjs WebSocket backend for conflict-free real-time collaboration in your app.

Hocuspocus

A plug & play collaboration backend based on Y.js.

Build Status Version Downloads License Chat Sponsor

Documentation

The full documentation is a available on hocuspocus.dev/introduction.

Cloud Hosting

You want to use Hocuspocus, but don't want to care about hosting? Check our Cloud Offering: Tiptap Collab

Feedback

Send all your questions, feedback and bug reports to [email protected] or create an issue here.

Usage

The following example is a example setup you need to start a WebSocket server. By default, itโ€™s listening on http://127.0.0.1 (or prefixed with the WebSocket protocol on ws://127.0.0.1):

import { Server } from '@hocuspocus/server'
import { SQLite } from '@hocuspocus/extension-sqlite'

const server = Server.configure({
  port: 80,

  async onConnect() {
    console.log('๐Ÿ”ฎ')
  },

  extensions: [
    new SQLite({
      database: 'db.sqlite',
    }),
  ],
})

server.listen()

Community

For help, discussion about best practices, or any other conversation:

Join the Tiptap Discord Server

Sponsors ๐Ÿ’–


รผberdosis

Cargo

Saga

Gamma

Outline

Ahrefs

Brickdoc

Sana

โ€ฆ and hundreds of awesome inviduals.

Using Hocuspocus in production? Invest in the future of Hocuspocus and become a sponsor!

Contributing

Please see CONTRIBUTING for details.

Contributors

kris (who wrote the initial version), Tom Moor, YousefED (@TypeCellOS) and many more.

License

The MIT License (MIT). Please see License File for more information.

More Repositories

1

tiptap

The headless rich text editor framework for web artisans.
TypeScript
25,838
star
2

awesome-tiptap

โšก Delightful Tiptap packages and resources
249
star
3

alldocs.app

Online text file converter
PHP
234
star
4

tiptap-php

A PHP package to work with Tiptap content
PHP
175
star
5

mouseless

Keyboard shortcut training and look-up for macOS.
JavaScript
133
star
6

glyphfinder

Unicode character search for macOS & Windows.
JavaScript
132
star
7

prosemirror-to-html

Takes ProseMirror JSON and renders HTML.
PHP
79
star
8

pandoc

A PHP wrapper for Pandoc to convert any text format in any other text format
PHP
74
star
9

html-to-prosemirror

Takes HTML and outputs ProseMirror compatible JSON.
PHP
71
star
10

tiptap-next

The headless editor framework for web artisans.
68
star
11

vue-mailchimp-subscribe

Renderless Vue.js component for Mailchimp list subscriptions
JavaScript
48
star
12

hocuspocus-laravel

Integrates Hocuspocus into Laravel with a few clicks
PHP
26
star
13

create-tiptap-extension

Create a new Tiptap extension in seconds.
JavaScript
20
star
14

glyphfinder-landingpage

Landingpage for Glyphfinder
Vue
19
star
15

keyboard-symbol

Convert key names to symbols like โŒ˜, โ‡ง, โŒฅ
JavaScript
16
star
16

mouseless-landingpage

Landingpage for Mouseless
JavaScript
15
star
17

prosemirror-php

Work with ProseMirror JSON in PHP.
PHP
14
star
18

draft-js-to-tiptap

Allows conversion from a Draft.js Content State to a Tiptap compatible format
TypeScript
12
star
19

tiptap-docs

MDX
11
star
20

build-tools

๐Ÿ› ๏ธ Docker image with CI/CD tools
Shell
9
star
21

commonmark-hint-extension

Render :::important Hints::: in league/commonmark
PHP
8
star
22

window-shortcuts

Get menu shortcuts by window owner name
Swift
7
star
23

tiptap-collab-replit

Vue
7
star
24

laravel-docker-health-check

A simple package that makes it easier to work with Laravel and Docker in production.
PHP
6
star
25

gitlab-ci-build-tools

๐ŸฆŠ Docker Image with tools for GitLab CI
Shell
2
star
26

commonmark-embed-extension

Render embeds from URLs
PHP
2
star