How to install nginx-module-nchan in Ubuntu 20.04 (focal)

Scalable, flexible pub/sub server for the modern web

Vendor: GetPageSpeed https://github.com/slact/nchan

Install

curl -fsSL https://extras.getpagespeed.com/release-latest.deb -o /tmp/getpagespeed-release.deb
sudo apt-get install -y /tmp/getpagespeed-release.deb
rm /tmp/getpagespeed-release.deb
echo "deb [signed-by=/etc/apt/keyrings/deb-archive-keyring.gpg] https://extras.getpagespeed.com/ubuntu focal-mainline-early main" | sudo tee /etc/apt/sources.list.d/getpagespeed-mainline-early.list
sudo apt-get update
sudo apt-get install -y nginx-module-nchan

Installing packages requires an active GetPageSpeed subscription. For other releases and channels, use the setup wizard.

Description

Nchan is a scalable, flexible pub/sub server for the modern web, built as a module for the NGINX web server. It can be configured as a standalone server, or as a shim between your application and hundreds, thousands, or millions of live subscribers. It can buffer messages in memory, on-disk, or via Redis. Messages are published to channels with HTTP POST requests or Websocket, and subscribed also through Websocket, long-polling, EventSource (SSE), old-fashioned interval polling, and more. In a web browser, you can use Websocket or EventSource natively, or the NchanSubscriber.js wrapper library. It supports Long-Polling, EventSource, and resumable Websockets, and has a few other added convenience options. It's also available on NPM.

Packages

Package Size Built
nginx-module-nchan_1.31.8+1.3.9-9~gps1+ubuntu2004+mainline_amd64 291 KiB 2026-11-16
nginx-module-nchan_1.31.8+1.3.9-9~gps1+ubuntu2004+mainline_arm64 267 KiB 2026-11-16
nginx-module-nchan_1.31.8+1.3.8-9~gps1+ubuntu2004+mainline_amd64 291 KiB 2026-10-21
nginx-module-nchan_1.31.8+1.3.8-9~gps1+ubuntu2004+mainline_arm64 267 KiB 2026-10-21

Subscribe