GithubHelp home page GithubHelp logo

johnoscott / docker-funbox Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wernight/docker-funbox

0.0 0.0 0.0 1.14 MB

Docker container with fun terminal commands and ASCII art.

Home Page: https://registry.hub.docker.com/u/wernight/funbox

License: MIT License

Shell 100.00%

docker-funbox's Introduction

Docker Funbox

Docker container with fun geeky terminal commands and ASCII art.

Featuring

In alphabetic order:

Basic usage

$ docker run --rm -it wernight/funbox
                         _       _     _      ____             _
__      _____ _ __ _ __ (_) __ _| |__ | |_   / / _|_   _ _ __ | |__   _____  __
\ \ /\ / / _ \ '__| '_ \| |/ _` | '_ \| __| / / |_| | | | '_ \| '_ \ / _ \ \/ /
 \ V  V /  __/ |  | | | | | (_| | | | | |_ / /|  _| |_| | | | | |_) | (_) >  <
  \_/\_/ \___|_|  |_| |_|_|\__, |_| |_|\__/_/ |_|  \__,_|_| |_|_.__/ \___/_/\_\
                           |___/

Screensavers / inifite animations:
  1) `aafire` - Fire pit
  2) `asciiquarium` - Aquarium
  3) `cacademo` - caca-utils demo
  4) `cmatrix` - Matrix
  5) `falling-hearts` - Falling Hearts screensaver
  6) `nyancat` - Nyan cat
  7) `pipes` - Pipes screensaver
  8) `xaos` - real-time interactive fractal zoomer
Demos / short animations:
  9) `bb` - ASCII art demo
 10) `sl` - Train passing by
 11) `youtube` - Alias to watch YouTube video using `youtube-dl`, `vlc` and `caca`
Static ASCII art:
  * Text`formatting:
     12) `cowsay` - Talking cow (or actually many others, run with `-l` to get a list and via `-f <name>` to use one)
     13) `figlet` - ASCII large text print
     14) `toilet` - ASCII large text print
  * Other:
     15) `aview` - Convert image to ASCII art
     16) `cacaview` - Convert image to ASCII art
     17) `boxes` - Put various frames around given block of ASCII art.
     18) `binclock` - Current time in binary.
     19) `linuxlogo` - Standard linux logos
     20) `lolcat` - Colorful `cat`
Random text generator:
 21) `rig` - Kind of person ID
 22) `fortune` - Random fortune cookie message

Some Examples

$ docker run --rm -it wernight/funbox nyancat

Screen-shot showing a nyancat in ASCII art

$ docker run --rm -it wernight/funbox asciiquarium

Screen-shot showing a sharq in an aquarium in ASCII art

$ docker run --rm -it wernight/funbox sh -c "figlet funbox | boxes | toilet --gay -f term"

Screen-shot showing a the word funbox in large text using ASCII art

$ docker run --rm -it wernight/funbox watch -ct -n1 "date '+%D%n%T' | figlet -k | boxes -a c -s 59 -d cat"

Screen-shot showing a the current date and time in a frame with a cat on top using ASCII art

$ docker run --rm -it wernight/funbox cvlc --no-audio -V caca /examples/countdown.mp4

Screen-shot showing number 3 in 3-D using ASCII art

You can also watch YouTube videos from the console thanks to the youtube alias (using youtube-dl, vlc and caca-utils) then use cvlc keyboard shortcuts:

$ docker run --rm -it wernight/funbox youtube 'https://www.youtube.com/watch?v=bMljuVqqmVU'

Security and mounting volumes

For security, all tools run as non-root user with uid 666. So to access mounted volumes (images or media) do one of the following from within your Docker host:

  • Make them readable by everyone chmod o+rx
  • make them readable by uid/gid 666
  • Run as another user: docker run --rm -it --user $UID wernight/funbox ...

Example:

$ chown 666 my-image.png
$ docker run --rm -it -v $PWD/my-image.png:/my-image.png:ro wernight/funbox metapixel /my-image.png

See also

docker-funbox's People

Contributors

wernight avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.