Commit Graph

22 Commits

Author SHA1 Message Date
Jörg Lohrer 0a3bf026ff docs: handoff-pakette für pause + spätere fortsetzung
- docs/STATUS.md: was ist getan, was läuft live, wo liegen die Fäden
- docs/HANDOFF.md: nächste Optionen (Publish-Pipeline, Menü, Cutover),
  Dev-Kommandos, bekannte Stolperfallen
- .claude/skills/joerglohrerde-workflow.md: repo-spezifischer Skill
  zum Session-Start — Konventionen, API-Eigenheiten, wiederkehrende
  Kommandos, wie mit Jörg arbeiten
- README.md als Navigation zu allen Dokumenten

Damit kann die nächste Session ohne Kontextverlust fortgeführt werden.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-15 18:34:15 +02:00
Jörg Lohrer 937e356f4c plan: sveltekit-spa implementierung (35 tasks, 6 phasen)
Deckt die vollständige SPA-Spec ab: Setup + adapter-static, Daten-
ebene (Relay-Pool, Loader, Profil, Markdown, Signer), Routing mit
Legacy-URL-Normalisierung, Tag-Filter, Reactions, NIP-07-Kommentare.
TDD für pure Transformationen (URL-Parser, naddr, Markdown), E2E mit
Playwright für Happy-Paths.

Deploy-Ziel: svelte.joerg-lohrer.de. spa.joerg-lohrer.de bleibt als
Vanilla-Mini-Spike-MVP erhalten (Referenz-Verhalten).

Publish-Pipeline hat eigene Spec und bekommt separaten Plan.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-15 14:57:26 +02:00
Jörg Lohrer 841b183b3c spec(spa): kurze form /<dtag>/ als kanonische url
Revidiert das URL-Schema: die lange Hugo-Form /YYYY/MM/DD/<dtag>.html/
wird als Legacy behandelt, die kurze Form /<dtag>/ als kanonisch.

Gründe: schöner zu teilen, skaliert über die 18 Altposts hinaus,
Datumskomponente fügt keinen Informationswert (Datum steht im Event
als published_at).

Legacy-URLs werden clientseitig via history.replaceState ohne Reload
auf die kurze Form normalisiert — Backlinks bleiben funktional,
Bookmarks konvergieren zur kurzen Form. Keine .htaccess-Redirects.

Im Mini-Spike bereits umgesetzt und live auf spa.joerg-lohrer.de.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-15 14:46:33 +02:00
Jörg Lohrer db86b7dd23 spec(spa): daten-transparenz statt stilles dedup
Die produktive SPA soll Events wahrheitsgetreu darstellen und nicht
defensiv korrigieren. Daten-Anomalien (doppelte t-Tags etc.) bleiben
sichtbar, damit der Autor sie wahrnimmt. Bereinigung gehört in
separate Audit-Werkzeuge, nicht in die SPA-Renderlogik.

Der Mini-SPA-Spike dedup'te pragmatisch — explizit als Abweichung
vom Zielverhalten vermerkt.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-15 14:31:20 +02:00
Jörg Lohrer 4251fee668 spec(spa): erläuterung warum webspace für sveltekit ausreicht
Häufige Sorge ("kann mein einfaches Webspace-Paket SvelteKit hosten?")
explizit beantwortet: SvelteKit mit adapter-static produziert reine
statische Dateien, exakt analog zu Hugos public/. Webspace, FTP und
.htaccess reichen vollständig — keine Node-Runtime, keine Datenbank,
kein vServer nötig.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-15 13:46:45 +02:00
Jörg Lohrer febb3147fb spec(publish): pipeline für nostr-events via deno + amber + rsync
Publish-Pipeline für den Weg Markdown → signiertes kind:30023 → Relays,
plus Bilder-Upload (Legacy: rsync zu All-Inkl für die 18 Altposts;
Blossom: BUD-01-Upload für neue Posts).

Kernpunkte:
- Deno-Runtime, gemeinsame Library und CLI für lokal + GitHub Action
- NIP-46 Bunker (Amber-Stufe, später Optiplex-Stufe ohne Code-Change)
- Relay- und Blossom-Server-Listen via kind:10002 / kind:10063
  (manuell einmalig publiziert, identisch mit SPA-Nutzung)
- Git-Diff als Change-Detection, --force-all für Migration/Reimport
- State-los im Repo, keine Lock-Files, keine Commits zurück
- Pre-Flight `deno task check` validiert alle Voraussetzungen

