quibrix quibrix

Schnellstart

Ziel: eine kleine App (Wispry-Wiki) mit Registrierung, Login, Free-Tarif und hartem Seitenlimit — komplett lokal, ohne externe Dienste.

1. Stack starten

git clone https://git.rsas.de/rsas/quibrix-next.git   # oder dein Spiegel
cd quibrix-next
docker compose up --build

Der Gesamtverbund umfasst Control Plane (http://localhost:8080), zwei Runner (:8081, :8082), die Demo-App Wispry (:8010), ein Testpostfach (Mailpit, :8025) und einen Fake-Zahlungsanbieter (:8090).

2. In der Console anmelden

Öffne http://localhost:8080/console und melde dich mit dem Bootstrap-Admin an (lokal: admin / admin-local-only). In der Console legst du App, Profil, Tarife und Runner-Enrollments an.

3. SDK einbinden

Python-Beispiel (Callback-Fluss):

from quibrix_sdk import QuibrixClient

quibrix = QuibrixClient(
    api_key="qbx_...",                    # API-Key des Profils
    runtime_url="http://localhost:8081",  # Runner-Adresse
    app_id="wispry",
    profile_id="development",
    redirect_uri="http://localhost:8010/auth/callback",
)

url = quibrix.login_url()        # Browser zum gehosteten Login schicken
quibrix.handle_callback(code, state)  # Nachweis (Proof) holen und lokal prüfen

if quibrix.check_feature("wiki"):
    limit = quibrix.limit("pages")   # z. B. 100 im Free-Tarif

4. Prüfen, was passiert

Fehler bleiben im jeweiligen Formular korrigierbar; ein Neustart erhält Konten und Belege.