• Stars
    star
    1,011
  • Rank 43,680 (Top 0.9 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created over 3 years ago
  • Updated 2 days 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
23,822
star
2

alldocs.app

Online text file converter
PHP
224
star
3

awesome-tiptap

โšก Delightful Tiptap packages and resources
168
star
4

tiptap-php

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

glyphfinder

Unicode character search for macOS & Windows.
JavaScript
131
star
6

mouseless

Keyboard shortcut training and look-up for macOS.
JavaScript
131
star
7

prosemirror-to-html

Takes ProseMirror JSON and renders HTML.
PHP
79
star
8

html-to-prosemirror

Takes HTML and outputs ProseMirror compatible JSON.
PHP
72
star
9

tiptap-next

The headless editor framework for web artisans.
68
star
10

pandoc

A PHP wrapper for Pandoc to convert any text format in any other text format
PHP
67
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
20
star
13

glyphfinder-landingpage

Landingpage for Glyphfinder
Vue
19
star
14

keyboard-symbol

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

mouseless-landingpage

Landingpage for Mouseless
JavaScript
15
star
16

create-tiptap-extension

Create a new Tiptap extension in seconds.
JavaScript
15
star
17

prosemirror-php

Work with ProseMirror JSON in PHP.
PHP
14
star
18

build-tools

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

commonmark-hint-extension

Render :::important Hints::: in league/commonmark
PHP
7
star
20

laravel-docker-health-check

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

window-shortcuts

Get menu shortcuts by window owner name
Swift
7
star
22

tiptap-collab-replit

Vue
4
star
23

gitlab-ci-build-tools

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

commonmark-embed-extension

Render embeds from URLs
PHP
2
star