Repository navigation
Deploy
Status: In development. Publishing is not part of the latest stable release. Check the release notes of the pre-release you run before you rely on it. A mock-server test or a passing build is not proof that a real server works.
Publish uploads the built files of a web project to a server you own and lets you roll back. It is desktop only. The web build does not offer it.
| Target | What it does | Technical doc |
|---|---|---|
| SSH / SFTP, static site | Uploads a release, switches to it, health-checks it | Deploy core, Publish panel |
| SSH, Node app | Deploys a prebuilt Node bundle and its runtime | Node runtime |
| FTP / FTPS shared hosting | Uploads files to a plain hosting plan | FTP |
- Open Publish (header button, Project > Publish..., command
deploy.open, or Ctrl+Shift+U). - Add a server. The form saves only metadata. No password is stored.
- First time only: the setup wizard creates an ed25519 key in the OS credential store, shows the host key for you to trust, and shows a bootstrap script. You can run the script yourself in your provider console, or let Somnia run it once with a temporary admin login. Details: First-time setup.
- Check DNS. A mismatch stays visibly unverified. You can still publish.
- Somnia shows the list of files to be uploaded. You confirm every publish and every rollback.
- Progress shows connect, check, upload, switch, health.
- Rollback lists earlier releases.
Commands and their rules: Deploy commands.
- A changed host key is never trusted automatically.
- Passwords are used once and not saved, logged or sent anywhere but the server.
- Files such as
.git,.ssh,.env*and private keys are rejected from uploads. - The server user is an unprivileged
somniauser after setup.
A server or hosting plan can cost money. Somnia's MIT license does not make hosting free.
Export the project (ZIP, folder or single HTML) and upload it with your own tools. Check local links and asset paths in the export first.
Home · Releases · Repository documentation · MIT license
Documentation baseline: 13 October 2026. Check release notes for platform support and known limits. Design proposals are not released features.
Somnia
- Home
- Ai And Collaboration
- Cli
- Deploy
- Extensions
- Faq
- Features
- Frameworks
- Hero Actions
- Local Ai
- Local Source Search
- Quickstart
- Releases
- Settings
- Studios
- Studio 3d
- Studio Animation
- Studio Code
- Studio Design
- Studio Documents
- Studio Interface
- Studio Photos
- Studio Sheets
- Studio Slides
- Studio Sound
- Studio Vector
- Studio Vibe Space
- Studio Video
- Troubleshooting