Skip to content

Cheatsheet

Use this cheatsheet when you already know the product and need the shortest path to the next correct action. It is designed to work on screen and as a browser-generated PDF.

Daily workflow

NeedAction / fileNotes
Install depsnpm installRun once after checkout or dependency changes.
Start locallynpm run devRuns the Worker through Wrangler for local testing.
Validatenpm run checkBuilds and checks generated runtime artifacts before deploy.
Deploygit pushGitHub and Cloudflare automation publish the Worker.

Repositories

SurfaceRepositoryDeploys to
RedirectorvanityURLs/codehttps://VanityURLs.link
DocumentationvanityURLs/websitehttps://www.VanityURLs.link
Generated outputbuild/, src/Do not edit directly.

Core files

FileUseOwner
custom/v8s-links.txtHuman-authored redirect list.Instance
custom/v8s-site-config.jsonBranding, contacts, languages, timezone.Instance
custom/v8s-policies.jsonAllow domains, blocked domains, keyword policy.Instance
defaults/Product baseline copied or merged during build.Product

Link row format

FieldExampleNotes
SlugdocsPublic path segment. Keep it readable and durable.
Targethttps://example.com/docsDestination URL after policy checks.
StateactiveControls whether the redirect should resolve.
Metadatatitle, owner, notesHelps review, audit, dashboard display, and handoff.

Schedules

NeedSyntaxNotes
Timed target@scheduleIndent schedule blocks below the link row.
TimezoneAmerica/TorontoUse IANA timezone names accepted by the runtime.
Exact links/launchSchedules apply to exact links, not splat namespaces.
FallbackLink row targetThe normal target remains the default outside windows.

Redirect behavior

InputBehaviorCheck
Known active slugRedirects to target.Confirm target and policy allow it.
Inactive or expired slugShows the matching status page.Review state, dates, and generated registry.
Blocked destinationDoes not redirect.Check policy source and generated blocklist.
Unknown pathReturns not-found handling.Check slug spelling and generated routes.

Customize safely

GoalUseAvoid
Change linkscustom/v8s-links.txtEditing build/v8s.json.
Brand pagescustom/v8s-site-config.jsonCopying full templates unless needed.
Override assetscustom/public/Changing product defaults for one instance.
Change Worker codescripts/workers/Editing generated src/.

Troubleshooting

SymptomCheckLikely fix
Works locally, not liveGitHub action and Worker deploy status.Push, wait for deploy, then retest.
Link missingGenerated build/v8s.json.Fix source row, then rebuild.
Wrong language pageConfigured languages and localized overrides.Add localized page or rely on fallback.
Schedule surprisesOperator timezone and date window.Use explicit IANA timezone names.

Quick comparisons

ChoiceUse this whenRemember
defaults/You are changing the product baseline for every instance.Review as product behavior.
custom/You are changing one deployed instance.Best place for operator-owned changes.
Exact slugThe public path must resolve to one known destination.Supports schedule behavior.
Splat namespaceA stable prefix should forward nested paths.Do not use for time-sensitive redirects.
Edit this page Last modified: