- JavaScript 66.5%
- Python 20.1%
- HTML 5.3%
- Nix 3.5%
- CSS 3.1%
- Other 1.4%
|
All checks were successful
build / build (push) Successful in 4s
- 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. |
||
|---|---|---|
| .forgejo/workflows | ||
| bin | ||
| deploy | ||
| dist | ||
| docs | ||
| examples | ||
| host | ||
| nix | ||
| src | ||
| tools | ||
| .gitignore | ||
| AGENTS.md | ||
| flake.nix | ||
| package.json | ||
| README.md | ||
Vapor Studio
Procedural vaporwave wallpapers, and login/unlock animations for Hyprland that are new every time but always in your style.
- 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.
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.



