SimpleBase

A self-hosted, AI-native backend in one Go binary: SQL/document/KV databases (DuckDB/SQLite), Go cloud functions, cron, S3 storage, sandbox, and a built-in AI c

What is SimpleBase?

A self-hosted, AI-native backend in one Go binary: SQL/document/KV databases (DuckDB/SQLite), Go cloud functions, cron, S3 storage, sandbox, and a built-in AI cloud assistant with an OpenAI-compatible endpoint.

Overview of SimpleBase

What it is

SimpleBase is a self-hosted, AI-native backend distributed as a single Go binary. It combines SQL, document, and key-value databases (DuckDB/SQLite), Go cloud functions, cron jobs, event triggers, real-time subscriptions, S3-compatible object storage, a sandbox, and a built-in AI cloud assistant with an OpenAI-compatible endpoint. The system includes a Vue-based console and a CLI. It runs on local disk during development and can switch to S3 for production persistence.

Key features

  • Single binary with zero external dependencies; frontend is embedded via go:embed.
  • Each project uses a single-file database (DuckDB or SQLite) that stores SQL tables, collection documents, and KV data together.
  • Supports three data models in one database: parameterized SQL with batch transactions, JSON collections with filter/projection/patch, and KV with String/Hash/List/Set/ZSet/TTL.
  • In-process Go cloud functions using a custom gofunction interpreter; single-file package main deployment with versioning, dry-run, and activation separation.
  • Automation suite: cron/interval/once scheduled tasks, record and object event triggers, SSE real-time subscriptions with Last-Event-ID replay, and project-level backup/restore.
  • Declarative project configuration via simplebase.json; simplebase dev plan/apply for local development and idempotent replay to the cloud.
  • LLM gateway with OpenAI-compatible chat/completions, responses, and models endpoints; cloud assistant operates project resources through CLI skills with destructive command confirmation.
  • Security defaults: HMAC-stored API keys, permission bits with scoped keys (resource/action/field level), cross-project 403, system database read-only, SQL guard (deny list, multi-statement, row count, timeout), secrets forbidden in YAML, audit logging with redaction.

Use cases

  • Building SaaS applications with an AI-powered backend that includes database, storage, functions, and task scheduling.
  • Developing locally and deploying to the cloud with the same code path, using S3 as the persistent layer.
  • Automating database schema creation, cloud function writing, and task scheduling via the AI cloud assistant.
  • Running a self-hosted backend that combines multiple data models (SQL, document, KV) in a single binary.
  • Using the LLM gateway as an OpenAI-compatible endpoint for AI model interactions.

Getting started

bash ./build.sh dev --no-open # Starts backend on :8080 and console on :5173; auto-generates config.yaml if missing First login with account simplebase2026 / simplebase2026 (password must be changed on first login). Create a project in the console and issue an API key under Settings → Connection. For production build: bash ./build.sh # Frontend build + go build -o simplebase ./simplebase # Default :8080; /health/live, /health/ready docker build -t simplebase . && docker run -p 8080:8080 --env-file .env simplebase

License and pricing

The license is not stated in the provided metadata or README. The project is listed as open source in the metadata with no license field specified.

Based on the project's public README and repository metadata.

Add this badge to your README

Featured on YunoDB Badge styles & help

Maintain this project? Show that it is featured on YunoDB.

Markdown[![Featured on YunoDB](https://yunodb.com/badge/simpleai2026simplebase.svg)](https://yunodb.com/tools/simpleai2026simplebase?utm_source=github&utm_medium=badge)
HTML<a href="https://yunodb.com/tools/simpleai2026simplebase?utm_source=github&utm_medium=badge"><img src="https://yunodb.com/badge/simpleai2026simplebase.svg" alt="Featured on YunoDB" height="20"></a>