Fresh is a Deno web framework focused on speed and simple defaults. Routes render on the server with optional island hydration so pages ship little or no client JavaScript by default.
Overview
Fresh targets teams building websites and web apps on Deno. File-system routing maps files under routes/ to URLs, similar to patterns described for Next.js-style layouts. TypeScript and JSX work without a separate build step in the marketed workflow.
Server rendering is the default: each route is a Preact component rendered on the server. Interactive pieces are isolated as islands that hydrate only where needed, using Preact and Signals. Forms can post with standard Request and FormData handlers on the server, and partial HTML streaming can update sections without a full reload.
Recent feature areas in the site copy include WebSockets, view transitions, route handlers for arbitrary HTTP methods, middleware chains, content security policy helpers, and OpenTelemetry hooks. Deployment mentions Deno Deploy, Docker, Cloudflare Workers, or a compiled Deno binary.
Scaffolding uses the Fresh init script after installing Deno, then deno task starts a dev server. The framework is presented as approachable for developers who already know component-based routing but want Deno’s toolchain and edge-oriented rendering model.
Key features
- Server-rendered Preact routes
- Islands client hydration
- File-based routing
- Zero default client JS
- Server-side form handlers
- HTML partial streaming
- Built-in TypeScript JSX
- WebSocket route support
Use cases
- Deno-hosted marketing sites
- Interactive pages with small JS islands
- Edge-deployed web applications
- Server-first forms and mutations