An open API service indexing awesome lists of open source software.

https://github.com/carlosqsilva/vfetch

A command-line system fetch tool for macOS written in vlang
https://github.com/carlosqsilva/vfetch

command-line macos screenshot unixporn vlang

Last synced: 10 days ago
JSON representation

A command-line system fetch tool for macOS written in vlang

Awesome Lists containing this project

README

        

# `vfetch`


System fetch for MacOs written in vlang


# Usage

```bash
vfetch
```

🚨: `vfetch` require user permission to show connected bluetooth devices

flags:

```bash
-s --song | Print current playing music, works with Apple Music
-i --image | Display custom image, only works with terminal that support kitty graphic protocol
--no-colour | Turns off colour-formatted output and also implies --no-colour-demo
--no-colour-demo | Turns off the colour demo swatch
```

# Installation

## Homebrew

```bash
brew install carlosqsilva/brew/vfetch
```

## Install from source

### 0) Install [vlang](https://vlang.io), and add to your `path`

### 1) clone repo

```bash
git clone https://github.com/carlosqsilva/vfetch.git
```

### 2) change dir to `vfetch`

```bash
cd vfetch/
```

### 3) build program

```bash
just build #or
v -cflags "-framework IOBluetooth -framework Foundation" -prod -o vfetch .
```

After that you will get a ready-made binary file in the root directory of the project.

# Thanks for ideas & examples 💬

- [pfetch](https://github.com/dylanaraps/pfetch/)
- [neofetch](https://github.com/dylanaraps/neofetch)
- [fastfetch](https://github.com/fastfetch-cli/fastfetch)
- [nitch](https://github.com/unxsh/nitch)