Fresh is a next generation web framework, built for speed, reliability, and simplicity. Some stand out features:
Fresh embraces the tried and true design of server side rendering and progressive enhancement on the client side.
To get started, make sure you have the Deno CLI installed.
Then, run the following command to install the `fresh` CLI:
deno install -A -f --no-check -n fresh -r https://raw.githubusercontent.com/lucacasonato/fresh/main/cli.ts
Once installed, you can use the `fresh` command to bootstrap a new project:
fresh init my-app
Enter the newly created project directory and run the following command to start the development server:
deno task start
You can now open http://localhost:8000 in your browser to view the page.
A more in-depth getting started guide is available in the docs.
This text is being server side rendered on the fly. It was rendered at 23:21:13 UTC.
The counter below was rendered on the server with a starting value of 3, and was then hydrated on the client to provide interactivity. Try out the buttons!
Only the JS required to render that counter is sent to the client.