Beziehung zur SPA-Spec: gemeinsame Event-Verträge (kind:30023, 10002,
10063) sind in dieser Spec normativ; SPA-Spec verweist darauf.
Publish läuft einmalig für die 18 Altposts (SPA-Migrationsschritt C)
vor dem SPA-Cutover (Schritt D).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-15 11:07:33 +02:00
Jörg Lohrer 6a4db658c6 spec(spa): relay-liste aus kind:10002 statt hartcodiert
Die Relay-Liste wird zur Laufzeit aus dem NIP-65-Outbox-Event geholt
(via Bootstrap-Relay), mit hartcodierter Fallback-Liste als Sicherheit.
Damit teilen SPA und Publish-Pipeline eine gemeinsame Quelle der
Wahrheit für Relay-Konfiguration — Änderungen erfordern nur ein neues
Event, keinen Code-Deploy.

Publish-Spec wird das normative Schema für kind:10002 und kind:10063
definieren; SPA-Spec verweist darauf.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-15 11:02:20 +02:00
Jörg Lohrer d17410fb18 normalize: slugs lowercase und url-kompatibel
Vereinheitlicht die slug-Frontmatter-Werte auf lowercase-Form, passend
zu den tatsächlich von Hugo erzeugten URLs (die lagen ohnehin schon
lowercase auf All-Inkl). Damit sind die slugs identisch mit den
späteren Nostr-d-Tags, keine Runtime-Normalisierung nötig.

7 Posts angepasst:
- Pflanzenschild-QR-Code → pflanzenschild-qr-code
- WordPress-Werkstatt → wordpress-werkstatt
- OB-virtualcam → ob-virtualcam
- Dampfnudeln → dampfnudeln
- BottomUp-MarkDown → bottomup-markdown
- 'KIBedenken - Bewusstsein' → kibedenken-bewusstsein
- 'Gemeinsam die Bildungszukunft gestalten: Dezentrale OEP und OER…' → dezentrale-oep-oer

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-15 10:38:38 +02:00
Jörg Lohrer 8dc6e061ff main: hugo-artefakte entfernt, bereit für nostr-spa-entwicklung
Entfernt: themes/, public/, resources/, layouts/, assets/, archetypes/,
hugo.toml, .hugo_build.lock, .gitmodules. Kompletter Hugo-Stand ist
im Orphan-Branch 'hugo-archive' eingefroren.

Behalten auf main: content/ (markdown-quelle für publish-skript),
docs/ (specs), static/ (favicons, profilbild), .claude/, LICENSE.

README überarbeitet mit Branch-Übersicht.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-15 09:51:05 +02:00
Jörg Lohrer 3a5c4d1e00 archive: final hugo build mit neuem post dezentrale-oep-oer
Letzter Commit vor Transition zu nostr-spa. Beinhaltet:
- neuer Post 2025-03-04-dezentrale-oep-oer (content + Hugo-Build)
- aktualisierte public/*.html nach Mastodon-Comment-Entfernung
- .claude/ als Transparenz-Spur der Sessions
- .DS_Store aus Index entfernt (bleibt ignoriert)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-15 09:49:26 +02:00
Jörg Lohrer 4918175f8b spec: nostr-page auf basis von events — design
SvelteKit-SPA, die Blog-Posts live aus signierten kind:30023-Events
von Public-Relays rendert. Ablösung der Hugo-Seite auf All-Inkl ohne
eigene Infrastruktur in Phase 1; Stubs, eigener Relay und Blossom als
Evolutionspfad.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-15 09:25:11 +02:00
Jörg Lohrer 78c6b0be51 comment integration ohne styling 2025-02-12 19:43:36 +01:00
Jörg Lohrer d755fd82c2 fix ERROR deprecated: .Site.Social was deprecated in Hugo v0.124.0 and will be removed in Hugo 0.143.0. Implement taxonomy 'social' or use .Site.Params.Social instead. with hogo.toml 2025-02-01 07:52:15 +01:00
Jörg Lohrer 1b069f98d4 yaml cover images ergänzt 2025-02-01 07:44:21 +01:00
Jörg Lohrer e9dc55e9fd + gitignore DS_Store 2025-02-01 06:52:16 +01:00
Jörg Lohrer 15ddf4e777 neu 2025-02-01 06:42:08 +01:00
Jörg Lohrer af72263ca9 umbau 2025-01-28 18:18:59 +01:00
Jörg Lohrer 4e9300b1e0 update 2 2024-12-03 17:02:00 +01:00
Jörg Lohrer 094c0a6203 icons 2024-11-06 17:57:18 +01:00
joerglohrer 3f04f53d7c README.md aktualisiert 2024-11-06 16:01:59 +01:00
joerglohrer 2f2706e4e4 README.md aktualisiert 2024-11-06 16:00:13 +01:00
Jörg Lohrer 5f7696d6ae Initial commit 2024-11-06 15:55:54 +01:00