Static HTML/CSS/JS/Svelte playground — live-served from k8s
This repository has been archived on 2026-05-18. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
  • Svelte 60.3%
  • HTML 31.9%
  • JavaScript 7.8%
Find a file
2026-03-13 18:48:17 +00:00
1-first-repo Add westside dashboard, sprint board, rebuild water as canvas Svelte app 2026-03-11 14:18:35 -06:00
2-svelte-hello Add Svelte hello project + update root index 2026-03-11 14:04:20 -06:00
3-westside-dashboard Wire westside dashboard to live basketball-api data (#2) 2026-03-13 18:48:17 +00:00
4-sprint-board Add mobile touch drag-and-drop to sprint board 2026-03-11 14:22:57 -06:00
5-pal-e-docs Add pal-e-docs browser — 285 notes from live API with search, type filters, rendered HTML 2026-03-11 14:30:49 -06:00
guide Add CSS & Svelte fundamentals guide + link from root index 2026-03-11 14:10:02 -06:00
k8s Wire westside dashboard to live basketball-api data (#2) 2026-03-13 18:48:17 +00:00
.gitignore Add Svelte hello project + update root index 2026-03-11 14:04:20 -06:00
index.html Add pal-e-docs browser — 285 notes from live API with search, type filters, rendered HTML 2026-03-11 14:30:49 -06:00
README.md Update README with all 6 projects and current architecture 2026-03-11 14:31:52 -06:00

playground

Live-served scratchpad for HTML, CSS, JavaScript, and SvelteKit experiments.

Public URL: https://playground.tail5b443a.ts.net Repo: https://forgejo.tail5b443a.ts.net/forgejo_admin/playground

How it works

  • nginx pod mounts ~/html-playground via hostPath — save a file, refresh, instant
  • Svelte projects need npm run build after edits, then refresh
  • nginx reverse-proxies /paldocs-api/ to the pal-e-docs API (no CORS issues)
  • Push to Forgejo for version control: git add . && git commit -m "msg" && git push

Projects

# Name Type URL
5 pal-e-docs Browser Svelte (live API) /5-pal-e-docs/build/
3 Westside Basketball Dashboard Svelte (mock data) /3-westside-dashboard/build/
4 Sprint Board Svelte (mock data) /4-sprint-board/build/
1 Flowing River Svelte (canvas) /1-first-repo/build/
2 Svelte Hello Svelte (learning) /2-svelte-hello/build/
- CSS & Svelte Guide HTML /guide/

Adding a new project

HTML

mkdir ~/html-playground/6-my-project
# add index.html, styles.css, script.js
# add link in root index.html
# refresh browser — instant

SvelteKit

cd ~/html-playground
cp -r 2-svelte-hello 6-my-app
cd 6-my-app
# update svelte.config.js: paths.base = '/6-my-app/build'
# edit src/routes/+page.svelte
npm install && npm run build
# add link in root index.html pointing to 6-my-app/build/

Structure

playground/
├── index.html              ← landing page
├── guide/                  ← CSS & Svelte fundamentals (HTML)
├── 1-first-repo/           ← flowing river (Svelte + canvas)
├── 2-svelte-hello/         ← learning template (Svelte)
├── 3-westside-dashboard/   ← basketball admin/coach/parent (Svelte)
├── 4-sprint-board/         ← kanban board with drag-and-drop (Svelte)
├── 5-pal-e-docs/           ← note browser, live API (Svelte)
├── k8s/                    ← cluster manifests
└── README.md

Infra

  • Serving: nginx:alpine via hostPath volume
  • TLS: Tailscale funnel (automatic HTTPS)
  • API proxy: /paldocs-api/pal-e-docs.pal-e-docs.svc.cluster.local:8000
  • Namespace: playground