Web server
The program could then generate any content, write that to standard output, and the Web server will transmit it to the browser.