Self-host nhost
auth@0.53.0-beta1Open-source Firebase alternative with a GraphQL backend
curl -sSL https://raw.githubusercontent.com/nhost/nhost/main/cli/get.sh | bash- Stars
- 9 377
nhost/dashboardWhat is nhost?
Nhost is an MIT-licensed, open-source Backend-as-a-Service for app developers who want a Firebase-style stack they can own. A project combines a PostgreSQL database, an instant GraphQL API provided by Hasura, an authentication service, a file storage service that talks to S3-compatible object storage, Node.js serverless functions written in JavaScript or TypeScript, and a web dashboard. The Nhost CLI runs the same stack on your machine and keeps database migrations plus Hasura metadata in sync; it also embeds a Model Context Protocol server, so coding assistants can inspect the GraphQL schema, execute the queries and mutations you permit, update cloud project settings and manage local metadata. Clients are published for JavaScript/TypeScript and for Dart/Flutter, while the backend itself stays framework agnostic. To run it yourself, clone the repository, copy examples/docker-compose/.env.example to .env and start the compose stack, which brings up Traefik, auth, console, dashboard, functions, graphql, mailhog, minio, PostgreSQL 16 and storage, with every service reached by hostname through Traefik on port 80. That example targets demonstration rather than production: default secrets and development services such as MailHog have to be replaced or removed, and the maintainers state self-hosting is not officially supported without a support agreement, everything else being community support. There is also a hosted Nhost Cloud platform where you sign in, create an app and skip running any of this.
nhost alternatives
AppwriteThe open-source cloud for agents & devs. Including Auth, Databases, Storage, Functions, Messaging, Hosting, Realtime, WAF and moreCompareAppwrite with nhost
supabaseSelf-hosted open-source Postgres platform with database, auth, realtime, storage, edge functions, and vector embeddings as a Firebase alternative.Comparesupabase with nhost
TrailBaseOpen-source, self-hosted Firebase alternative: one Rust executable with SQLite, type-safe REST and realtime APIs, auth, file storage, WASM endpoints and an admin UI.CompareTrailBase with nhost
nocodbSelf-hosted open-source Airtable alternative that turns any database into a no-code platform with spreadsheet-like interface, supporting PostgreSQL, MySQL, and SQLite.Comparenocodb with nhost
n8n-installSelfhost AI is an open-source Docker Compose installer for a complete AI homelab with n8n, Ollama, Open WebUI, AI agents, RAG, and monitoring behind automatic HTTPS.Comparen8n-install with nhost
FrostbaseFrostbase is a self-hosted, open-source Firebase alternative on Cloudflare Workers with auth, realtime DB, SQL, storage, and remote config.CompareFrostbase with nhost
QuickStackA free, open-source platform you host yourself that replaces Vercel or Heroku — deploy apps and databases on your own hardware with automatic HTTPS and backups.CompareQuickStack with nhost
PostHogOpen-source product toolkit - analytics, session replay, feature flags, error tracking - with a one-line self-hosted hobby deploy using Docker Compose.ComparePostHog with nhost
Should you self-host nhost?
nhost scores 67/100 on selfhost.directory (how scoring works) and ranks #3 of 15 in Backend as a Service. It has 9 377 GitHub stars, +30 in the last 30 days.
It shipped 34 stable releases in the past year. The latest, cli@1.52.2, came out on 26 October 2026. New versions land roughly every 1 days.
Setup is advanced: plan for several services and some ongoing maintenance. An official Docker image is available. It is MIT-licensed and written mostly in Go.
Its closest alternative on selfhost.directory is supabase (90/100, 114 702 stars). It scores higher overall, so compare the two before you pick. See nhost vs supabase side by side.
Features
- Email sign-in endpoints
- File storage
- GraphQL API
- Local development CLI
- MCP server for AI assistants
- Relational database
- Serverless Functions
- User Authentication
- Web DashboardSome dashboard options are greyed out because they relate to Nhost Cloud services.
- Web framework agnostic clients
nhost README
Nhost is an open source Firebase alternative with GraphQL, built with the following things in mind:
More in Backend as a Service
Notesnook Sync ServerNotesnook Sync Server is the open-source, self-hostable backend for end-to-end encrypted note sync. Runs via Docker Compose with MongoDB and S3 storage.
ParaPara is an open-source, self-hosted backend-as-a-service framework with REST API, multitenancy, full-text search, and flexible authentication for web and mobile apps.
parse-serverParse Server is an open-source self-hosted backend providing database, authentication and real-time features for mobile applications.
PostgRESTOpen-source, self-hosted web server that turns an existing PostgreSQL database into a RESTful API, with JWT authentication and authorization done in the database.
pRESTOpen-source, self-hosted backend that turns a PostgreSQL or MySQL database into instant REST CRUD endpoints, custom SQL routes, JWT auth and a read-only MCP API.
RowySelf-hosted open-source low-code backend: manage Firestore data in an Airtable-like spreadsheet UI and build cloud functions, webhooks and automations from the browser.
SpacetimeDBSpacetimeDB is a source-available relational database that is also the server: your Rust or TypeScript module runs inside it. Self-hosted via Docker.
supabase-automated-self-hostA bash script that automates deploying Supabase with Nginx or Caddy reverse proxy, Let's Encrypt SSL, and optional Authelia 2FA on Linux using Docker Compose.
SurrealDBSelf-hosted, source-available Rust database unifying documents, graphs, vectors and time-series, with live queries and row-level permissions in SurrealQL.
TaskingAIAn open-source, self-hosted BaaS stack for building LLM agents: unified model APIs, RAG, built-in tools and an admin console, deployed with Docker Compose.
TrailBaseOpen-source, self-hosted Firebase alternative: one Rust executable with SQLite, type-safe REST and realtime APIs, auth, file storage, WASM endpoints and an admin UI.
AnyCableOpen-source realtime server for reliable two-way WebSocket and SSE communication. Self-hosted alternative to Pusher or Reverb.

0 comments