Sample.app

Quick Start

Deploy your first site with Sample.app.

Sample.app deploys static sites to shareable preview URLs.

Want to learn more?

Read What is Sample.app for the full picture.

Install

Install samplex globally or as a dev dependency:

bash npm install -g samplex
bash bun add -g samplex
bash pnpm add -g samplex
bash npm install -D samplex
bash bun add -D samplex
bash pnpm add -D samplex

Deploy

Log in

samplex login

Opens your browser for sign-in. Credentials are stored at ~/.samplex/credentials.json and refresh automatically.

Deploy your build output

samplex deploy ./dist

That's it. Your site is live at:

https://brave-bravo-77--panda.sample.app

Next steps

On this page