GithubHelp home page GithubHelp logo

tchigher / aleph.js Goto Github PK

View Code? Open in Web Editor NEW

This project forked from alephjs/aleph.js

0.0 0.0 0.0 4.76 MB

The React Framework in Deno.

Home Page: https://alephjs.org

License: MIT License

TypeScript 94.73% JavaScript 5.27%

aleph.js's Introduction

Aleph Poster

Aleph.js

The React Framework in Deno, inspired by Next.js.
Website | Get Started | Docs | ESM | The Aleph (by Jorge Luis Borges)

Aleph.js in Deno nest badge Chat Twitter Follow

Different with Next.js, Aleph.js don't need webpack or other bundler since it uses the ESM imports syntax. Every module only needs to be compiled once and then cached on the disk. When a module changes, Aleph.js just needs to re-compile that single module, there's no time wasted to re-bundle every changes, and instantly updates in the browser by HMR (Hot Module Replacement) with React Fast Refresh.

Aleph.js works in Deno, a simple, modern and secure runtime for JavaScript and TypeScript. No package.json and node_modules directory needed, all dependencies are imported as URL and managed by Aleph.js:

import React from "https://esm.sh/[email protected]"
import Logo from "../components/logo.tsx"

export default function Home() {
    return (
      <div>
        <Logo />
        <h1>Hello World!</h1>
      </div>
    )
}

Features

  • Zero Config
  • Typescript in Deno
  • ES Module Ready
  • Import Maps
  • HMR with Fast Refresh
  • File-system Routing
  • APIs Routing
  • Built-in Markdown Page
  • Built-in CSS(Less) Support
  • SSR/SSG

Installation

deno install -A -f -n aleph https://deno.land/x/[email protected]/cli.ts

Usage

# create a new app
aleph init hello
cd hello

# start the app in `development` mode
aleph dev

# start the app in `production` mode
aleph start

# build the app to a static site (SSG)
aleph build

# more usages
aleph -h

Documentation

Please visit https://alephjs.org/docs to view the documentation.

Contributing

Please read the contributing.md.

aleph.js's People

Contributors

shadowtime2000 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.