No description
  • JavaScript 66.5%
  • Python 20.1%
  • HTML 5.3%
  • Nix 3.5%
  • CSS 3.1%
  • Other 1.4%
Find a file
Claude b0c9bb9d5e
All checks were successful
build / build (push) Successful in 4s
Cursor on the wallpaper, real wallpaper in the System preview, embedded mode
- shell page: the pointer is visible on the wallpaper and the lock screen;
  only the screensaver hides it (it was hidden everywhere, a leftover from
  the kiosk player).
- System preview: the stand-in desktop now shows the live wallpaper (a wall
  stage with the same seed) behind its windows, so after Unlock or Wake you
  land on the scene instead of a flat grey board.
- ?embed=1&host=1: the configurator as one pane of an OS settings app. It
  talks to the parent page with postMessage, hides the exports, the
  Animation builder, Size and Fine-tune, and the System tab gains the
  power-on/off effect choices that used to live on the Animation tab.
2026-11-07 21:08:26 +00:00
.forgejo/workflows Nix: package the shell, NixOS/HM shell options, Hyprland Lua snippet 2026-11-06 20:09:37 +00:00
bin vapor-session: log to ~/.local/state/vapor-shell.log 2026-11-06 20:30:25 +00:00
deploy Import Vapor Studio 0.1.0 as received 2026-11-06 17:35:40 +00:00
dist Cursor on the wallpaper, real wallpaper in the System preview, embedded mode 2026-11-07 21:08:26 +00:00
docs Emblem sun: any SVG/PNG silhouette as the sun, in every sun style 2026-11-07 19:54:48 +00:00
examples Nix: package the shell, NixOS/HM shell options, Hyprland Lua snippet 2026-11-06 20:09:37 +00:00
host Emblem sun: any SVG/PNG silhouette as the sun, in every sun style 2026-11-07 19:54:48 +00:00
nix Nix: package the shell, NixOS/HM shell options, Hyprland Lua snippet 2026-11-06 20:09:37 +00:00
src Cursor on the wallpaper, real wallpaper in the System preview, embedded mode 2026-11-07 21:08:26 +00:00
tools Emblem sun: any SVG/PNG silhouette as the sun, in every sun style 2026-11-07 19:54:48 +00:00
.gitignore Add vapor-shell, the desktop shell host 2026-11-06 20:09:37 +00:00
AGENTS.md Docs: the desktop shell, the shell config block, agent notes 2026-11-06 20:16:34 +00:00
flake.nix Nix: package the shell, NixOS/HM shell options, Hyprland Lua snippet 2026-11-06 20:09:37 +00:00
package.json Import Vapor Studio 0.1.0 as received 2026-11-06 17:35:40 +00:00
README.md Emblem sun: any SVG/PNG silhouette as the sun, in every sun style 2026-11-07 19:54:48 +00:00

Vapor Studio

Procedural vaporwave wallpapers, and login/unlock animations for Hyprland that are new every time but always in your style.

Presets

  • Configurator (dist/index.html): 21 presets, 14 palettes, 6 layouts, procedural objects (3D shapes, marble busts, columns, palms, sharks, clouds, retro tech, city), any aspect ratio. Saves wallpapers as SVG or PNG. Animation tab with a full-screen Demo mode.
  • Player (dist/player/): canvas animation engine. Every launch picks a new seed, so star fields, mountains, object placement, timing, intro and outro differ while the style stays fixed.
  • Desktop shell (vapor-shell): boots to an animated lock screen, unlocks into a live wallpaper, plays a screensaver and animates the screens turning off and on, with a new seed every wake or one you fix. Everything is set on the configurator's System tab, which doubles as the Vapor Settings app. See docs/shell.md.
  • Nix flake: package, NixOS module and Home Manager module.

Transitions

Emblem suns

Animation frames

Try it

Open dist/index.html in a browser. Nothing to install; it works from file://.

With Nix, on a Wayland desktop:

nix run .#demo            # endless runs, any key quits
nix run .                 # a single unlock run
nix run .#configurator    # open the configurator

Use it in a NixOS + Hyprland build

Add the flake input:

inputs.vapor-studio.url = "https://git.lucavs.nl/lucavanstraaten/vapor-studio/archive/main.tar.gz";

Home Manager (does the Hyprland and hypridle wiring):

imports = [ inputs.vapor-studio.homeManagerModules.default ];

programs.vapor-studio = {
  enable = true;
  preset = "Marble dreams";
  style = { gridStyle = "fade"; };
  animation = { duration = 4; };
  # configFile = ./vapor-config.json;   # or use an export from the configurator
};

NixOS (system-wide package and default config in /etc/vapor-studio/config.json):

imports = [ inputs.vapor-studio.nixosModules.default ];
programs.vapor-studio = { enable = true; preset = "Neo city"; };

More in examples/, docs/config.md and docs/hyprland.md. If another agent or tool is doing the integration, point it at AGENTS.md.

Repo layout

src/            sources: engine.js (SVG scene engine + presets), anim.js (animation + player),
                ui.js, style.css, index.html (configurator), player.html (player page)
dist/           built output, committed so the demo works straight after cloning
bin/            vapor-play (launcher) and vapor-unlocked (hypridle unlock hook), POSIX sh
nix/            package.nix, options.nix, nixos-module.nix, hm-module.nix
tools/          build.mjs and check.mjs, plain Node with no dependencies
examples/       vapor-config.json, home.nix, configuration.nix, plain hypr/ snippets
docs/           config reference, Hyprland notes, images
deploy/         Dockerfile and compose.yaml to host the configurator
.forgejo/       Forgejo Actions workflow that builds and checks

Develop

node tools/check.mjs   # renders every preset at several sizes, checks the config contract
node tools/build.mjs   # rebuilds dist/

src/index.html loads the sources as separate files, so serve src/ over HTTP while developing (for example python3 -m http.server -d src). dist/index.html is the same app inlined into one file. Commit dist/ after building; CI fails if it's out of date.

Host the configurator on your server

docker compose -f deploy/compose.yaml up -d --build

It serves dist/ with nginx on port 8088. Put it behind your usual reverse proxy.

Repository

Lives at https://git.lucavs.nl/lucavanstraaten/vapor-studio (HTTPS only). The flake input above is the archive URL, which also works when the repo is private if Nix has a netrc with a token for git.lucavs.nl (vapor-os does this for you). Run nix flake lock once and commit flake.lock so builds are reproducible.

License

No license file is included yet. Add the one you want before sharing the repo publicly.