No description
  • TypeScript 60.1%
  • CSS 15.7%
  • JavaScript 14.2%
  • Python 5.9%
  • HTML 3.9%
  • Other 0.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
qwolff 1449a9f60e
Point the infra pin push at tilo/infra [skip ci]
The infra repository moved from PodestaAI/infra to tilo/infra. Forgejo keeps
an HTTP redirect for the old path but not for SSH, so cloning the old path
now fails.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 17:30:11 -08:00
.claude feat: Bereich "Dokumente" je Fach mit Lernzettel/Lernplan als PDF 2026-10-21 21:35:37 +02:00
.forgejo/workflows Point the infra pin push at tilo/infra [skip ci] 2026-11-05 17:30:11 -08:00
app merge: origin/main in feat/kunst-posen 2026-10-21 16:37:01 +02:00
docs docs: Aufgaben üben in Spec und Datei-Karte 2026-10-21 21:37:27 +02:00
lib fix(aufgaben): Deck-Menue im Aufgabenbereich aus, Doku korrigiert 2026-10-21 21:37:27 +02:00
mcp-server feat: Abbildungen auf Lernkarten, importierte Stapel bleiben erhalten 2026-10-19 16:45:43 +02:00
public feat(aufgaben): 69 Aufgaben Mathe 13/1 aus der Aufgabensammlung 2026-10-22 08:36:02 +02:00
types merge: origin/main in feat/kunst-posen 2026-10-21 16:37:01 +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 feat: Bereich "Dokumente" je Fach mit Lernzettel/Lernplan als PDF 2026-10-21 21:35:37 +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(kunst): R3F-Abhaengigkeiten und Implementierungsplan 2026-10-21 12:51:50 +02:00
CLAUDE.md fix(aufgaben): Deck-Menue im Aufgabenbereich aus, Doku korrigiert 2026-10-21 21:37:27 +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: W-Seminar-Gliederung neu nummeriert, Bergen-Belsen als eigener Punkt 2026-10-13 17:28:25 +02:00
middleware.ts feat: Bereich "Dokumente" je Fach mit Lernzettel/Lernplan als PDF 2026-10-21 21:35:37 +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(kunst): R3F-Abhaengigkeiten und Implementierungsplan 2026-10-21 12:51:50 +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.