Git Product home page Git Product logo

fetch-master-6000's Introduction

Fetch-master 6000

Simple fetching tool

Works on Linux & BSD

ASCII art of Dilbert is taken from the Kakoune text editor
ASCII art of Alice, PHB is taken from Christopher Johnson's collection
ASCII art of the Wolf is taken from asciiart.eu
ASCII art of the Astronaut is taken from this site

Screenshots

all1.png al2l.png arts.png

Installation

Its just a perl script download it make it executable and put somewhere in your $PATH

For Gentoo refer to the XDream's Repository

Via install script

bash -c "$(curl https://raw.githubusercontent.com/anhsirk0/fetch-master-6000/master/install.sh)"

Manually

with wget

wget https://raw.githubusercontent.com/anhsirk0/fetch-master-6000/master/fm6000.pl -O fm6000

or

with curl

curl https://raw.githubusercontent.com/anhsirk0/fetch-master-6000/master/fm6000.pl --output fm6000

making it executable

chmod +x fm6000

copying it to $PATH (~/.local/bin/ , this step is optional)

cp fm6000 ~/.local/bin/

Usage

if fm6000 in $PATH

fm6000

runing the script

./fm6000

or

perl fm6000

or

bash fm6000

Displaying custom ASCII from file

fm6000 -f wolf.txt

wolf.png

kak wolf.txt

rawwolf.png

fm6000 -f astronaut.txt -c cyan

astronaut.png

fm6000 -f arch_logo.txt

arch_logo.png

About custom ascii_art file

every line should be of same length (use spaces if needed)
atleast 10 lines is required (use empty spaces lines if needed)

Colors

color1.png

color2.png

Geometry

geometry.png

Available Options

-h or --help for help
-c or --color for base color
-w or --wally display Wally
-dog or --dogbert display Dogbert
-al or --alice display Alice
-phb or --phb display Pointy Haired Boss
-as or --asok display Asok
-r or --random display Random art
-f or --file display ascii art from file

-o or --os for os
-k or --kernel for kernel
-de or --de for desktop environment
-s or --shell for shell
-u or --uptime for uptime
-pa or --package for package count
-n or --not_de to use 'WM' instead of 'DE'
-v or --vnstat to use vnstat instead of kernel

-m or --margin Space on the left side of info
-g or --gap Spaces between info and info_value
-l or --length Length of the board (should be greater than 14)

option can be of single character or more
for ex: -help can be used via -h -he -hel -help as long as it avoids ambiguity
for ex: -d is ambiguous (-dogbert , -de) so atleast 2 characters should be specified

Available colors

black red green yellow blue magenta cyan white random

bright_black bright_red bright_green bright_yellow
bright_blue bright_magenta bright_cyan bright_white

Randomization

For random color use:

fm6000 -color random

or

fm6000 -c random

For random character use:

fm6000 -random

or

fm6000 -r

Troubleshooting

If your distro is not {arch, debian, fedora, freeBSD, gentoo, venom, solus} based fetch-master-6000 wont be able to detect number of packages In that case you have to specify number of packages yourself
Solus is already supported For example:
On Solus (eopkg) command to list all istalled packages is:

eopkg list-installed

to count packages pipe the list to wc -l

eopkg list-installed | wc -l

make it an alias to avoid typing it everytime

alias fm6000='fm6000 -p $(eopkg list-installed | wc -l)'

Similiarly for other distros

fm6000 -p $(pacman -Q | wc -l)

output out2.png

fetch-master-6000's People

Contributors

anhsirk0 avatar xdream8 avatar darthhelmut avatar hecodes2much avatar mtwb47 avatar pluma9 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.