Note I have rewritten this in Go. The Go version supports Telnet, SSH, and local playback, all while using less CPU (but a little bit more memory). If you're interested, take a look at gabe565/ascii-movie for more details!
The original Star Wars telnet server is currently down, so why not implement it in Rust? This server will open a TCP server on 0.0.0.0:23
which streams the original Star Wars ASCII movie over telnet.
See it in action by running telnet gabecook.com
or nc gabecook.com 23
.
The app supports building locally or in a Docker container at ghcr.io/gabe565/ascii-telnet-rust
.
$ # To build and run in one step
$ cargo run
Finished dev [unoptimized + debuginfo] target(s) in 0.17s
Running `target/debug/ascii-telnet`
[2021-08-05T23:14:37Z INFO ascii_telnet] Listening on 0.0.0.0:23
$ # You can now run `telnet localhost` to see the movie.
$
$ # To get a release binary:
$ cargo build --release
$ # The binary will be available in ./target/release.
$ # An image is available at `ghcr.io/gabe565/ascii-telnet-rust`
$ docker run --rm -it -p '23:23' ghcr.io/gabe565/ascii-telnet-rust
A Helm chart is available for Kubernetes deployments. See charts.gabe565.com or gabe565/charts for details.