Skip to main content

Download the Repo

The fastest way to run the example or build your own LiveView is by downloading the LiveViewJS repo. This repo contains all the examples and configured webserver code for Express (NodeJS) and Oak (Deno).

Get the Code

Either use git clone or degit to get the LiveViewJS GitHub repository.

degit is a lightweight way to clone a repo without the .git parts.

More info. :::

Clone the LiveViewJS GitHub repository:

# clone the LiveViewJS repo
git clone

OR fetch with degit:

# copy the LiveViewJS repo
npx degit floodfx/liveviewjs liveviewjs

Change to the LiveViewJS Directory

# cd to the LiveViewJS directory
cd liveviewjs

Node or Deno?

LiveViewJS runs on both Node and Deno, but you'll probably want to start down one path or the other depending on what runtime you are more familiar with or are already using.

other unless you are using Deno or Node-specific APIs in your LiveView implementation. :::