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 deployment. For more information, go to Artifact Hub or gabe565/charts.
Content type
Image
Digest
sha256:c7b938f7f…
Size
27.5 MB
Last updated
over 3 years ago
docker pull gabe565/ascii-telnet-rust