GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - xfetch-cli/extensions: Config-level xfetch extensions — swap layouts, randomize themes, and reshape your fetch before it renders.

BranchesTags
Open more actions menu

Latest commit

 

History

27 Commits
27 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
docs
docs
 
 
extensions
extensions
 
 
scripts
scripts
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
CHANGELOG.md
CHANGELOG.md
 
 
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
Cargo.lock
Cargo.lock
 
 
Cargo.toml
Cargo.toml
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
SECURITY.md
SECURITY.md
 
 
SUPPORT.md
SUPPORT.md
 
 
index.json
index.json
 
 

Repository files navigation

XFetch bannerExtensions

Official extensions for xfetch live in this repository. Extensions are standalone binaries that hook into the xfetch lifecycle — they can modify the configuration before rendering, change layouts, randomize themes, and more.

Unlike plugins (which provide info lines or animate logos), extensions operate at the config level: they receive the full resolved configuration via stdin and return a modified version via stdout. This allows them to alter layouts, modules, colors, icons, logos, or even load an entirely different config file.

Install an Extension

Copy the binary to the extensions directory:

cp xfetch-extension-<name> ~/.config/xfetch/extensions/

Then add it to your xfetch config:

{
  "config_providers": [
    {
      "extension": "&lt;name&gt;",
      "args": { ... }
    }
  ]
}

Extensions run in declaration order, after the theme merge.

Available Extensions

Extension Description
layout-override Overrides the layout and/or modules at load time.
config-roulette Picks a random (or daily) config from a list of paths — shows a different look every time.
wasm-night-mode Turns colors off outside the daytime window (Rust).
wasm-updates-footer Appends the pending package-update count to the footer (Go).
wasm-lang-labels Localizes module labels from LANG/LC_ALL (Python component).

See Platform Compatibility for which extensions work on Linux, macOS and Windows.

Developing Locally

This repository is a Cargo workspace. Build every extension together:

cargo build --release

Extension implementations are grouped under extensions/<name>, keeping the root clean as the ecosystem grows.

The shared wire protocol used by the core and extensions is maintained in xfetch-cli/api.

Installed Binary Directory

  • Linux/macOS: ~/.config/xfetch/extensions/
  • Windows: %APPDATA%/xfetch/extensions/

Authoring Extensions

Each extension is a binary named xfetch-extension-<name> (or xfetch-extension-<name>.exe on Windows).

The protocol uses stdin/stdout JSON:

Request

{
  "version": 1,
  "kind": "config_provider",
  "config": { ... },
  "args": { ... }
}

Response

{
  "config": { ... }
}

The extension receives the fully resolved xfetch configuration (after applying defaults, config file, and theme), modifies the fields it cares about, and returns the entire config object. Unchanged fields are preserved.

Errors should be printed to stderr and the process should exit with a non-zero status.

About

Config-level xfetch extensions — swap layouts, randomize themes, and reshape your fetch before it renders.

Topics

automationcliconfig-managementconfigurationextensionsrustterminalxfetch

Resources

Readme
MIT license

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy
Activity
Custom properties

Stars

2 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.