- Svelte 64.4%
- TypeScript 22.1%
- CSS 5.9%
- HTML 4.5%
- Dockerfile 2.7%
- Other 0.4%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
All checks were successful
Publish image / publish (push) Successful in 27s
All five plugins with their Marketplace icons, beside Revue Companion's screenshot of a review in the IDE. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0186Cxy3CCsQLvj8gyZ5gX94 |
||
| .claude | ||
| .forgejo/workflows | ||
| ai-output | ||
| public | ||
| scripts | ||
| src | ||
| .dockerignore | ||
| .gitignore | ||
| .mcp.json | ||
| compose.yaml | ||
| Dockerfile | ||
| index.html | ||
| nginx.conf.template | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| svelte.config.js | ||
| Taskfile.yaml | ||
| tsconfig.json | ||
| vite.config.ts | ||
Clean Gamedev — website
The cleangame.dev website: one scroll-animated page built with Svelte 5, TypeScript and Vite, prerendered to static HTML at build time and served by nginx.
src/App.svelte the page: Hero, Projects (one Showcase each), Footer
src/lib/projects.ts the project list — add a project here
src/lib/motion.ts scroll-frame and reveal helpers
src/entry-server.ts SSR entry; scripts/prerender.ts writes it into dist/
public/ copied as is: favicon, logos, og.png
Dockerfile npm build → nginx:alpine
nginx.conf.template nginx server block; listens on $PORT (default 80)
compose.yaml the built image, locally
Taskfile.yaml `task` shortcuts — `task` lists them
.mcp.json Playwright MCP servers (see .claude/skills/browser-debug)
.forgejo/workflows/ build, push, deploy
public/logo-square.svg and public/logo-circle.svg are the logo as vectors.
Develop
task install # npm install
task dev # Vite with hot reload → http://localhost:7000
task check # svelte-check
task build # dist/, prerendered
To run the image the server runs:
task up # docker compose up --build -d → http://localhost:7001
task down # stop it; `task logs` follows nginx
PORT=8080 task up picks another host port.
Release
Same process as our: every push to main (or a v* tag, or a manual run)
runs .forgejo/workflows/publish-image.yml. That workflow builds the image,
pushes it as registry.thatrichan.space/cleangamedev-website (tags latest,
main, the commit SHA, and the version for a tag), then connects over ssh as
deploy and pulls and restarts the app.
The repo needs the same five secrets as the other apps: REGISTRY_USERNAME,
REGISTRY_PASSWORD, DEPLOY_HOST, DEPLOY_SSH_KEY, DEPLOY_KNOWN_HOSTS.
On the server, /home/thatrichan/apps/cleangamedev-website/compose.yaml:
services:
cleangamedev-website:
image: registry.thatrichan.space/cleangamedev-website:latest
restart: unless-stopped
ports:
- "7001:80"
It has no configuration. To change the port nginx listens on inside the
container, set PORT in its environment.