MCPcopy Index your code
hub / github.com/edmundhung/remix-cloudflare-template

github.com/edmundhung/remix-cloudflare-template @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
31 symbols 48 edges 12 files 0 documented · 0% updated 2mo ago★ 3273 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Remix Cloudflare Template

A minimal Remix application starter with a home page and an auth page, configured for Cloudflare Workers deployment through the Cloudflare Vite plugin.

Starter Shape

  • app/controllers/home.tsx owns the home page.
  • app/controllers/auth.tsx owns the auth page.
  • app/routes.ts defines the route contract.
  • app/router.ts wires routes to handlers.
  • app/ui/ holds the shared document and layout wrappers.
  • app/utils/render.tsx centralizes HTML response rendering.

Growing The App

  • Start with flat route files and only introduce route folders when a route needs multiple actions or route-owned modules.
  • Add directories like app/data/, app/middleware/, public/, or test/ when the app actually needs them.
  • Move shared UI into app/ui/ once more than one route needs it.

Commands

npm i
npm run dev
npm run preview
npm run deploy

Extension points exported contracts — how you extend this code

DocumentProps (Interface)
(no doc)
app/ui/document.tsx
PromptButtonProps (Interface)
(no doc)
app/ui/prompt-button.tsx
LayoutProps (Interface)
(no doc)
app/ui/layout.tsx

Core symbols most depended-on inside this repo

wait
called by 4
app/ui/prompt-button.tsx
render
called by 2
app/utils/render.tsx
fetch
called by 1
server.ts
loadModule
called by 0
client.ts
resolveFrame
called by 0
client.ts
handler
called by 0
app/controllers/auth.tsx
AuthPage
called by 0
app/controllers/auth.tsx
handler
called by 0
app/controllers/home.tsx

Shape

Function 28
Interface 3

Languages

TypeScript100%

Modules by API surface

app/ui/scaffold-home-page.tsx16 symbols
app/ui/prompt-button.tsx3 symbols
client.ts2 symbols
app/utils/render.tsx2 symbols
app/ui/layout.tsx2 symbols
app/ui/document.tsx2 symbols
app/controllers/auth.tsx2 symbols
server.ts1 symbols
app/controllers/home.tsx1 symbols

For agents

$ claude mcp add remix-cloudflare-template \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact