Skip to content

Plugin-based Modules Loader #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 145 commits into
base: main
Choose a base branch
from
Open

Plugin-based Modules Loader #4

wants to merge 145 commits into from

Conversation

Toni500github
Copy link
Owner

@Toni500github Toni500github commented Jun 29, 2025

Neofetch has been an inspiration for many projects, even for fastfetch which has took its crown.
It has been used as a must-have for linux rices, especially in communities like r/unixporn.

There are many different neofetch-style programs out there, many beeing created for fetching system informations, others for fetching things such as github profiles i.e githubfetch

It was just a normal sunny day, when all of the sudden something snapped, something inside of me: custom fetch
So many neofetch-style programs out there being created for many but only sole purpose/use-case.

Right there I knew my new mission. To build a neofetch-style program that not only fetches system information, but one that can be extended with user-created libraries to fetch anything, while being able to use at your advantage its powerful parser.

Aight my bad for this "cinematic" paragraph.
I know that plugins are not really something new, but at the same time I never saw a neofetch-style program that can actually fetch other informations than what they have been created for.

If you want to see a POC for creating your own plugin, you can checkout customfetch-plugin-github

This PR is obviously still WIP, and it's going to break 99% of config.layout but is really fixable by just replacing underscores _ with dots .

TODO:

  • Create cufetchpm
  • Create manifest standard
  • Add config interfaces for the plugins
  • (maybe) Rewrite libcufetch in C for more languages support

Un-related commits that should be in main

  • 51742e7 makefile: force link with fmt static library
  • 7827407 misc: remove VENDOR_TEST and DEVICE_TEST
  • f6a56cf docs: fix some -h incorrections
  • 0104997 misc: fix crash with really big all_ids string in pci.ids.hpp
  • 907d567 44361a1 misc: fix some things
  • 1600cf1 misc: ditch selfmade command execute functions in favour of cross-platform tiny-proccess-library
  • 59c57c0 args: migrate GNU getopt to getopt_port

BurntRanch and others added 30 commits June 19, 2025 21:49
make common.hpp a header library file + move and refactor libdl macros
wm_name, wm_version, de_name are the remaining ones
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants