Parro-dashboard: agenda, weekoverzicht en meldingen uit Parro#6
Merged
Conversation
Zelfde opzet als boodschappen/: statische Alpine+Supabase-frontend met Google-login en allowlist/RLS, plus een lokale agent (cron) die via de gwillem/parro CLI berichten ophaalt, ze met Claude verrijkt tot agenda-items met afvinkbare acties en kind-van-de-week, en wekelijkse samenvattingen schrijft. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FvhjB8zRpjF2ZDPZzj9hVm
… API key Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FvhjB8zRpjF2ZDPZzj9hVm
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Nieuwe one-off
parro/: een gezinsdashboard voor de schoolcommunicatie uit Parro, volgens hetzelfde patroon als de boodschappen-app (statische Alpine-frontend + Supabase met Google-login en allowlist + lokale agent op Lukas' machine).Wat zit erin
Frontend (
parro/index.html+config.js) — self-contained, geen buildstap. Drie tabs:Gebruikt standaard hetzelfde Supabase-project als boodschappen (login, allowlist en service-key worden gedeeld).
Supabase (
parro/supabase/) —schema.sqlmet tabellenparro_items(ruw),parro_agenda,parro_acties,parro_weekoverzicht, plus RLS: leden lezen alles, acties afvinken mag vanuit de app, alle overige writes lopen via de service-role. Het allowlist/leden-deel is identiek aan boodschappen en idempotent.Agent (
parro/agent/) — draait lokaal als cron, niet op GitHub Pages:run.sh:parro check(gwillem/parro CLI, al geïnstalleerd) →sync.mjs(SQLite → Supabase, vianode:sqlite, Node ≥ 23.4) →enrich.mjs(Claude haalt agenda-items, acties, kind-van-de-week en belangrijk-vlaggen uit elk bericht).week.mjs: wekelijkse samenvatting (zondagavond-cron).claude -p(geen API key); metANTHROPIC_API_KEYschakeltllm.mjsover op de API met structured output.Verder: tegel op de landingspagina, eigen
CLAUDE.md, README's met setup- en cron-instructies. Secrets blijven inagent/.env(gitignored).Nog te doen na merge (eenmalig, lokaal)
schema.sqldraaien in de Supabase SQL-editor + redirect-URLhttps://q42.github.io/lukasvan3l/parro/toevoegen.parro/agent:npm install,.envinvullen (zie.env.voorbeeld),./run.shtesten, cron instellen.🤖 Generated with Claude Code
https://claude.ai/code/session_01FvhjB8zRpjF2ZDPZzj9hVm
Generated by Claude Code