Skip to content

nuvix-dev/nuvix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

864 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nuvix

Nuvix

The open-source backend for secure, AI-ready applications.

Auth. Database. Storage. Messaging. One platform. Self-host anywhere.

License: FSL-1.1-Apache-2.0 Discord GitHub Issues

Documentation · Discord · Report Bug · Request Feature


What is Nuvix?

Most apps need the same backend building blocks: auth, a database, file storage, and messaging. The usual answer is 4 different vendors, 4 dashboards, and 4 billing pages before you write a single line of product code.

Nuvix replaces all of that. One backend, one API, one permission model. Fully self-hostable, security-first by design, and built to support AI-powered products from day one.


Features

Authentication

Multi-tenant auth with user accounts, sessions, teams, and role-based access. Security is not a config option; it's the default.

Database

PostgreSQL under the hood. Three schema modes so you pick the right fit for each use case:

Schema Best For What You Get
Document Prototyping, MVPs NoSQL-style flexibility, no SQL needed
Managed Production apps Auto-generated CRUD + Row-Level Security policies
Unmanaged Custom logic Raw SQL, full control, no guardrails

Mix and match across the same project. All three share one unified API.

Storage

Permission-aware file system with S3-compatible drivers or local storage. The same permission rules that govern your database govern your files.

Messaging

Email, SMS, and push notifications through a single API. No need to wire up SendGrid, Twilio, and Firebase separately.

AI-Ready

Nuvix gives AI products what they actually need: secure data layers, granular permissions, session management, and file handling for ML pipelines. Store embeddings, manage context, enforce access rules on every request.


Getting Started

The fastest way to get up and running with Nuvix is through the CLI.

Install the CLI

curl -fsSL https://raw.githubusercontent.com/nuvix-dev/cli/main/install.sh | bash

Self-Host in Seconds

nuvix local init
nuvix local up

Open http://localhost:3000 and start building!

Requirements: Docker

Alternative: Docker Compose

git clone https://github.com/nuvix-dev/docker.git nuvix
cd nuvix
cp .env.example .env
docker compose up -d

For full self-hosting instructions, see the Self-Hosting Guide.

Local Development

bun install
bun run dev     # Start dev server
bun run test    # Run tests
bun run lint    # Lint with Biome

Architecture

nuvix/
├── apps/
│   ├── server          # Core API server
│   └── platform        # Platform services
├── libs/
│   ├── core            # Shared core logic
│   ├── pg-meta         # PostgreSQL metadata layer
│   └── utils           # Common utilities
├── configs/            # Default configurations
├── docs/               # Documentation source
└── scripts/            # Build & deployment scripts

Security Model

Every request in Nuvix passes through the same permission pipeline, regardless of whether it touches the database, storage, or messaging.

  • Managed schemas auto-generate Row-Level Security policies. You don't write them by hand.
  • Project isolation keeps tenant data separated at the database level.
  • Self-hosted means your data never leaves your infrastructure.

You don't enable security in Nuvix. It's already on.


Roadmap

  • Realtime subscriptions
  • Edge functions
  • TypeScript SDK (stable)
  • Python SDK
  • Vector / embeddings support
  • Multi-region self-hosting guide

Have a feature in mind? Open an issue or bring it up in Discord.


Contributing

Contributions of all kinds are welcome: code, docs, bug reports, ideas.

  1. Read the Contributing Guide
  2. Browse open issues
  3. Join the Discord

By submitting a pull request, you agree that Nuvix may use, modify, copy, and redistribute the contribution under terms of its choosing.


Bugs and Security

Found a bug? Open an issue on GitHub with steps to reproduce.

Found a vulnerability? Please do not open a public issue. Email [email protected] instead. We will work with you to patch it before any public disclosure.


Resources

📖 Documentation Guides, API reference, tutorials
🖥️ Console Admin dashboard (separate repo)
💬 Discord Community, help, discussion
📢 X / Twitter Updates and announcements

License

FSL-1.1-Apache-2.0


Star History Chart

If Nuvix saves you time, drop a star. It helps more than you think.

About

Open-source Firebase/Supabase alternative, with zero-trust security by default.

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages