GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Devsh-Graphics-Programming/MainWebsite

BranchesTags
Open more actions menu

Latest commit

 

History

192 Commits
192 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
app
app
 
 
public
public
 
 
scripts
scripts
 
 
.dockerignore
.dockerignore
 
 
.gitignore
.gitignore
 
 
.npmrc
.npmrc
 
 
Caddyfile
Caddyfile
 
 
Caddyfile.site
Caddyfile.site
 
 
Dockerfile
Dockerfile
 
 
Dockerfile.linkedin-sync
Dockerfile.linkedin-sync
 
 
README.md
README.md
 
 
docker-compose.yml
docker-compose.yml
 
 
eslint.config.mjs
eslint.config.mjs
 
 
next.config.ts
next.config.ts
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
postcss.config.mjs
postcss.config.mjs
 
 
tailwind.config.ts
tailwind.config.ts
 
 
tsconfig.json
tsconfig.json
 
 

Repository files navigation

Build Status Master payload size Join our Discord

This repo is a Next.js app used to generate a static site. The final production image contains only static assets served by Caddy on a read-only filesystem (no Node/npm runtime in the shipped image).

Development (local only)

  • Install deps: npm install
  • Run dev server: npm run dev then open http://localhost:3000

⚠️ These steps are for local development. The production image serves static files and does not include Node or npm.

Build (production image)

  • docker build -t www-website .
  • The runtime serves static files. Use a read-only filesystem (e.g., docker run --read-only --tmpfs /tmp --tmpfs /config --tmpfs /data -p 3000:3000 www-website).

⚠️ The final container serves the generated out directory. Keep it read-only. Run Node/npm scripts in the build stage or locally.

Repository size budget

  • CI fails if the tracked tree exceeds 10 MiB, public/ exceeds 8 MiB, any tracked blob exceeds 1 MiB, or HEAD Git blob payloads exceed 15 MiB.
  • Run scripts/check-size-budget.sh locally before adding new media. The README badge is informational and is updated outside the size gate.

Runtime filesystem layout

  • The image is read-only, but Caddy still needs tiny writable slots for TLS cache/autosave/lock files.
  • Align tmpfs mounts with docker-compose.yml: /tmp:size=32m, /config:size=16m, /data:size=16m.
  • These small tmpfs allocations keep RAM usage predictable while allowing the static server to update its metadata safely.

Deployment notes

  • Published image: ghcr.io/devsh-graphics-programming/www-website (tags: latest, master, sha-*).
  • Blog content is proxied separately. The main image does not include Node/npm or the blog runtime.
  • Security
  • Enable GitHub's push protection/secret scanning (see https://docs.github.com/en/code-security/secret-scanning/introduction/about-push-protection) so that any accidental secret leaks are flagged before a push finishes.

Generated PDFs

Run npm run generate:pdfs to rebuild public/pricing.pdf and public/partner.pdf. This also runs with npm run dev and npm run build. Both PDFs stay out of Git. Edit prices in app/data/pricing-rates.json and partner text in app/data/partner-content.json. Both generators share the fonts, colors and footer in scripts/lib/pdf-brand.mjs.

About

No description, website, or topics provided.

Resources

Readme
Activity
Custom properties

Stars

0 stars

Watchers

1 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.