the main difference between web UI and a terminal is that a terminal streams instructions. For HTML you usually need a whole program that compiles