# smallbets/userbase

Create secure and private web apps using only static JavaScript, HTML, and CSS.

Repository: https://github.com/smallbets/userbase
Canonical: https://ross.abutalabs.com/products/userbase
Homepage: https://userbase.com
Language: JavaScript
License: MIT
License Family: permissive
Topics: database, end-to-end-encryption, backend-as-a-service, frontend, userbase, privacy
Last push: 2026-01-24T07:37:35+00:00

## Health v2 (maintenance only)
Score: 61/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 64, release rhythm 35, longevity 100
- inputs: {"age_days": 2658, "days_push": 221, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2339, forks 126 (observed 2026-08-28T04:06:38.527020+00:00)

## What it is
Userbase is an open-source backend-as-a-service that adds user accounts and end-to-end encrypted data persistence to static web apps via a simple JavaScript SDK, with no backend code required. It can be used as a hosted serverless service or self-hosted on AWS.

## Use cases
- add user sign-up and login to a static site without a backend
- store user data in a browser-accessible encrypted database
- build a web app with only JavaScript, HTML, and CSS
- simplify GDPR compliance with end-to-end encryption
- share encrypted data securely between users
- accept Stripe payments in a static web app
- self-host a private backend for user data

## When to choose
- you want authentication and persistence for a static site with zero backend code
- privacy and end-to-end encryption of user data are priorities
- you want to self-host the entire stack under your control

## When to avoid
- you need complex server-side queries, joins, or relational data
- you require heavy backend logic, integrations, or custom APIs
- you need large-scale storage beyond simple document-style data

## Facets
- artifact type: service
- maturity: maintenance
- function: auth, database, cryptography, sdk, self-hosted
- domain: web-development, backend, privacy, security, databases
- platform: browser, self-hosted, cloud
- tags: backend-as-a-service, end-to-end-encryption, static-sites, gdpr, zero-backend, user-accounts, client-side-database, nodejs, web-server, javascript

## Member repositories
- smallbets/userbase (main) score 61

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:38.527020+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:37:26.947417+00:00, confidence not recorded.
  - readme: https://github.com/smallbets/userbase (fetched 2026-08-28T04:06:38.527020+00:00, sha 0f05abdcfc95)
  - homepage: https://userbase.com (fetched 2026-08-29T10:18:17.997642+00:00, sha 1f78d52f70ad)
  - site_page: https://userbase.com/docs (fetched 2026-08-29T10:18:18.009409+00:00, sha dba248dc1e48)
  - site_page: https://userbase.com/docs/sdk (fetched 2026-08-29T10:18:18.011225+00:00, sha 9644777a026c)
  - site_page: https://userbase.com/docs/faq (fetched 2026-08-29T10:18:18.012930+00:00, sha 16c1b0a22a3a)
  - site_page: https://userbase.com/about (fetched 2026-08-29T10:18:18.014911+00:00, sha b8a6c5d40c94)
  - site_page: https://userbase.com/pricing (fetched 2026-08-29T10:18:18.007419+00:00, sha 07910111171e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
