⚠️DO NOT USE. WHILE CERTAIN FEATURES MIGHT BE WORKING, MANY THINGS ARE STILL SUBJECT TO CHANGE AT ANY TIME.
The next-gen web framework.
Fresh does not have a build step - you write your code, deploy it to Deno Deploy, and from there everything is handled by the framework.
- No build step
- Zero config necessary
- JIT rendering on the edge
- Tiny (example is 0-3KB of runtime JS)1
- Optional client side hydration
- TypeScript out of the box
- File-system routing à la Next.js
The documentation is available on fresh.deno.dev.
To install, run the following command. This will add
fresh CLI to your PATH.
Make sure to have Deno 1.12.0 or later installed.
deno install -A -f --no-check -n fresh -r https://raw.githubusercontent.com/lucacasonato/fresh/main/cli.ts
fresh CLI can scaffold a new project for you. To scaffold a project in the
myproject folder, run the following:
fresh init my-project
To now start the project, use
deno task start
To deploy the script to Deno Deploy, push your
project to GitHub, create a
fresh project, and link it to
main.ts file in
the created repository.
For a more in-depth getting started guide, visit the
Getting Started page in the