Skip to content

About

LiveKit audio broadcasting for Discourse Voice.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Sysaru Kit: A LiveKit Broadcast Addon For Discourse Voice


Version 1.0.0 Discourse plugin License: Sysaru Plugin License



Features   •   Requirements   •   Installation   •   Support   •   Troubleshooting   •   License

Overview

Sysaru Kit is an add-on for the Discourse Voice plugin that ships with Discourse core. Pick a Voice room, add RTMP destinations, go live: LiveKit egress renders a branded broadcast page and streams it to every destination at once.

Features


Broadcast

Active speaker hero tile, CSS waveforms, speaking rings, ON AIR badge and timer, REC badge, listener count, raised hands, host and mod pills, join and leave toasts, chat ticker, countdown to a scheduled start, animated or solid background, logo and call to action. All toggleable per forum.


Streams

Go live to YouTube, Facebook, Twitch, Kick or any custom RTMP URL, several at once. Set quality and layout per room, and stop streams. Keys are stored server-side and never shown again.


Design

Colours, fonts, logo and images for the broadcast page.


Preview

See how the stream looks before going live.


Capture

Use your own switcher instead of paying for egress.


Analytics

How rooms go live from this forum, as totals only.


Support

Updates, the diagnostic report and troubleshooting.

Highlights

  • Three layouts, speaker, grid and vertical (1080×1920) for portrait platforms, switching live without restarting the stream.
  • Self-healing state. A webhook hook plus a reconcile job mean a crashed egress never leaves a room reading ON AIR.
  • No collisions. Tables are sk_*, settings sysaru_kit_*, routes live under /sysaru-kit and CSS classes are sk-, so it runs alongside Sysaru Vox.

Requirements

  • Discourse 3.6.0 or newer, with the core voice plugin enabled and configured for LiveKit (voice_livekit_url, voice_livekit_api_key, voice_livekit_api_secret). Sysaru Kit reads those directly and has no connection settings of its own, because the egress must join the rooms Voice created on the cluster it created them on.
  • voice_livekit_room_policy set to per_room or all_rooms. Going live raises disabled to per_room automatically and flags the room.
  • A self-hosted LiveKit server with the egress service (the livekit/egress container sharing Redis with livekit-server).
  • The LiveKit webhook pointed at https://your-forum/voice/livekit/webhook, Voice's own URL. Sysaru Kit listens on the same one.

Installation

Add the plugin to containers/app.yml, under hooks and after_code:

hooks:
  after_code:
    - exec:
        cd: $home/plugins
        cmd:
          - git clone https://github.com/dpnmw/sysaru-kit.git

Then rebuild the container:

cd /var/discourse && ./launcher rebuild app

Enable sysaru_kit_enabled, then open Admin → Plugins → Sysaru Kit.

Quick start

  1. Confirm that Discourse Voice can create and join rooms through LiveKit.
  2. Enable sysaru_kit_enabled and open Admin → Plugins → Sysaru Kit.
  3. Set the broadcast appearance under Design and the layout under Broadcast.
  4. Add RTMP destinations under Streams, then use Preview before going live from a Voice room.

Updating

Rebuild the container to fetch the latest plugin code and apply any migrations:

cd /var/discourse && ./launcher rebuild app
How broadcasting works

Go Live starts a LiveKit RoomComposite egress whose template URL is this plugin's broadcast page (/sysaru-kit/broadcast/:slug?k=<per-stream key>). The egress service loads the page in headless Chrome on the LiveKit host, where it joins the room as a hidden subscriber only participant (with the token LiveKit hands the page), attaches every audio track and renders the stage. That rendering is the video pushed to your RTMP destinations. Discourse only serves the page; all compositing and encoding happens on the egress host.

The page loads the LiveKit client from Voice's own vendored bundle (/plugins/voice/javascripts/<version>/livekit/livekit-client.js), so the SDK version always matches what Voice was tested against.

The per-stream key is rotated on every start and dies with the stream. Without it, only a staff session can open the page (the admin preview), and everyone else gets a 404.

Endpoints
Purpose Route Auth
Broadcast page and feeds GET /sysaru-kit/broadcast/:slug[/participants|/chat] stream key or staff
Admin /admin/plugins/sysaru-kit/{configs,pin-upload,streams} admin
Relationship to Discourse Voice

Sysaru Kit never writes Voice's tables or Redis keys. It reads rooms, presence and chat through Voice's service objects, publishes a { type: "stream" } event on the room's MessageBus channel, and adds a streaming attribute to Voice's room serializer. Voice's recording (file egress) and Kit's broadcast (RTMP egress) can run on the same room at once; each ignores the other's egress ids.

Sysaru Kit is the successor of sysaru-mic, which did the same job on top of resenha. Resenha became Discourse Voice, and sysaru-mic became Sysaru Kit.

Support

The Support tab under Admin → Plugins → Sysaru Kit shows the installed version and current commit, whether an update is waiting, and builds a diagnostic report to attach to a ticket. Secrets in the report are masked.


Paid Support

A one-time charge for work on your forum: self-hosted LiveKit setup, custom changes and upgrade help.

Purchase Paid Support


Support tickets

Questions and problems, with the diagnostic report attached, go through the DPN Media Works portal.

Open a Support Ticket

Troubleshooting

If the forum will not start

./launcher rebuild app stops the running container before it builds the new one, so a build that fails leaves the site down rather than falling back.

Tip

Bring the forum straight back up on the last working build:

cd /var/discourse && ./launcher start app

If the previous image is still available, this starts the forum with the version of Sysaru Kit it contained. You can then investigate the failed rebuild:

Symptom Where to look
The rebuild failed Scroll up through the rebuild output, as there is often more than one error. DEBUG=1 ./launcher rebuild app keeps the failed build as the image local_discourse/app-debug so it can be inspected.
Site up, Sysaru Kit missing entirely ./launcher logs app, look for [sysaru-kit] load failed
Site up, Sysaru Kit partly working Admin, Logs (/logs), look for [sysaru-kit] initialization failed
Admin pages broken after an update Open /safe-mode?no_unofficial_plugins=true, which loads the forum without any third-party plugin JavaScript

./discourse-doctor checks the common container problems.

Note

Sysaru Kit includes a load guard designed to keep Discourse bootable if the plugin fails while loading or initialising. The failure is logged and the affected plugin functionality remains inactive.

Removing Sysaru Kit

Remove this line from containers/app.yml, remove any exec block left empty by that change, and rebuild:

- git clone https://github.com/dpnmw/sysaru-kit.git

Send ./launcher logs app output, or the failed rebuild output, with any support request.

License

Sysaru Kit is licensed under the Sysaru Plugin License. You may run and modify it on forums you own or operate, including commercial ones. You may not resell or redistribute it, offer it as a hosted service, or use it to build a competing product. See LICENSE and COPYRIGHT.md.

Sysaru is a trademark of DPN Media Works. The license grants no right to use the Sysaru name or logo.


© Sysaru.com 2026
Developed by DPN Media Works

About

LiveKit audio broadcasting for Discourse Voice.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages