Skip to content

phagenlocher/pipes.go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pipes.go

Screenshot

Description

A pipes.sh clone written in Golang. While the original cannot be beaten in terms of compatibility and file size, it has a bit of a performance issue. pipes.go tries to fix this problem with high concurrency. This results in lower CPU usage and smoother animation.

Usage

  • -C disables color
  • -B disables bold output
  • -D additionally uses dimmed colors
  • -N lets the pipes change color when exiting the screen (just like in pipes.sh)
  • -R lets the pipes start from random coordinates
  • -p specifies the amount of pipes
  • -c sets a predefined colorscheme
  • -t sets the character set
  • -r specifies after how many updates to clear the screen
  • -f sets the targeted frames per second
  • -s sets the probability of not changing the direction for a pipe

Building & Installation

You will need to have developer's libraries for ncurses, git and Golang installed. On Debian or Ubuntu you can use this:

apt install libncurses-dev git golang

You can build and install the executable using go:

go build
go install

You can use go list to find the executable's install path:

go list -f '{{.Target}}'

About

A pipes.sh clone written in Golang

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages