Dashboard
Recent activity
Blog
| Title | Date | Lang | Status |
|---|
Recipes
| Title | Category | Languages | Status |
|---|
Products
| Product | Category | Links | Status |
|---|
Users
| Naam | Taal | Tier | Tokens | Karma | Recipes | Journals | Storage | MFA | Created | Last login |
|---|
Donations
| Date | Type | From | Amount | Tier | Public | Message |
|---|
🤖 AI Modellen
Laden…
Moderation
Feedback
Coming soon
Deze sectie wordt nog gebouwd. Geplande functies:
- In-app feedback-knop op alle pagina's (rating + vrije tekst)
- Inbox-overzicht hier met status (nieuw / opgepakt / opgelost)
- Filter per type (bug / feature / vraag)
- Optioneel auto-tagging via LLM
- E-mail-notificatie aan admin bij nieuwe feedback
Settings
📍 Modelkeuze voor schrijven, vertalen en ToosT zit nu in 🤖 Models (sidebar).
🤖 ToosT dag-limieten
Maximaal aantal ToosT-berichten per gebruiker per dag. Reset om middernacht UTC. Bij overschrijding krijgt de gebruiker een grappige hard-coded boodschap (geen LLM-call).
📊 Actieve ToosT-tellers (vandaag)
In-memory teller per IP (gast) of per user (ingelogd). Reset bij server-restart of middernacht.
Laden…
📈 Stats
Laden…
Per dag — klik voor detail
Top pagina's
Referrers — waar komen ze vandaan
Landen
Browsers
Apparaten
Guide
Overview
Dit panel beheert alle content op CrumbLab.org. Je hebt twee soorten content:
- Blog Posts — Markdown-bestanden op disk, gebuild door Astro. Een rebuild is nodig na publish/edit.
- Products — DB-records, meteen zichtbaar op de site (geen rebuild nodig).
Blog
Een post maken
Klik + New Post. Vul title in (slug auto), kies taal, schrijf in Markdown. Save Draft = lokaal opslaan. Publish = live + rebuild.
Vertalen via LLM
Bij een opgeslagen post: klik Translate All om in 1x naar de andere 4 talen te kopiëren. Vereist OpenRouter-key in Settings.
Products
Engelse + Nederlandse naam/beschrijving zijn verplicht. Affiliate-links: één per store (Amazon.nl, Bol, etc.). Met locales kun je een link beperken tot specifieke talen (leeg = overal zichtbaar).
Donations
Webhook-URL voor Ko-fi: https://crumblab.org/api/kofi/webhook. Token staat server-side in .env.production. Subscriptions worden automatisch tot Premium-tier upgegrade als de e-mail matcht een gebruiker.
Architectuur
- Frontend: Astro (SSG) op port 4321
- API: FastAPI op port 4322 (admin + user APIs)
- Database: SQLite —
/opt/crumblab/data/crumblab.db - Blog files:
/opt/crumblab/src/content/blog/{locale}/*.md - Auth: bcrypt + HttpOnly + Secure cookies (30 dgn) + TOTP optioneel
- Admin URL:
/admin5(security-by-obscurity laag)
Journals
| Title | User | Status | Bake date | Likes | Lang | ||
|---|---|---|---|---|---|---|---|
| Loading... | |||||||
📚 Books
🔎 Search across books
| Title | Author | Type | Pages | Chunks | Status | |
|---|---|---|---|---|---|---|
| Loading... | ||||||