ascii-movie

command module
v1.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 11, 2023 License: GPL-3.0 Imports: 2 Imported by: 0

README

ascii-movie

ascii-movie logo

Build Artifact Hub

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 which streams the original Star Wars ASCII movie over telnet.

See it in action by running telnet gabecook.com or nc gabecook.com 23.

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 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 `telnet localhost` or `nc localhost 23` to watch the movie!

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL