Giter VIP home page Giter VIP logo

pipes.sh's Introduction

pipes.sh

Animated pipes terminal screensaver.
doc/pipes.png

Screenshot of pipes.sh, click to watch a screencast on YouTube.

  • Bash 4+ since version 1.0.0.

If you want to install, you can run:

$ make install

By default, it installs to /usr/local; for user home, you can run:

$ make PREFIX=$HOME/.local install

Or any PREFIX you prefer.

The Makefile also provides uninstall target.

If you are a Homebrew user, you can install via:

$ brew install pipes-sh
Options Descrptions (Defaults)
-p [1-] Number of pipes (1)
-t [#] Type of pipes, can be used more than once (0)
-c [0-7] Color of pipes, can be used more than once (1 2 3 4 5 6 7 0)
-f [20-100] Framerate (75)
-s [5-15] Probability of a straight fitting (13)
-r LIMIT` Reset after x characters, 0 if no limit (2000)
-R Random starting point
-B No bold effect
-C No color
-K Pipes keep their color and type when hitting the screen edge
-h Help message
-v Print version number
-t # Characters Screenshots
-t 0 ┃┏ ┓┛━┓ ┗┃┛┗ ┏━
doc/pipes.t0.png
-t 1 │╭ ╮╯─╮ ╰│╯╰ ╭─
doc/pipes.t1.png
-t 2 │┌ ┐┘─┐ └│┘└ ┌─
doc/pipes.t2.png
-t 3 ║╔ ╗╝═╗ ╚║╝╚ ╔═
doc/pipes.t3.png
-t 4 |+ ++-+ +|++ +-
doc/pipes.t4.png
-t 5 |/ \/-\ \|/\ /-
doc/pipes.t5.png
-t 6 .. .... .... ..
doc/pipes.t6.png
-t 7 .o oo.o o.oo o.
doc/pipes.t7.png
-t 8
-\ /\|/ /-\/ \|
(railway)
doc/pipes.t8.png
-t 9
╿┍ ┑┚╼┒ ┕╽┙┖ ┎╾
(knobby)
doc/pipes.t9.png

For example, -t cMAYFORCEBWITHYOU.

doc/pipes.tc.png
0 background 1 red 2 green 3 yellow
4 blue 5 magenta 6 cyan 7 foreground
doc/pipes.C.png

Press any key to exit the program, except the following Shift + Key:

Keys Actions
P / O Increase/decrease probability of straight pipes
F / D Increase/decrease frame rate
B Toggle bold effect
C Toggle no colors
K Toggle keeping pipe color and type when crossing edges

Feel free to fork and/or create pull request following the guideline. If you're contributing, remember your changes will be released under the MIT license.

pipes.sh is licensed under the MIT License.

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.