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/api: The xfetch SDK: shared Rust crates and WebAssembly contracts for plugins, extensions, and effects.

BranchesTags
Open more actions menu

Latest commit

 

History

23 Commits
23 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
crates
crates
 
 
docs
docs
 
 
scripts
scripts
 
 
wit
wit
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
CHANGELOG.md
CHANGELOG.md
 
 
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
Cargo.toml
Cargo.toml
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
ROADMAP.md
ROADMAP.md
 
 
SECURITY.md
SECURITY.md
 
 
SUPPORT.md
SUPPORT.md
 
 

Repository files navigation

XFetch bannerAPI

Shared crates for the xfetch ecosystem.

The current release line is 0.3.1. It keeps the JSON protocol at version 1 and the WIT at xfetch:[email protected]; the changes are additive.

Current Scope

  • crates/common (xfetch-api-common): shared protocol constants, frame shape, timeout and JSON IO helpers.
  • crates/plugin-api: shared protocol crate for xfetch plugins.
  • crates/extension-api: shared protocol crate for xfetch extensions (config providers).
  • crates/effect-api: shared protocol crate for xfetch effects (intro animations over the info lines).
  • crates/guest-api: host-call helpers for WebAssembly guests (http_request, exec, log, protocol_version).
  • crates/command-api: shared protocol crate for CLI command addons.
  • wit/xfetch-runtime.wit: component-model contract (plugin, effect, extension and command worlds).
  • docs/: focused documentation for setup, protocol, SDK usage, wasm guests, and examples.
  • crates/*/examples/: minimal plugin, effect and extension binaries that compile against the public crates.

Main Crate

The first public crate in this repository is xfetch-plugin-api.

  • Defines the wire protocol used between xfetch and plugins.
  • Provides typed helpers for reading requests and writing responses.
  • Exposes a stable base for official and third-party plugin development.

Effect API

crates/effect-api (xfetch-effect-api) is the contract for effects: installable intro animations. The core renders the info lines and sends them to an effect binary (xfetch-effect-<name>); the effect returns a sequence of frames (delay + transformed lines) that the core plays before settling on the final content. Effect implementations are collected in the xfetch-cli/effects repository (the reference decrypt effect lives there).

  • Request carries the rendered lines plus style, duration_ms, fps and free-form args.
  • Response is a non-empty list of EffectFrame { delay_ms, lines }.
  • Effects are opt-in: a missing binary or invalid response simply skips the intro (no behavior change).

Command API

crates/command-api (xfetch-command-api) is the contract for CLI command addons. Commands receive arguments and return plain text lines, so a command owns its own output format. Components use the command world in the WIT package; core modules use the JSON request on stdin and plain text on stdout.

Documentation

  • Documentation Index
  • Getting Started
  • Plugin SDK
  • Protocol Reference
  • Extension SDK
  • Effect SDK
  • Command SDK
  • Examples

Notes

  • This repository owns shared contracts, not end-user config files.
  • Official plugins are expected to use the same public SDK as external plugins.
  • Protocol changes should land here first and then be adopted by the core and plugin repos.
  • Publishing order: xfetch-api-common first, then xfetch-plugin-api, xfetch-extension-api, xfetch-effect-api and xfetch-command-api; xfetch-guest-api is independent.

About

The xfetch SDK: shared Rust crates and WebAssembly contracts for plugins, extensions, and effects.

xfetch-cli.github.io/web/

Topics

component-modelextension-apiplugin-apiplugin-sdkrustsdkwasmwebassemblywitxfetch

Resources

Readme
MIT license

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy
Activity
Custom properties

Stars

1 star

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.