{"id":21866978,"url":"https://github.com/nitram509/ascii-telnet-server","last_synced_at":"2025-10-26T17:40:41.386Z","repository":{"id":2152445,"uuid":"3097567","full_name":"nitram509/ascii-telnet-server","owner":"nitram509","description":"Can stream an ~20 minutes ASCII movie via Telnet emulation as stand alone server or via xinetd daemon. Using famous ASCII art animation from www.asciimation.co.nz (Star ASCIIMATION Wars)","archived":false,"fork":false,"pushed_at":"2021-04-16T20:14:21.000Z","size":1463,"stargazers_count":282,"open_issues_count":4,"forks_count":72,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-03-31T12:04:47.900Z","etag":null,"topics":["ascii","ascii-art","ascii-graphics","asciinema","nerd","nerd-tool","python","xinetd"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"angular/angular-phonecat","license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nitram509.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-01-03T21:43:37.000Z","updated_at":"2025-03-21T13:07:04.000Z","dependencies_parsed_at":"2022-08-25T17:01:45.858Z","dependency_job_id":null,"html_url":"https://github.com/nitram509/ascii-telnet-server","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nitram509%2Fascii-telnet-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nitram509%2Fascii-telnet-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nitram509%2Fascii-telnet-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nitram509%2Fascii-telnet-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nitram509","download_url":"https://codeload.github.com/nitram509/ascii-telnet-server/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247657281,"owners_count":20974345,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ascii","ascii-art","ascii-graphics","asciinema","nerd","nerd-tool","python","xinetd"],"created_at":"2024-11-28T05:08:05.281Z","updated_at":"2025-10-26T17:40:36.333Z","avatar_url":"https://github.com/nitram509.png","language":"Python","funding_links":[],"categories":["ASCII UI/UX Apps"],"sub_categories":[],"readme":"ASCII art movie Telnet player\n=============================\n\nCan stream an ~20 minutes ASCII movie via Telnet emulation\nas stand alone server or via xinetd daemon. \n\nScreenshot:\n\n\u003cimg src=\"screenshots/example.gif?raw=true\" width=500\u003e\n\nWanna see it in action? Just watch http://asciinema.org/a/3132\n\n\nTested with Python 2.6+, Python 3.5+\n\nOriginal art work : Simon Jansen [http://www.asciimation.co.nz/](http://www.asciimation.co.nz/)  \nTelnetification \u0026 Player coding : Martin W. Kirst  \nPython3 Update: Ryan Jarvis\nDockerfile contributed by: Manuel Eusebio de Paz Carmona\n\nBuild Status [![Build Status](https://travis-ci.org/nitram509/ascii-telnet-server.svg?branch=master)](https://travis-ci.org/nitram509/ascii-telnet-server)\n\nCommand line parameters\n-----------------------\n\nSee program output:\n\n    $ python ascii_telnet_server.py --help\n    Usage: ascii_telnet_server.py [options]\n    Options:\n      -h, --help            show this help message and exit\n      --standalone          Run as stand alone multi threaded TCP server (default)\n      --stdout              Run with STDIN and STDOUT, for example in XINETD\n                            instead of stand alone TCP server. Use with python\n                            option '-u' for unbuffered STDIN STDOUT communication\n      -f FILE, --file=FILE  Text file containing the ASCII movie\n      -i INTERFACE, --interface=INTERFACE\n                            Bind to this interface (default '0.0.0.0', all\n                            interfaces)\n      -p PORT, --port=PORT  Bind to this port (default 23, Telnet)\n      -v, --verbose         Verbose (default for TCP server)\n      -q, --quiet           Quiet! (default for STDIN STDOUT server)\n\n\nRun as stand alone server\n-------------------------\n\nSimple call this Python script by using the sample movie file:\n\n    $\u003e python ascii_telnet_server.py --standalone -f ../sample_movies/sw1.txt\n    Running TCP server on 0.0.0.0:23\n    Playing movie sw1.txt\n\nRun as docker container\n-----------------------\n\nSimply build \u0026 run the container and use the movie file as environment parameter the sample movie file:\n\n    # Build image:\n    $\u003e docker build -t ascii-art-movie-telnet-player .\n    \n    # MODE STDOUT: Run as local player\n    \n    # with the default movie\n    $\u003e docker run -it --rm -e mode=stdout ascii-art-movie-telnet-player\n    \n    # with a custom movie file.txt (absolute path to file it's required):\n    $\u003e docker run -it --rm -v $(pwd)/your_movie.txt:/app/input_file.txt -e input_file=input_file.txt ascii-art-movie-telnet-player\n    \n    # MODE STANDALONE: Run as local telnet server\n    # To test, open a telnet client in other terminal/session i.e. $\u003e telnet localhost 23\n    \n    # with the default movie\n    $\u003e docker run -it --rm -p 23:23 -e mode=standalone ascii-art-movie-telnet-player\n    \n    # Run with custon input_file.txt movie\n    $\u003e docker run -it --rm -v $(pwd)/your_movie.txt:/app/input_file.txt -p 23:23 -e mode=standalone -e input_file=input_file.txt ascii-art-movie-telnet-player\n    \n\nRun as xinetd program\n---------------------\n\nplace this configuration into `/etc/xinetd.d/telnet`:\n\n    # default: on\n    # description: An telnet service playing an ASCII movie, Star Wars Episode 4 \n    service telnet\n    {\n            disable         = no\n            socket_type     = stream\n            protocol        = tcp\n            port            = 23\n            user            = root\n            wait            = no\n            instances       = 10\n    \n            log_type        = FILE /var/log/asciiplayer\n            log_on_success  += PID HOST DURATION\n            log_on_failure  = HOST\n            server          = /usr/bin/python\n            server_args     = -u -OO /opt/asciiplayer/ascii_telnet_server.py -f /opt/asciiplayer/sw1.txt --stdout\n    }\n\n## Stargazers over time\n\n[![Stargazers over time](https://starchart.cc/nitram509/ascii-telnet-server.svg)](https://starchart.cc/nitram509/ascii-telnet-server)\n \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnitram509%2Fascii-telnet-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnitram509%2Fascii-telnet-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnitram509%2Fascii-telnet-server/lists"}