qmetrics.net

N2O

Embeddable WebSocket and MQTT application protocol loop

N2O screenshot

N2O is an embeddable Erlang and JavaScript library for WebSocket, HTTP, MQTT, and TCP servers. It provides process management, sessions, encoders, and a unified API over message buses and caches.

Overview

N2O acts as a message protocol loop you embed in WebSocket, HTTP, MQTT, or TCP servers. It targets high-performance protocol relay with a compact Erlang core and companion JavaScript modules for BERT, UTF-8, heartbeats, FTP, and MQTT client behavior.

Core pieces include OTP supervision, a protocol loop, a hash ring for virtual nodes, and formatters such as JSON and BERT. Optional extensions cover Nitrogen web integration, file transfer, business process engine hooks, and REST-style HTTP APIs over proplist or JSON payloads.

For WebSockets, the loop runs inside handlers on servers like Cowboy, with pub/sub backends such as gproc or syn. For MQTT, documentation describes compatibility with the EMQ broker and RPC-over-MQ patterns where client topics map to server procedures.

Samples range from simple MQTT and WebSocket chat demos to enterprise instant messaging configurations. Distribution is per-file under ISC, and active code reloading is noted for GNU/Linux, Windows, and macOS hosts.

Key features

  • Embeddable N2O protocol loop
  • WebSocket, MQTT, TCP endpoints
  • Virtual node ring for requests
  • JSON and BERT formatters
  • Cowboy and EMQ integrations
  • Optional Nitrogen and BPE protocols
  • JavaScript BERT and MQTT helpers
  • KVS backends including Redis and Mnesia

Use cases

  • WebSocket chat or RPC services
  • MQTT application nodes on EMQ
  • IoT messaging with consistent delivery
  • Erlang apps needing session encoding

Tags

Similar software

Socket.IO

Bidirectional real-time communication for web and Node

Socket.IO enables low-latency, event-based communication between clients and servers. It prefers WebSockets and falls back to HTTP long-polling when needed.

★ 63.3k⟳ 4 days agoMIT
Frameworks & PlatformsDesktop/CLI app

Akka.NET

Actor-model toolkit for concurrent and distributed .NET applications

An idiomatic .NET actor framework for in-process and clustered systems, covering messaging, streams, persistence, and remote transparent actors.

★ 5.1k⟳ 2 days agoApache-2.0

ECC

Open-source agent engineering toolkit for coding harnesses

ECC adds planning, verification, review, memory, skills, and security scanning to coding agents such as Claude Code, Codex, and Cursor. It installs as plugins, packages, and managed adapters across multiple harnesses.

★ 311.7k⟳ 8 days agoMIT
Frameworks & PlatformsDesktop/CLI app

React

JavaScript library for web and native user interfaces

React helps developers build interfaces from reusable components that manage their own state. Views update declaratively when underlying data changes.

★ 253k⟳ 2 days agoMIT
Frameworks & PlatformsDesktop/CLI app

Flutter

Open-source UI framework for multi-platform apps from one codebase

Flutter is an SDK for building user experiences for mobile, web, and desktop from a single codebase. It uses the Dart language and compiles to native machine code or web targets.

★ 181.5k⟳ todayBSD-3-Clause
Open Source Alternative to:Ionic Enterprise

Bootstrap

Responsive HTML, CSS, and JavaScript front-end toolkit

Bootstrap supplies CSS, JavaScript, and Sass-based styles for building responsive, mobile-first sites. It ships prebuilt grid layouts, UI components, and optional JavaScript plugins.

★ 175.1k⟳ 2 days agoMIT