How do I run calc as an interactive webpage?

I want to run calc (possibly others also) from my web server for quick and easy access, mostly from my phone. Has anyone done anything like this? Can you provide resources like links to reading material?

Alternatives are welcome, but I would like to learn more about running and accessing programs that are on a server. Security is something I would like to worry about only after or if I was able to do this.

There is another Q&A in which a browser-controlled version of LibO was announced. Given your interest, the other discussions in that thread will be worth reading too, I would think.