Coder Social home page Coder Social logo

fresh's Introduction

⚠️ DO NOT USE. WHILE CERTAIN FEATURES MIGHT BE WORKING, MANY THINGS ARE STILL SUBJECT TO CHANGE AT ANY TIME.

fresh

the fresh logo: a sliced lemon dripping with juice

The next-gen web framework.

Fresh is a web framework that lets you build projects very fast, highly dynamic, and without the need of a build step. Fresh embraces isomorphic JavaScript like never before. Write a JSX component, have it render on the edge just-in-time, and then enhance it with client side JS for great interactivity.

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

Documentation

The documentation is available on fresh.deno.dev.

Install

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

Getting started

The 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:

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 fresh docs.

fresh's People

Contributors

lucacasonato avatar crowlKats avatar sylc avatar hashrock avatar satyarohith avatar bartlomieju avatar kidonng avatar tylerbrostrom avatar boazblake avatar cknight avatar eliassjogreen avatar NotFounds avatar jed avatar AnInternetTroll avatar marc2332 avatar kuboon avatar hyp3rflow avatar RoeHH avatar lt-hacker avatar so1ve avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.