Frequently asked questions
What is Smallcloud?
Smallcloud is a self-hosted platform that deploys static sites and Node.js apps to private, HTTPS, magic-link-protected URLs in about a second. Every app is sandboxed with no network egress, scales to zero when idle, and can be shared by link with viewer or editor roles.
How is Smallcloud different from Vercel, Netlify, or Heroku?
Smallcloud runs on your own hardware, so there is no usage bill and no data leaves your box. Apps are private by default rather than public by default, and AI agents are first-class deployers through a bundled MCP server. The tradeoff: it targets small software — one server, small resource caps, two supported stacks.
Is Smallcloud free?
Yes. Smallcloud is MIT-licensed self-hosted software; you pay only for the machine it runs on.
What can I deploy on Smallcloud?
Static sites (any directory with an index.html) and Node.js 22 web apps (any directory whose package.json has a start script or main entry). No Dockerfiles, no build pipelines.
How fast are deploys and cold starts?
Deploys typically complete in one to three seconds. Idle apps stop automatically and wake on the next request in roughly 400 milliseconds.
How does authentication work?
Passwordless magic links: a visitor enters their email, opens a single-use link (emailed when the operator configures a mail provider, otherwise delivered via the server log), and receives a 30-day session. Every app route is enforced by an auth proxy — there are no unauthenticated app URLs, and per-app roles (owner, editor, viewer) gate every request.
Can AI agents like Claude use Smallcloud?
Yes — that is a core design goal. The bundled MCP server exposes deploy, list, logs, and delete as tools, so Claude Code can build an app, ship it, read its logs, and hand you the sign-in link, all inside the sandbox with a structurally limited blast radius.
Is app data persistent?
Yes. Each app owns a private quota'd volume at /data with SQLite support and a built-in key-value store. Data survives redeploys, is backed up nightly with seven-day retention, and is removed when the app is deleted.
Where do I get Smallcloud?
Install it from npm: npm install -g @onsmallcloud/smallcloud. That gives you the smallcloud CLI and the smallcloud-mcp server for AI agents. The source is public at github.com/rvasqz86/smallcloud under the MIT license.
What if I don't have a domain?
Run smallcloud domain claim yourname — you get a free yourname.onsmallcloud.com pointing at your server, with the config written automatically and HTTPS handled by your own caddy. Your apps live at sc-app.yourname.onsmallcloud.com. If your server's IP changes, smallcloud domain update-ip re-points it. You can switch to your own domain later with a single config line, so there's no lock-in. DuckDNS and sslip.io remain DIY alternatives.
Do I need Cloudflare?
No. Smallcloud needs a wildcard DNS record (*.yourdomain.com pointing at your server) from any DNS provider, with ports 80 and 443 reachable. The caddy reverse proxy obtains and renews Let's Encrypt certificates automatically per app hostname. Cloudflare's free tier is an optional hardening layer — edge TLS, hidden origin IP, DDoS absorption — not a requirement.
What are the infrastructure requirements?
One Linux server with Docker, a caddy-docker-proxy ingress (Coolify installs have this already), wildcard DNS for a domain, and Node.js 22 with pnpm.
Is Smallcloud secure enough to expose to the internet?
Its security model assumes internet exposure: apps run with all capabilities dropped, read-only filesystems, hard resource caps, and zero network egress; auth endpoints are rate limited; all privileged actions are audited; and strict security headers cover every response. Deployed apps are never publicly reachable — only this website is.
More detail in the quickstart and the security model.