Skip to content

Quickstart

This walks you from an empty workspace to a live, shareable preview URL.

Sign in at typelets.com, then create a workspace. You edit its files in the browser IDE; the files are stored durably and sync across everyone with access.

Create or upload the files you want to run or serve. For a static site that is your HTML, CSS, JS, and assets; for an app it is your source plus its manifest (package.json, Gemfile, etc).

Open Workspace settings -> Preview. Here you set:

  • Default port - the port your app listens on inside the container (3000 by default).
  • Persistent preview - keep the container warm so the app stays up. Turn this on for anything you want to keep running. See Persistent preview.
  • Startup command - what runs automatically when the container boots.

What you put here depends on what you are running.

A static site (recommended for sites/catalogs):

Terminal window
typelets-static --dir /workspace --port 3000

Point --dir at your built output instead if you build first, e.g. --dir /workspace/dist. See Host a static site for the full flow and what this server gives you over a plain file server.

A Node app:

Terminal window
npm install && npm run start

Nothing automatic: leave it blank and start processes yourself from the workspace terminal.

Save. The container boots and your preview URL goes live. Share it directly, give it a custom subdomain, or point your own domain at it.