selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

nhost logo

Self-host nhost

auth@0.53.0-beta1

Open-source Firebase alternative with a GraphQL backend

ReleaseOpen SourceMIT
curl -sSL https://raw.githubusercontent.com/nhost/nhost/main/cli/get.sh | bash
Updatedlast week
LanguageGo
Setup difficultyAdvanced
Stars
9 377
Docker
nhost/dashboard
nhost screenshot 1

What is nhost?

nhost alternatives

All self-hosted alternatives to Firebase →

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

How to install nhost

Install nhost with Docker Compose

Environment variables
AUTH_URL, DASHBOARD_URL, DB_URL, FUNCTIONS_URL, GRAPHQL_URL, MAILHOG_URL, STORAGE_URL, GRAPHQL_ADMIN_SECRET, POSTGRES_PASSWORD, JWT_SECRET, STORAGE_ACCESS_KEY, STORAGE_SECRET_KEY, AUTH_EMAIL_SIGNIN_EMAIL_VERIFIED_REQUIRED
$ git clone https://github.com/nhost/nhost

$ cd nhost/examples/docker-compose

$ cp .env.example .env

$ docker compose up -d

Example stack for demonstration; official self-host support requires a support agreement, otherwise support is community-provided.

How to configure nhost

  • AUTH_ACCESS_TOKEN_EXPIRES_IN900Lifetime of the access token, in seconds
  • AUTH_ANONYMOUS_USERS_ENABLEDfalseEnable anonymous users

    values: true/false

  • AUTH_CLIENT_URLhttp://localhost:3000Frontend URL the auth service redirects to
  • AUTH_DISABLE_NEW_USERSfalseTurn off new users

    values: true/false

  • AUTH_DISABLE_SIGNUPfalseTurn off new signups

    values: true/false

nhost releases & version history

@ Every self-hosted release, weekly

One Monday email with the week's stable releases across the directory.

More in Backend as a Service

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…