I'm not sold on the value of it for OpenWrt (I usually don't ssh into the router for fun)... but I've seen plenty of other packages in that category, so who am I to tell. @webysther still looking for a package for it?
Sure, I think this is usefull for new users or for people using the x86 version. Space needed is a consideration relevant when using with low storage AP for sure. Sometimes is hard even here reach new users and ask for the information can be usefull if they use the CLI, yeap I know the overview in luci have mostly of this information, but I prefer use CLI than luci, mainly with guacamole.
#
# Copyright (C) 2009-2025 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=fastfetch
PKG_VERSION:=2.35.0
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://github.com/fastfetch-cli/fastfetch/archive/refs/tags/
PKG_HASH:=e066d84f9ca176e24f162ce99dab7fac5238b5e8c94ab4aaff5850b6cc5c6ead
PKG_BUILD_DIR:=$(BUILD_DIR)/fastfetch-$(PKG_VERSION)
PKG_MAINTAINER:=YOUR NAME HERE <your.email@goes.here>
PKG_LICENSE:=MIT
PKG_LICENSE_FILES:=LICENSE
PKG_CPE_ID:=cpe:/a:fastfetch:fastfetch
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/cmake.mk
define Package/fastfetch
CATEGORY:=Utilities
TITLE:=Fetch and display system information
endef
define Package/fastfetch/description
Fastfetch is a tool for fetching system information and displaying it prettily.
endef
define Package/fastfetch/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/fastfetch $(1)/usr/bin/
endef
$(eval $(call BuildPackage,fastfetch))
Just needs an updated PKG_MAINTAINER and a PR can be opened against openwrt/packages with it.
I'm still undecided whether I like fastfetch or not... I think the package needs a better owner than me. So here's the Makefile and the chance for owning a package.
All it needs is someone to put their name on it, open the PR, and nurse it through until it's merged. (And then maybe another one to backport it to 24.10).
Going forward... if there is a new version worth the update, update the version and checksum (I do that the wrong way... I try to compile it and it fails saying "expected blah, got bleh" and there's my new checksum) and send a new PR with the update.
It builds cleanly and without patches so there's not much more than that.
I don't want to be on the hook for this one. I'm already hooked on too many OpenWrt things to also take this one, which I really don't use.
So... you in? I'm here to help if you want to add your name and submit the PR.
apk vs opkg has no impact on this, but no problem. There's some traction upstream but might just be that. It can sit there until someone wants it more than we do.
Cheers!