NAMEaozumi — publish what you built, get a link back
Your dist/ folder
is already a website.
Build the way you always do. aozumi deploy my-site finds the output, sends only that, and prints one link. No config file, no Git connection, no build on our side.
npm i -g @aozumi/aozumiNode 18 or later. Or skip the install: npx @aozumi/aozumi deploy my-site
One deploy, read line by line.
The real output, not a mock-up. Hover or step through a line to see why it printed.
~/my-site
aozumi deploy my-siteDetected vite stack.Found existing vite build: dist.Publishing the existing dist output (vite); AOZUMI will not upload your repository or run a build.Packaged 14 files (182340 bytes).Preparing the AOZUMI site…Who should be able to open this site?1) Private: only people you invite (default)2) Team: people in your AOZUMI workspace3) Public: anyone with the link can open itChoose 1, 2 or 3 [1]: 3Uploading and verifying the artifact…Link access: Public: anyone with the link can open it. Change it any time with --public, --team or --private.https://my-site.aozumi.site
Detected vite stack.vite is a dependency and there is no start or serve script, so this is a static site. Vite sites get index.html fallback for client-side routes.Found existing vite build: dist.It checked dist, build, out and public for an index.html. Exactly one had it. No --dir needed.Packaged 14 files (182340 bytes).Packed and hashed on your machine before anything is sent.Preparing the AOZUMI site…Creates my-site, or finds it if you deployed it before. Same name, new release.Choose 1, 2 or 3 [1]: 3Asked once, for a new site, in a real terminal. Enter means private. Pass --public, --team or --private to skip it.Link access: Public: anyone with the link ca…Printed on every deploy, so access never changes without you seeing it.https://my-site.aozumi.siteThe only line on stdout. URL=$(aozumi deploy my-site) gives a script just the link.
How it decides what to upload.
Top to bottom, first match wins. When a rule is ambiguous it stops and asks rather than guessing.
--artifact=<path>givenVerifies that packaged artifact and uploads it.
Verifying the local artifact…--dir=<directory>givenUses that folder if it has an
index.html.--dir=.publishes the current folder as a plain site.One of
distbuildoutpublichasindex.htmlUploads that folder as it is.
Found existing vite build: dist.Two or more of them do
Stops instead of guessing.
Found multiple static outputs (dist, public); choose one with --dir=<directory>.index.htmlat the root, nopackage.jsonTreats the folder as the site and sends web files only.
Publishing 4 web files from the project folder; skipped 4 private or non-web files (…).Nothing built, but a
buildscript existsAsks before running it on your machine with your package manager.
--yesanswers yes.No build output was found. Run pnpm run build locally now? [y/N]Nothing built and no build script
Stops and tells you what to do.
No built output or package.json build script was found. Build locally, then deploy again with --dir=<output>.
Detection reads package.json: next means Next.js, vite means a Vite site, and a start or serve script means a server app. Server artifacts (--stack=node, nextjs, go) are rolling out and are not on for every workspace yet. How they work.
Private until you say otherwise.
A brand-new site asks once in a terminal. Without a terminal (CI, a pipe) it stays private unless you pass a flag. A redeploy never changes access by itself.
| Flag | Who can open the link |
|---|---|
--private | Only people you invite. default |
--team | People in your AOZUMI workspace. |
--public | Anyone with the link. Public static pages are served from the edge cache. |
Four commands. That is all of it.
aozumi login [--no-browser] [--origin=<https-origin>]
aozumi deploy <site-name> [options]
aozumi verify <artifact-directory>
aozumi logoutOptions for deploy
The same command runs in CI.
Store the key from aozumi login as AOZUMI_TOKEN. Progress goes to stderr and the URL to stdout, so a job can capture just the link. Errors print AOZUMI: <reason> and exit with status 1.
- run: npm run build
- run: npx @aozumi/aozumi deploy my-site --team
env:
AOZUMI_TOKEN: ${{ secrets.AOZUMI_TOKEN }}
URL=$(aozumi deploy my-site --team)
echo "Preview: $URL"
Questions people ask.
- Does the CLI upload my source code?
- No. It uploads built output only: an existing dist, build, out or public folder, or the web files of a plain HTML folder. It never uploads your repository. If nothing is built yet, it asks before running your build script on your machine, and --yes approves that in advance.
- What does it skip in a plain HTML folder?
- In a folder with index.html at the root and no package.json, it publishes web files only: HTML, CSS, JavaScript, JSON, images, fonts, media and WebAssembly. Dotfiles (including .env and .git), node_modules, key files and source or config files are skipped, and it lists what it skipped.
- How do I make a site public?
- Pass --public to aozumi deploy. --team limits it to people in your AOZUMI workspace and --private to people you invite. The first deploy of a new site asks once in a terminal, and the default answer is private. Redeploys keep the current setting unless you pass a flag, and every deploy prints the link access.
- Can I use it in CI?
- Yes. Set AOZUMI_TOKEN to the key that aozumi login saved, pass a link access flag because CI has no terminal to ask in, and pass --yes if the job may need to run the build. npx @aozumi/aozumi works without a global install.
- Can it deploy server apps?
- Prebuilt server artifacts for Node.js, Next.js and Go (--stack=node, nextjs or go) are rolling out behind a switch and are not on for every workspace yet. If they are off, the CLI says so and nothing is deployed. Static sites work today.
- What does it cost?
- AOZUMI is in beta and does not charge for it. Plan prices shown in the console are proposals and are not billed. Beta limits apply per workspace, such as the number of apps and deployments per 24 hours.
- How do I sign out?
- Run aozumi logout. It revokes the key on AOZUMI and removes it from your machine. Keys also appear under Profile → Agents, where you can revoke them.
See also
- CLI referenceevery option and error message
- Agentslet a coding agent deploy over MCP
- Sign inthe console, for apps built from GitHub
npx @aozumi/aozumi deploy my-site