ascii-movie
![Artifact Hub](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/gabe565)
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.
See it in action:
- SSH: Run
ssh gabecook.com
- Telnet: Run
telnet gabecook.com
Demo
Also available on asciinema
Usage
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.
Docker (Suggested)
An image is available at ghcr.io/gabe565/ascii-movie
.
Watch Locally
The following command will run a container that plays the movie directly in your terminal.
docker run --rm -it -e ghcr.io/gabe565/ascii-movie play
Serve Movie over Telnet and SSH
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
Kubernetes
A Helm chart is available for Kubernetes deployments.
See charts.gabe565.com or
gabe565/charts for details.
Local Build
# 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!