Web-terminal-telnet is a project mainly written in Python, it's free.
Telnet front for the web terminal project