Directus Websocket Subscribe

screenshot of Directus Websocket Subscribe
directus

An extension to subscribe to directus updates over a websocket.

Overview:

The Directus Websocket Subscribe extension allows users to subscribe to Directus updates over a websocket. It adds a websocket server that mimics the Directus API, allowing users to get, post, patch, and delete items. The extension also adds the ability to subscribe to collection updates. This extension has been integrated into the Directus core as of Directus version 10.3, making it obsolete and no longer under development.

Features:

  • Follows directus permissions
  • Websocket driven queries
  • Websocket based subscriptions
  • Subscription to directus system collections
  • Query based subscription responses
  • Environment based configuration
  • Custom hook based configuration
  • Custom hook based message handlers

Summary:

The Directus Websocket Subscribe extension allows users to subscribe to Directus updates over a websocket. It provides features such as websocket driven queries, subscription to collection updates, and environment-based configuration. However, this extension has become obsolete since it has been integrated into the Directus core.

directus
Directus

A website that uses Directus as an open source headless CMS to manage content. This includes features such as a customizable content model, role-based access control, and API-based content delivery to support a wide range of digital experiences.

Recoil

Recoil is a state management library for React that provides an intuitive and flexible API for managing and sharing state across components. It supports a range of features, including derived state, asynchronous updates, and time-travel debugging, and is designed to work well with the React ecosystem and other state management solutions.

typescript
Typescript

TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.