No description
  • HTML 76.5%
  • TypeScript 17.2%
  • Python 5.7%
  • Dockerfile 0.3%
  • CSS 0.3%
Find a file
Larina Deiser b1f1dd4d20
Some checks failed
CI / Lint, typecheck & build (push) Failing after 37s
Docker Build and Push / build-and-push (push) Failing after 48s
Docker Build and Push / update-manifest (push) Has been skipped
feat: Noten von Lernkarten getrennt + Analyse-Tab in /noten
Landing page:
- Fächerplaner + Analyse entfernt → sauberes 2×2-Raster
- Noch: Lernkarten, Kalender, Noten & Abi, W-Seminar

/noten:
- Neuer Tab "Analyse": Zielschnitt-Rechner (+/−), Fach-Übersicht mit
  Balken (Abi-Fächer markiert), Block I Fortschrittsbalken
- Bereit für Freitag: Zeugnisnoten direkt unter Noteneingabe eintragen

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-29 00:24:42 +02:00
.claude chore: Projekt-Übersicht verbessert – Datei-Karte, Slash-Commands, Sektions-Marker 2026-07-29 00:13:31 +02:00
.forgejo/workflows ci: pin infra deploy to an explicit key file (algorithm-agnostic) 2026-06-19 01:57:11 +02:00
app feat: Noten von Lernkarten getrennt + Analyse-Tab in /noten 2026-07-29 00:24:42 +02:00
lernmaterial feat: Klausur-Queue + lernmaterial-Ordner 2026-07-22 16:28:43 +02:00
lib fix: QA-Bugfixes – Validierung, Block II Prüfungsnoten, W-Seminar Quellen 2026-07-28 01:29:25 +02:00
mcp-server feat: MCP-Tools erweitert – Import-Queue, Material-Import, HTML-Navigation 2026-07-28 01:39:15 +02:00
public feat: Noten von Lernkarten getrennt + Analyse-Tab in /noten 2026-07-29 00:24:42 +02:00
.dockerignore chore: scaffold Next.js app with Forgejo CI and container build 2026-06-18 13:54:05 +02:00
.eslintrc.json chore: scaffold Next.js app with Forgejo CI and container build 2026-06-18 13:54:05 +02:00
.gitignore chore: Projekt-Übersicht verbessert – Datei-Karte, Slash-Commands, Sektions-Marker 2026-07-29 00:13:31 +02:00
.mcp.json feat: MCP-Server + KI-Import-Button für Lernkarten und Lernplan 2026-07-22 01:32:37 +02:00
bun.lock chore: scaffold Next.js app with Forgejo CI and container build 2026-06-18 13:54:05 +02:00
CLAUDE.md chore: Projekt-Übersicht verbessert – Datei-Karte, Slash-Commands, Sektions-Marker 2026-07-29 00:13:31 +02:00
Dockerfile chore: scaffold Next.js app with Forgejo CI and container build 2026-06-18 13:54:05 +02:00
GOAL.md feat: Backup – alle Daten als JSON sichern und zurückspielen 2026-07-28 18:20:44 +02:00
middleware.ts feat: Startseite und Lernkarten-App serverseitig hinter Login 2026-07-29 00:14:03 +02:00
next.config.ts feat: redirect root to the Lernkarten Oberstufe flashcards page 2026-06-19 01:49:58 +02:00
package.json chore: scaffold Next.js app with Forgejo CI and container build 2026-06-18 13:54:05 +02:00
README.md chore: scaffold Next.js app with Forgejo CI and container build 2026-06-18 13:54:05 +02:00
tsconfig.json chore: scaffold Next.js app with Forgejo CI and container build 2026-06-18 13:54:05 +02:00

lernen

Next.js app deployed at https://lernen.tu-po.com.

This repo currently holds a minimal placeholder scaffold so CI and the container build are green end-to-end — replace app/ with the real frontend.

Stack

  • Runtime: Next.js (App Router) on Bun (oven/bun:1.3.12)
  • Build: Next.js output: "standalone" → small self-contained server image
  • Container port: 3000 (health probe at /api/health)

Local development

bun install
bun run dev      # http://localhost:3000
bun run lint
bun run typecheck
bun run build

CI/CD (Forgejo, code.podesta.ai)

CI lives in .forgejo/workflows/ and runs on the tupo-runner:

  • ci.yml — install, lint, typecheck, build on every push/PR to main (and v* tags).

  • docker-publish.yml — builds the image and pushes to code.podesta.ai/xemmerling/lernen, tagged:

    • main-<sha> on pushes to main
    • <version> (semver) on v* tags
    • pr-<n> build-only (not pushed) on pull requests

    Pushing requires a repo secret REGISTRY_TOKEN (a Forgejo token with write:packages on code.podesta.ai/xemmerling/lernen).

Deployment (ArgoCD)

Kubernetes manifests live in the infra repo under apps/lernen/ (base) and clusters/prod/apps/lernen/ (prod overlay), wired into the prod ApplicationSet. After CI pushes a new image, bump the main-<sha> tag in apps/lernen/deployment.yaml and let ArgoCD sync. See that overlay's README.md for the one-time forgejo-pull-secret setup.