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 77 commits into
base: main
Choose a base branch
from
Open

Plugin-based Modules Loader #4

wants to merge 77 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

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
@Toni500github Toni500github changed the title Plugins support Plugin-based Modules Loader Jul 5, 2025
Thus make it retrive values from getValue and keep our own wrapper for customfetch internally
this file is like the old parse.cpp so it shouldn't be platform dependent
…for `tmp_layout` (maybe bad decision)

maybe bad, but atleast I can implement $<auto> and the plugins use `tmp_layout` for multiple line modules.

777 commits... something is telling me to gamble my house
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