Public | Automated Build

Last pushed: a month ago
Short Description
Short description is empty for this repo.
Full Description

Sugar is a server side event notification system to deliver event data payloads to subscribed clients.
By default it will attempt to connect the client to the server using websockets and will fall back to long polling.

See for the client implementation details.

There are 3 message payload types:

  1. Notifications
    • Used for private channel events for a specific user.
  2. Announcements
    • Used to broadcast events for a specified channel (section).
  3. Experiments
    • Used to send experiment payloads to specific users.

Manual testing of notifications

Construct per user notification payloads in JSON and use something like cURL to POST the payload to the notifications server.

curl -H "Content-Type: application/json" -d '{"notifications": [{"user_id": "1", "message": "manual test from curl", "url": "test", "section": "zooniverse", "delivered": "false"}]}'


Visit for debug user & testing section announcements and user notifications.

Docker Pull Command
Source Repository