How to get data from UR for a web app

Hi, i want to create an app, that record any information about the robot and this joint in real time idealy, but also get all the program that are on the ur, so that we can launch the universal robot at distance.

What type of communication and command do i need to make this app.

Thanks in advance

Nicolas Orefice