Skip to content

lnxwizard/gfetch

Repository files navigation

gfetch

A minimal system fetch written in Go.

Table of Contents

Usage

gfetch

Examples

gfetch
gfetch --help

Flags

-h, --help      help for gfetch
-v, --version   version for gfetch

Configuration

You can customize title and value text styles with this simple command:

// Command will added soon...

Building

  • Install Go programming language.

    • Arch Linux:
      pacman -S go
    • Debian / Ubuntu or based distros:
      apt install golang
    • MacOS or All Linux Distros:
      brew install go
  • Clone Repository

    • With Git:
      git clone https://github.com/lnxwizard/gfetch.git
    • With GitHub CLI:
      gh repo clone lnxwizard/gfetch
  • Change Directory

    cd gfetch
  • Build the Program with Go

    go build ./cmd/gfetch
  • Run Program

     ./gfetch
    

File Architecture

gfetch
├── cmd
│   └── gfetch
│       └── main.go
├── go.mod
├── go.sum
├── internal
│   ├── config
│   │   └── config.go
│   └── system
│       ├── color.go
│       ├── desktop.go
│       ├── distro.go
│       ├── kernel.go
│       ├── memory.go
│       └── shell.go
├── LICENSE
├── pkg
│   ├── cmd
│   │   ├── bug
│   │   │   └── bug.go
│   │   └── root
│   │       └── root.go
│   └── user
│       ├── hostname.go
│       └── username.go
├── README.md
└── Taskfile.yaml

11 directories, 17 files

License

MIT License