The original Star Wars telnet server is currently down, so why not implement it in Go? This server will open a TCP server on 0.0.0.0:23
and an SSH server on 0.0.0.0:22
which stream the original Star Wars ASCII movie to command line clients.
Run one of these commands in a terminal to see it in action:
- SSH:
ssh movie.gabe565.com
- Telnet:
telnet movie.gabe565.com
- Docker:
docker run --rm -it ghcr.io/gabe565/ascii-movie play
ascii-movie.mp4
The app can play a movie directly on your terminal with the play
subcommand, or it can host an SSH and Telnet stream server with the serve
subcommand.
See generated docs for command line usage information.
An image is available at ghcr.io/gabe565/ascii-movie
.
The following command will run a container that plays the movie directly in your terminal.
docker run --rm -it ghcr.io/gabe565/ascii-movie play
The following command will run a Telnet server on port 23
and an SSH server on port 2222
.
docker run --rm -it -p 23:23 -p 2222:22 ghcr.io/gabe565/ascii-movie serve
A Helm chart is available for Kubernetes deployments. See charts.gabe565.com or gabe565/charts for details.
# Compile the app
go install github.com/gabe565/ascii-movie@latest
# Run the app in your terminal
ascii-movie play
# Or run it as a server
ascii-movie serve
# Now, run `ssh localhost` or `telnet localhost` to watch the movie!