Skip to content

Quickstart

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

Sign in at app.typelets.com, then create a workspace. typelets.com is the marketing site. You edit files in the browser IDE; they 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.
  • Restart preview - recreate the container from your stored files if the app wedges or you have published new files.

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 (a *.preview.typelets.com host). Share it directly, give it a custom subdomain, or point your own custom domain at it. In Workspace settings -> Domain you can also set the preview to Public or keep it private.