# rehacktive/caffeine

A basic REST service for JSON data - enough for prototyping and MVPs!

Repository: https://github.com/rehacktive/caffeine
Canonical: https://ross.abutalabs.com/products/rehacktive-caffeine
Language: Go
License: GPL-3.0
License Family: copyleft
Topics: golang, rest-api, json-api, nosql
Last push: 2022-11-30T16:19:55+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 1775, "days_push": 1372, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1175, forks 34 (observed 2026-08-28T04:03:52.424318+00:00)

## What it is
Caffeine is a lightweight REST service written in Go that stores JSON data with CRUD operations, JWT auth, schema validation, jq-style search, and SSE realtime notifications. It requires no database setup, supporting in-memory, sqlite, postgres, or filesystem storage, and auto-generates Swagger/OpenAPI specs.

## Use cases
- prototype a backend without setting up a database
- spin up a quick REST API for an MVP
- mock backend for frontend development
- store JSON data with simple CRUD endpoints
- add JWT auth to a throwaway API
- get realtime data change notifications via SSE
- auto-generate OpenAPI docs for a test API

## When to choose
- you need a working JSON backend in minutes for prototyping or MVPs
- you want zero database setup with optional sqlite/postgres persistence
- you want built-in auth, validation, search, and Swagger docs out of the box
- you want an easily deployable containerized backend stub

## When to avoid
- you need a production-grade backend with complex business logic or relations
- you need high scalability or advanced query capabilities
- the project sees infrequent releases and you need active long-term support
- you need non-JSON data formats or GraphQL

## Facets
- artifact type: service
- maturity: maintenance
- function: http-server, api-framework, auth, search-engine, database, websocket
- domain: backend, apis, web-development, developer-tools, databases
- platform: go, windows, self-hosted, cli
- tags: rest-api, json-api, nosql, mock-backend, prototyping, jwt, sse, swagger, sqlite, postgres, linux, macos, docker

## Member repositories
- rehacktive/caffeine (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:52.424318+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-30T06:28:14.535770+00:00, confidence not recorded.
  - readme: https://github.com/rehacktive/caffeine (fetched 2026-08-28T04:03:52.424318+00:00, sha 896afb3f38cf)
- Data as of 2026-08-30T08:39:29.467469+00:00.
