How to create a traceroute program from scratch in Cloudflare

Hi everyone,

I need to develop a traceroute program that displays the output in a browser/API instead of the Linux terminal or SSH. I plan on using Cloudflare to write the code for the program.

Is there a way to carry this out and can this be achieved through Java, Javascript or Node.js? How would I start it off?


Thats not really Cloudflare related I am afraid. Cloudflare does not provide any service in this context.