Skip to content

About

VaultScope.dev

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

vaultscope.dev — OCD landing page

A frontend-only, single-page Next.js website for vaultscope.dev. It uses Motion for scroll-linked animation and Lenis for smooth scrolling. There is no application backend, API, database, authentication, or server runtime.

Local development

Requires Node.js 22.23.4 (pinned in .nvmrc).

npm install
npm run dev

Open http://localhost:3000.

GitHub repository

The repository is VaultScope/vaultscope.dev. Keep the application files at the repository root (package.json, next.config.ts, wrangler.jsonc, .nvmrc, and the app/ directory).

Cloudflare Workers Builds — GitHub auto-deploy

This project uses Next.js static export deployed as a static-assets-only Cloudflare Worker. It intentionally does not use OpenNext: the site has no server-side routes or backend, so the static out/ directory is all Cloudflare needs.

The committed wrangler.jsonc is important. It tells Wrangler to deploy ./out directly and prevents automatic Next.js detection from trying to migrate the project to OpenNext.

Cloudflare dashboard settings

Open the existing Worker vaultscope-dev → Settings → Builds and use:

Setting Value
Git repository VaultScope/vaultscope.dev
Production branch main
Root directory /
Build command npm run build
Deploy command npm run deploy
Preview command (optional) npm run build && npx wrangler deploy

npm run build runs next build and generates out/. npm run deploy runs Wrangler, which reads wrangler.jsonc and uploads only the static files from out/.

Do not use npx wrangler deploy without the committed wrangler.jsonc, and do not set the build command to an OpenNext command. That would trigger the server adapter and recreate the previous pages-manifest.json error.

Update the repository

After copying the project files over the current repository, regenerate the npm lockfile and push:

npm install
npm run build

git add .
git commit -m "Deploy static site with Cloudflare Workers assets"
git push origin main

The local build should create the out/ directory. Cloudflare then repeats the build and deploys it automatically on every push to main.

Domain

The Worker name is vaultscope-dev to match the existing Cloudflare Worker. After the first successful deployment, open Worker → Settings → Domains & Routes → Add → Custom Domain and add vaultscope.dev.

The domain can remain registered at Cloudflare. No nameserver changes are required.

Project files

  • app/page.tsx — landing page and scroll-driven crane scene
  • app/globals.css — styling and responsive layout
  • app/providers.tsx — Motion/Lenis integration
  • app/layout.tsx — SEO metadata and root layout
  • next.config.ts — static export configuration
  • wrangler.jsonc — Cloudflare static asset deployment config
  • .nvmrc — Node.js version for Cloudflare builds

About

VaultScope.dev

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages