Consume websocket messages from Kick.com and forward them to livebot.app
Livebot.App - Kick Followers Synchronizer Extension
The extension is a bridge between the website Kick.com and Livebot.app.
Kick.com is a new streaming platform and Livebot.app is a bot (similarly to streamelements, botissimo...) which objective is to improve the experience for the streamers and viewers. Trying to do this objective, we are working together with the kick.com team in order to know when a new viewer follows a channel.
Unfortunately, for the moment and due to problems of load, the website kick.com is only able to push those events on websocket using private channels, so we created an extension that is listening to the websocket events and is pushing the events to our backend.
On a technical point of view, the extension is very simple, just listening to the events that we are interested by on some specific pages and forwarding them using HTTP.
We tried to limit the pages and events we are listening to.
Read more
Kick.com is a new streaming platform and Livebot.app is a bot (similarly to streamelements, botissimo...) which objective is to improve the experience for the streamers and viewers. Trying to do this objective, we are working together with the kick.com team in order to know when a new viewer follows a channel.
Unfortunately, for the moment and due to problems of load, the website kick.com is only able to push those events on websocket using private channels, so we created an extension that is listening to the websocket events and is pushing the events to our backend.
On a technical point of view, the extension is very simple, just listening to the events that we are interested by on some specific pages and forwarding them using HTTP.
We tried to limit the pages and events we are listening to.
Source Manifest.json
{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 3, "name": "Livebot.App - Kick Followers Synchronizer", "description": "Consume websocket messages from Kick.com and forward them to livebot.app", "version": "1.3", "icons": { "16": "images/icon-16.png", "32": "images/icon-32.png", "48": "images/icon-48.png", "128": "images/icon-128.png" }, "content_scripts": [{ "run_at": "document_start", "all_frames": true, "js": ["content/syringe.js"], "matches": ["https://kick.com/*", "https://www.kick.com/*"] } ], "web_accessible_resources": [{ "resources": ["lib/socket-sniffer.js"], "matches": ["https://*.kick.com/*"] }]}
Read more