Skip to content

bhavjitChauhan/minefetch

Repository files navigation

Minefetch

Minefetch is a neofetch-like tool for fetching Minecraft server information.

minefetch hypixel.net -i sixel

Install

Script

Unix-like (Linux and macOS)

curl -fsSL https://raw.githubusercontent.com/bhavjitChauhan/minefetch/main/install.sh | bash

Windows

powershell -c "iwr https://raw.githubusercontent.com/bhavjitChauhan/minefetch/main/install.ps1 | iex"

Manual

To install an older version, or if the above methods do not work, you can manually download a prebuilt binary from the GitHub releases page.

Usage

Run against a Java Edition server:

minefetch hypixel.net

Run against a Bedrock Edition server:

minefetch --bedrock play.lbsg.net

View all available options:

minefetch --help

Features

  • Java Edition
  • Bedrock Edition (--bedrock)
  • Server icon
  • RGB text
  • Crossplay
  • Cracked servers (--cracked)
  • Mojang's blocked server list (--blocked)
  • Query (--query)
  • RCON (--rcon)
  • Chat report prevention
  • SRV lookup
  • Raw output (--output raw)

Internal packages

This project has no third-party dependencies, including Go's X-Repositories. This is not as impressive as it may sound, as Go's standard library is quite extensive. It does, however, mean that many wheels have been reinvented in the internal directory. These include:

  • mc: Subset of the Java Edition protocol
  • mcpe: Subset of the Raknet protocol as used by Bedrock Edition
  • term: Terminal syscalls, and ANSI and xterm escape codes
  • image/
    • sixel: Sixel encoding
    • scale: Lanczos image scaling
    • quant: Median-cut image quantization
    • pngconfig: PNG header decoding
    • print: Terminal image rendering via Unicode
  • flag: CLI flag parsing
  • emoji: Emoji detection and manipulation

These packages should only be used for reference purposes. They are not intended for public use, and may break at any time.

Inspiration

This project was influenced by:

About

Minefetch is a neofetch-like tool for fetching Minecraft server information.

Topics

Resources

Stars

Watchers

Forks

Languages