Build a fast-loading website that sends plain HTML by default with JavaScript only on specifically marked interactive elements.
Create a TypeScript web app with file-based routing and no build configuration step.
Deploy a web project to Deno Deploy by connecting a GitHub repository with no additional config files.
Add interactive widgets to a server-rendered page using Fresh islands without shipping unnecessary JavaScript.
Requires Deno installed, production deployment targets Deno Deploy exclusively via GitHub repo connection.
Fresh is a web framework built by the team behind Deno, a runtime for JavaScript and TypeScript code. A framework in this context is a collection of tools and conventions that handle the repetitive parts of building websites so you can focus on your own content and logic. Fresh supports TypeScript out of the box, which is a version of JavaScript that adds type checking to help catch mistakes before your code runs. The main idea behind Fresh is that it sends no JavaScript to visitors' browsers by default. Most modern web frameworks include a large amount of JavaScript that the browser has to download and process before the page becomes usable. Fresh instead renders pages on the server and sends plain HTML, which loads faster. When you need an interactive element, you mark that piece of the page as an island, and only that island's code gets sent to the browser. The rest stays purely server-rendered. Routing, which determines which page a web address maps to, follows the file system. If you create a file in a certain folder, Fresh treats its name as the web address, similar to how Next.js works. This avoids writing a separate list of routes by hand. Starting a project takes a few shell commands: install Deno, run the init script, and start the development server. Changes to your source code appear in the browser right away. Deploying to the public internet is done through Deno Deploy, the company's hosting service. You push your project to GitHub, create a Deno Deploy project, connect the repository, and it publishes automatically with no configuration. The README also covers how to contribute to the project, how to add your own site to a public showcase of Fresh-built pages, and badge images and hashtags for social media.
← denoland on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.