├── lib ├── proxy.ts ├── constants.ts ├── utils │ ├── non-nullable.ts │ ├── fs.ts │ ├── url.ts │ └── import-map.ts ├── react │ ├── context.js │ ├── server.js │ └── mod.ts ├── build │ ├── plugins │ │ ├── vercel.ts │ │ └── netlify.ts │ ├── assert.ts │ └── deps.ts ├── create │ ├── common │ │ ├── config.ts │ │ ├── content │ │ │ ├── index.ts │ │ │ ├── style.ts │ │ │ ├── build.ts │ │ │ └── denoConfig.ts │ │ ├── ask.ts │ │ └── printer.ts │ └── modules │ │ └── trpc.ts ├── context │ ├── server.ts │ ├── env.ts │ ├── asset.ts │ └── serverInsertedHtml.ts ├── renderer.ts ├── dev │ └── ensureMinDenoVersion.ts └── handler.ts ├── app ├── .gitignore ├── components │ └── Test.tsx ├── client.tsx ├── deno.json └── app.tsx ├── .gitattributes ├── examples ├── basic │ ├── README.md │ ├── public │ │ ├── robots.txt │ │ ├── favicon.ico │ │ └── style.css │ ├── .vscode │ │ └── settings.json │ ├── .env │ ├── client.tsx │ ├── deno.json │ ├── build.ts │ ├── importMap.json │ └── server.test.ts ├── with-csr │ ├── README.md │ ├── public │ │ ├── robots.txt │ │ ├── favicon.ico │ │ └── style.css │ ├── client.tsx │ ├── deno.json │ ├── importMap.json │ ├── build.ts │ ├── server.test.ts │ ├── src │ │ └── app.tsx │ └── server.tsx ├── with-esm │ ├── README.md │ ├── public │ │ ├── robots.txt │ │ └── favicon.ico │ ├── client.js │ ├── deno.json │ ├── build.js │ ├── importMap.json │ ├── src │ │ └── app.js │ └── server.js ├── with-fly-io │ ├── README.md │ ├── public │ │ ├── robots.txt │ │ └── favicon.ico │ ├── Dockerfile │ ├── client.tsx │ ├── deno.json │ ├── importMap.json │ ├── src │ │ └── app.tsx │ ├── build.ts │ ├── server.tsx │ └── fly.toml ├── with-netlify-(WIP) │ ├── .gitignore │ ├── public │ │ ├── robots.txt │ │ ├── favicon.ico │ │ └── style.css │ ├── README.md │ ├── client.tsx │ ├── deno.json │ ├── importMap.json │ ├── build.ts │ ├── server.tsx │ └── src │ │ └── app.tsx ├── with-preact │ ├── README.md │ ├── public │ │ ├── robots.txt │ │ ├── favicon.ico │ │ └── style.css │ ├── client.tsx │ ├── deno.json │ ├── importMap.json │ ├── build.ts │ ├── server.tsx │ └── src │ │ ├── app.tsx │ │ └── Counter.tsx ├── with-trpc │ ├── README.md │ ├── public │ │ ├── robots.txt │ │ ├── favicon.ico │ │ └── style.css │ ├── src │ │ ├── trpc │ │ │ ├── trpc.ts │ │ │ └── client.tsx │ │ ├── server │ │ │ └── router.ts │ │ ├── query-client.tsx │ │ └── app.tsx │ ├── client.tsx │ ├── deno.json │ ├── build.ts │ └── importMap.json ├── with-twind │ ├── README.md │ ├── public │ │ ├── robots.txt │ │ └── favicon.ico │ ├── src │ │ ├── post.tsx │ │ ├── twind.config.js │ │ ├── twind.ts │ │ └── app.tsx │ ├── client.tsx │ ├── deno.json │ ├── build.ts │ ├── importMap.json │ └── server.tsx ├── with-unocss │ ├── README.md │ ├── public │ │ ├── robots.txt │ │ └── favicon.ico │ ├── .vscode │ │ └── settings.json │ ├── client.tsx │ ├── deno.json │ ├── importMap.json │ ├── build.ts │ ├── server.test.ts │ ├── server.tsx │ ├── dev.ts │ └── src │ │ └── app.tsx ├── with-wouter │ ├── README.md │ ├── public │ │ ├── robots.txt │ │ └── favicon.ico │ ├── src │ │ ├── pages │ │ │ ├── About.tsx │ │ │ └── Home.tsx │ │ ├── app.tsx │ │ └── context │ │ │ └── SearchParams.tsx │ ├── deno.json │ ├── client.tsx │ ├── build.ts │ ├── importMap.json │ ├── server.test.ts │ └── server.tsx ├── with-emotion │ ├── README.md │ ├── public │ │ ├── robots.txt │ │ └── favicon.ico │ ├── client.tsx │ ├── deno.json │ ├── build.ts │ ├── src │ │ └── app.tsx │ ├── importMap.json │ ├── server.tsx │ └── server │ │ └── emotion.ts ├── with-islands │ ├── README.md │ ├── public │ │ ├── robots.txt │ │ ├── favicon.ico │ │ └── style.css │ ├── deno.json │ ├── importMap.json │ ├── build.ts │ ├── server.tsx │ └── src │ │ └── Counter.tsx ├── with-service-worker │ ├── README.md │ ├── public │ │ ├── robots.txt │ │ ├── favicon.ico │ │ └── style.css │ ├── client.tsx │ ├── deno.json │ ├── importMap.json │ ├── server.tsx │ └── src │ │ └── app.tsx ├── with-stitches │ ├── README.md │ ├── public │ │ ├── robots.txt │ │ └── favicon.ico │ ├── client.tsx │ ├── deno.json │ ├── build.ts │ ├── importMap.json │ ├── src │ │ ├── theme.tsx │ │ ├── stitches.config.ts │ │ └── app.tsx │ └── server.tsx ├── ultra-website │ ├── content │ │ └── docs │ │ │ ├── use-env.mdx │ │ │ ├── use-async.mdx │ │ │ ├── use-island.mdx │ │ │ ├── use-server-context.mdx │ │ │ ├── use-server-inserted-html.mdx │ │ │ ├── use-preload.mdx │ │ │ ├── hooks.mdx │ │ │ ├── routing.mdx │ │ │ ├── middleware.mdx │ │ │ ├── fly.mdx │ │ │ ├── prerequisites.mdx │ │ │ ├── data-fetching.mdx │ │ │ ├── code-splitting.mdx │ │ │ ├── styling.mdx │ │ │ └── deno-deploy.mdx │ ├── public │ │ ├── robots.txt │ │ ├── beast.webp │ │ ├── orcs.webp │ │ ├── share.jpg │ │ ├── share.webp │ │ ├── favicon.ico │ │ ├── grid_1.webp │ │ ├── grid_2.webp │ │ ├── archangel.webp │ │ ├── paradise.webp │ │ ├── styles │ │ │ ├── fancy.woff2 │ │ │ └── SG-Linear.woff2 │ │ └── ultra.svg │ ├── README.md │ ├── src │ │ ├── components │ │ │ ├── Docs.tsx │ │ │ ├── HotTip.tsx │ │ │ ├── Philosophy.tsx │ │ │ ├── ModuleSource.tsx │ │ │ ├── Github.tsx │ │ │ └── Home.tsx │ │ └── api │ │ │ └── github.ts │ ├── client.tsx │ ├── dev.ts │ ├── deno.json │ ├── build.ts │ ├── server.tsx │ └── importMap.json ├── with-api-routes │ ├── README.md │ ├── public │ │ ├── robots.txt │ │ └── favicon.ico │ ├── client.tsx │ ├── deno.json │ ├── importMap.json │ ├── build.ts │ └── src │ │ └── app.tsx ├── with-earthstar │ ├── README.md │ ├── public │ │ ├── robots.txt │ │ └── favicon.ico │ ├── client.tsx │ ├── deno.json │ ├── build.ts │ ├── importMap.json │ └── server.tsx ├── with-react-query │ ├── README.md │ ├── public │ │ ├── robots.txt │ │ └── favicon.ico │ ├── .vscode │ │ └── settings.json │ ├── src │ │ ├── query-client.ts │ │ ├── slow-todo.tsx │ │ ├── todo.tsx │ │ ├── app.tsx │ │ └── hooks │ │ │ └── useDehydrateReactQuery.tsx │ ├── deno.json │ ├── build.ts │ ├── client.tsx │ └── importMap.json ├── with-use-gesture │ ├── README.md │ ├── public │ │ ├── robots.txt │ │ └── favicon.ico │ ├── client.tsx │ ├── deno.json │ ├── build.ts │ ├── importMap.json │ ├── server.tsx │ └── src │ │ └── app.tsx ├── with-mdx │ ├── public │ │ ├── robots.txt │ │ ├── favicon.ico │ │ └── grid_1.webp │ ├── .gitignore │ ├── content │ │ └── docs.mdx │ ├── client.tsx │ ├── README.md │ ├── dev.ts │ ├── deno.json │ ├── importMap.json │ ├── build.ts │ ├── server.tsx │ ├── src │ │ └── app.tsx │ └── mdx.ts ├── with-react-router │ ├── README.md │ ├── public │ │ ├── robots.txt │ │ └── favicon.ico │ ├── .vscode │ │ └── settings.json │ ├── src │ │ ├── pages │ │ │ ├── About.tsx │ │ │ └── Home.tsx │ │ ├── layouts │ │ │ └── DefaultLayout.tsx │ │ └── app.tsx │ ├── client.tsx │ ├── deno.json │ ├── build.ts │ ├── importMap.json │ └── server.tsx ├── lite │ ├── .vscode │ │ └── settings.json │ ├── README.md │ ├── importMap.json │ ├── server.tsx │ └── app.tsx ├── react-experimental │ ├── public │ │ ├── robots.txt │ │ ├── favicon.ico │ │ └── style.css │ ├── README.md │ ├── client.tsx │ ├── deno.json │ ├── build.ts │ ├── importMap.json │ └── server.tsx ├── with-react-helmet-async │ ├── README.md │ ├── public │ │ ├── robots.txt │ │ └── favicon.ico │ ├── client.tsx │ ├── deno.json │ ├── build.ts │ ├── importMap.json │ └── src │ │ └── app.tsx ├── with-react-three-fiber │ ├── README.md │ ├── public │ │ ├── robots.txt │ │ ├── favicon.ico │ │ └── style.css │ ├── .vscode │ │ └── settings.json │ ├── client.tsx │ ├── deno.json │ ├── build.ts │ ├── importMap.json │ └── server.tsx ├── bogus-marketing-or-blog │ ├── public │ │ ├── robots.txt │ │ ├── favicon.ico │ │ └── style.css │ ├── importMap.json │ ├── README.md │ ├── build.ts │ ├── deno.json │ ├── server.tsx │ └── src │ │ └── app.tsx └── README.md ├── test ├── fixture │ ├── README.md │ ├── public │ │ ├── robots.txt │ │ ├── share.webp │ │ ├── favicon.ico │ │ └── style.css │ ├── client.foo.tsx │ ├── theme.ts │ ├── src │ │ ├── trpc │ │ │ ├── trpc.ts │ │ │ └── client.tsx │ │ ├── hooks │ │ │ └── useTw.ts │ │ ├── components │ │ │ └── Post.tsx │ │ ├── server │ │ │ └── router.ts │ │ ├── context │ │ │ └── twind.tsx │ │ └── query-client.tsx │ ├── client.tsx │ ├── deno.json │ └── importMap.json ├── fixture.ts └── unit │ ├── use-env.test.tsx │ ├── use-server-inserted-html.test.tsx │ └── use-async.test.tsx ├── .github ├── FUNDING.yml └── workflows │ ├── basic-deno-deploy.yml │ └── www-deno-deploy.yml ├── stream.ts ├── version.ts ├── server.ts ├── .vscode ├── extensions.json ├── launch.json └── settings.json ├── hooks ├── asset-context.js ├── server-context.js ├── island-context.js ├── server-inserted-html-context.js ├── data-stream-context.js ├── env-context.js ├── use-island.d.ts ├── use-mounted-state.js ├── use-env.js ├── use-server-inserted-html.js ├── use-preload.js ├── use-server-context.js ├── use-asset.js └── use-island.js ├── .gitignore ├── tools └── test-examples.ts ├── LICENSE ├── hydrate.js └── .devcontainer └── devcontainer.json /lib/proxy.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/.gitignore: -------------------------------------------------------------------------------- 1 | /ultra -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto eol=lf 2 | -------------------------------------------------------------------------------- /examples/basic/README.md: -------------------------------------------------------------------------------- 1 | # basic 2 | -------------------------------------------------------------------------------- /test/fixture/README.md: -------------------------------------------------------------------------------- 1 | # basic 2 | -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: [mashaal] 2 | -------------------------------------------------------------------------------- /examples/with-csr/README.md: -------------------------------------------------------------------------------- 1 | # with-csr 2 | -------------------------------------------------------------------------------- /examples/with-esm/README.md: -------------------------------------------------------------------------------- 1 | # with-esm 2 | -------------------------------------------------------------------------------- /examples/with-fly-io/README.md: -------------------------------------------------------------------------------- 1 | # with-fly-io 2 | -------------------------------------------------------------------------------- /examples/with-netlify-(WIP)/.gitignore: -------------------------------------------------------------------------------- 1 | .netlify -------------------------------------------------------------------------------- /examples/with-preact/README.md: -------------------------------------------------------------------------------- 1 | # with-preact 2 | -------------------------------------------------------------------------------- /examples/with-trpc/README.md: -------------------------------------------------------------------------------- 1 | # with-trpc 2 | -------------------------------------------------------------------------------- /examples/with-twind/README.md: -------------------------------------------------------------------------------- 1 | # with-twind 2 | -------------------------------------------------------------------------------- /examples/with-unocss/README.md: -------------------------------------------------------------------------------- 1 | # with-unocss 2 | -------------------------------------------------------------------------------- /examples/with-wouter/README.md: -------------------------------------------------------------------------------- 1 | # with-wouter 2 | -------------------------------------------------------------------------------- /examples/with-emotion/README.md: -------------------------------------------------------------------------------- 1 | # with-emotion 2 | -------------------------------------------------------------------------------- /examples/with-islands/README.md: -------------------------------------------------------------------------------- 1 | # with-islands 2 | -------------------------------------------------------------------------------- /examples/with-service-worker/README.md: -------------------------------------------------------------------------------- 1 | # basic 2 | -------------------------------------------------------------------------------- /examples/with-stitches/README.md: -------------------------------------------------------------------------------- 1 | # with-stitches 2 | -------------------------------------------------------------------------------- /examples/ultra-website/content/docs/use-env.mdx: -------------------------------------------------------------------------------- 1 | # useEnv -------------------------------------------------------------------------------- /examples/with-api-routes/README.md: -------------------------------------------------------------------------------- 1 | # with-api-routes 2 | -------------------------------------------------------------------------------- /examples/with-earthstar/README.md: -------------------------------------------------------------------------------- 1 | # with-earthstar 2 | -------------------------------------------------------------------------------- /examples/with-react-query/README.md: -------------------------------------------------------------------------------- 1 | # with-react-query 2 | -------------------------------------------------------------------------------- /examples/with-use-gesture/README.md: -------------------------------------------------------------------------------- 1 | # with-use-gesture 2 | -------------------------------------------------------------------------------- /test/fixture/public/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: -------------------------------------------------------------------------------- /examples/basic/public/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: -------------------------------------------------------------------------------- /examples/ultra-website/content/docs/use-async.mdx: -------------------------------------------------------------------------------- 1 | # useAsync -------------------------------------------------------------------------------- /examples/ultra-website/content/docs/use-island.mdx: -------------------------------------------------------------------------------- 1 | # useIsland -------------------------------------------------------------------------------- /examples/with-csr/public/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: -------------------------------------------------------------------------------- /examples/with-esm/public/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: -------------------------------------------------------------------------------- /examples/with-mdx/public/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: -------------------------------------------------------------------------------- /examples/with-react-router/README.md: -------------------------------------------------------------------------------- 1 | # with-react-router 2 | -------------------------------------------------------------------------------- /examples/ultra-website/public/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: -------------------------------------------------------------------------------- /examples/with-emotion/public/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: -------------------------------------------------------------------------------- /examples/with-fly-io/public/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: -------------------------------------------------------------------------------- /examples/with-islands/public/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: -------------------------------------------------------------------------------- /examples/with-mdx/.gitignore: -------------------------------------------------------------------------------- 1 | # ignore generated js 2 | src/content/ -------------------------------------------------------------------------------- /examples/with-preact/public/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: -------------------------------------------------------------------------------- /examples/with-stitches/public/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: -------------------------------------------------------------------------------- /examples/with-trpc/public/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: -------------------------------------------------------------------------------- /examples/with-twind/public/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: -------------------------------------------------------------------------------- /examples/with-unocss/public/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: -------------------------------------------------------------------------------- /examples/with-wouter/public/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: -------------------------------------------------------------------------------- /examples/lite/.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "deno.enable": true 3 | } 4 | -------------------------------------------------------------------------------- /examples/react-experimental/public/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: -------------------------------------------------------------------------------- /examples/with-api-routes/public/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: -------------------------------------------------------------------------------- /examples/with-earthstar/public/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: -------------------------------------------------------------------------------- /examples/with-netlify-(WIP)/public/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: -------------------------------------------------------------------------------- /examples/with-react-helmet-async/README.md: -------------------------------------------------------------------------------- 1 | # with-react-helmet-async 2 | -------------------------------------------------------------------------------- /examples/with-react-query/public/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: -------------------------------------------------------------------------------- /examples/with-react-router/public/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: -------------------------------------------------------------------------------- /examples/with-react-three-fiber/README.md: -------------------------------------------------------------------------------- 1 | # with-react-three-fiber 2 | -------------------------------------------------------------------------------- /examples/with-use-gesture/public/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: -------------------------------------------------------------------------------- /examples/basic/.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "deno.enable": true 3 | } 4 | -------------------------------------------------------------------------------- /examples/bogus-marketing-or-blog/public/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: -------------------------------------------------------------------------------- /examples/ultra-website/content/docs/use-server-context.mdx: -------------------------------------------------------------------------------- 1 | # useServerContext -------------------------------------------------------------------------------- /examples/with-react-helmet-async/public/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: -------------------------------------------------------------------------------- /examples/with-react-three-fiber/public/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: -------------------------------------------------------------------------------- /examples/with-service-worker/public/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: -------------------------------------------------------------------------------- /examples/ultra-website/README.md: -------------------------------------------------------------------------------- 1 | # [https://ultrajs.dev](https://ultrajs.dev) 2 | -------------------------------------------------------------------------------- /examples/with-unocss/.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "deno.enable": true 3 | } 4 | -------------------------------------------------------------------------------- /examples/ultra-website/content/docs/use-server-inserted-html.mdx: -------------------------------------------------------------------------------- 1 | # useServerInsertedHTML -------------------------------------------------------------------------------- /examples/with-react-query/.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "deno.enable": true 3 | } 4 | -------------------------------------------------------------------------------- /examples/with-react-three-fiber/.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "deno.enable": true 3 | } 4 | -------------------------------------------------------------------------------- /app/components/Test.tsx: -------------------------------------------------------------------------------- 1 | export default function Test() { 2 | return