9ea85db5cef237f13b9302715e4daa68735f9a06
- Hugo static site at root: config, content (home/about/resume/blog + 5 projects), data/resume.yaml, custom layouts (gpu background, resume renderer, projects list), dark theme with canvas behind content - gpu-bg/: extracted WebGPU/WebGL2 spiral engine as a Vite sub-package; slim bootstrap drops router/overlay/text renderer; fixed uniforms (scene0/dim0); self-contained engine.js - archive/: retired Vite SPA preserved (router, overlay, data, engine/text orphaned) - 3-stage Dockerfile (node -> hugo extended/dart-sass -> nginx), static nginx config - DEPLOYMENT.md handover + README rewrite; pre-hugo rollback tag
Djosen — personal site
Hugo static site (hugo-coder theme, dark) with a WebGPU spiral background on the homepage.
Structure
- Hugo site (repo root):
content/(pages, projects, posts),data/resume.yaml,layouts/(custom homepage/resume templates),themes/hugo-coder(git submodule),static/gpu/(the compiled engine bundle). gpu-bg/— the WebGPU/WebGL2 background engine (Vite+Typescript), built to a static JS bundle.archive/— the retired Vite SPA, preserved for reference.
Dev
Hugo server (site content):
hugo server
Engine (background):
cd gpu-bg && npm run dev
Full loop — build the engine, copy the bundle into the Hugo site, then serve:
cd gpu-bg && npm install && npm run build
cp gpu-bg/dist/engine.js static/gpu/engine.js
hugo server
Docker
docker compose build
docker compose up -d
Site at http://127.0.0.1:8080.
Deploy
Server-side deployment (Gitea Actions / webhook) is documented in DEPLOYMENT.md — including the mandatory recursive-submodule checkout for the Hugo build.
Description
Languages
TypeScript
61.5%
HTML
14.9%
WGSL
10.3%
GLSL
5.4%
Python
3.8%
Other
4.1%