How do you stream your screen via python and nodejs (both with socket.io) to a webpage

I’m working on a website that turns my ipad into a drawing tablet for my laptop.

Most of the program is done, but I don’t know how I’m gonna share my screen with my ipad.

for the website I’m using nodejs & socket.io (html, css and js) and for actually moving the mouse I’m using python (pynput, python-socketio)