Skip to content

Latest commit

History

43 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

Fluxlay Examples

日本語 | English

Official examples and starter templates for building live wallpapers with Fluxlay. Each directory is a standalone project that works directly with the @fluxlay/clidev / build / publish commands — copy one and edit freely as a starting point for your own wallpaper.

These examples are also the canonical home for patterns that are intentionally not in the @fluxlay/react SDK (such as WebGL helpers, drawing utilities, and other browser-API wrappers). The SDK is scoped to runtime-bridging APIs; everything else lives here as code you own.

📖 Documentation:Getting Started · CLI Reference · Manifest Reference · SDK Reference

Examples

ExampleDescriptionAPIs used
hello-worldMinimal template — a starting point for new projects.
shader-basicShadertoy-compatible GLSL fragment shader rendered fullscreen. Includes a reusable <Shader /> component you can copy into your own project.— (pure WebGL2)
mouse-followerStar particles drifting toward your cursor with React Spring physics.useMousePosition
gradient-wavesLayered gradient waves with time-of-day color shifts.useMousePosition
particle-flow-fieldPerlin-noise flow field with painterly particle trails.useMousePosition
glass-cubeRefractive glass cube rendered with React Three Fiber.useMousePosition
audio-visualizerCircular frequency bars with now-playing media metadata.useAudio, useMediaMetadata, useProperties
matrix-rainMatrix-style digital rain reactive to CPU load.useSystemMonitor
system-monitorCyberpunk HUD displaying CPU / memory / network metrics.useSystemMonitor
monochrome-monitorMinimal black-and-white system HUD with a bottom-edge audio spectrum strip and dark/light theme switch.useSystemMonitor, useAudio, useMediaMetadata, useProperties
run-commandDesktop dashboard powered by macchina, pmset, curl.useShell, shell / network manifest
dev-dashboardDeveloper dashboard with GitHub PRs, Google Calendar, and a Pomodoro timer. Demonstrates proxiedFetch, openUrl, notify, and Mimo-driven clicks.proxiedFetch, openUrl, notify, MimoProvider, useProperties

Usage

In any example directory:

cd<example>
pnpm install
pnpm dev # Dev server with HMR, paired with the Fluxlay app
pnpm build # Produces wallpaper.fluxlay
pnpm publish # Publish to the Fluxlay store (requires login)

Note

The dev server requires the Fluxlay desktop app and authentication via fluxlay login. See the getting started guide for the full walkthrough.

Requirements

  • Node.js 20+ / pnpm 10+
  • macOS or Windows (per Fluxlay's supported platforms)
  • run-command additionally requires macchina, curl, and jq

Project structure

Every example follows the same layout:

<example>/
├── fluxlay.yaml # Wallpaper manifest (name / slug / kind: web / properties, etc.)
├── package.json # Depends on @fluxlay/cli, @fluxlay/vite, @fluxlay/react
├── vite.config.ts # Configures the @fluxlay/vite plugin
├── index.html
└── src/main.tsx # Wallpaper entry point

See the manifest reference for the full fluxlay.yaml specification, and the Vite plugin reference for @fluxlay/vite options.

License

Each example is provided under the MIT License. Feel free to fork and modify them to build your own wallpapers.

About

Live wallpaper examples for Fluxlay — React, Three.js, Canvas, system monitor & shell integrations

Topics

Resources

Stars

3 stars

Watchers

0 watching

Forks

Contributors

Languages