43 lines
2.9 KiB
Markdown
43 lines
2.9 KiB
Markdown
<!-- BEGIN:nextjs-agent-rules -->
|
|
|
|
# This is NOT the Next.js you know
|
|
|
|
This version has breaking changes — APIs, conventions, and file structure may all differ from your training data. Read the relevant guide in `node_modules/next/dist/docs/` (resolved from this file's directory; in monorepos the `next` package may not be visible from the repo root) before writing any code. Heed deprecation notices.
|
|
|
|
This block is written and re-added by `next dev` — verify at `node_modules/next/dist/server/lib/generate-agent-files.js`. Removing it from a diff only re-creates the uncommitted change; committing it with your work keeps the tree clean.
|
|
|
|
<!-- END:nextjs-agent-rules -->
|
|
|
|
# eldov.win — Agenten-Notizen
|
|
|
|
Privates Portfolio von „eldov" (Jan Wagner), Domain `eldov.win`. Gegenstück zur geschäftlichen Präsenz `w-make.com`: hier stehen Selbsthosting, Bots, AI-Fleet und Hacks — dort Industrie-Software.
|
|
|
|
## Welche Inhalte hier hingehören
|
|
|
|
- Hermes / Multi-Agent-Fleet, Casino-Bot, Polymarket-Trader, Crypto-/Trade-Bot, TS6-Bot, QuantMuse
|
|
- Freewarez-Landingpage, Open-Source-Themes (Jellyfin, Gitea, Discourse, Kavita, Authelia, Uptime-Kuma, Erugo, LAMP, Stirling-PDF, Element)
|
|
- Minecraft-Portal, ai-subscription-manager, Android-Projekte, LAMP-Link-Themes
|
|
- Persönliche Bio, Hobbies, eigene Meinung, Blog/Notes
|
|
|
|
## Welche Inhalte NICHT hierhingehören
|
|
|
|
- **Batchmaker / W-Make Batch / W-Make Studio** — Industrie, gehört zu `w-make.com`. Selbst Erwähnungen, Screenshots oder Kundenkontext sind hier tabu.
|
|
- Live-Performance-Claims für Trading/Casino („X % ROI pro Monat"). Wir zeigen das System, nicht die Quoten.
|
|
- Konkrete VPS-Internas, IPs, Secrets, API-Keys — weder in Markdown noch in Bildern.
|
|
|
|
## Architektur-Kurzfassung
|
|
|
|
- **Stack:** Next.js 16 (App Router) · React 19 · Tailwind 4 · TypeScript · better-sqlite3
|
|
- **Rendering:** SSR. Public Routes lesen Content aus SQLite; Admin schreibt.
|
|
- **i18n:** DE als Default (ohne Prefix), EN unter `/en`. Routing über `proxy.ts` analog `w-make-com`.
|
|
- **DB:** SQLite unter `DB_PATH` (Default `data/eldov.db`). Schema in `src/lib/schema.sql`, Seed in `src/lib/seed.ts`. Wird beim ersten Request automatisch initialisiert.
|
|
- **Auth:** Single-User-Admin via `ADMIN_PASSWORD` + `SESSION_SECRET` (HMAC-signiertes HttpOnly-Cookie). `proxy.ts` schützt `/admin/*` und `/api/admin/*` (außer `/admin/login`, `/api/admin/login`).
|
|
- **Deploy:** `./deploy.sh` (oder `./deploy-vps.sh`) synct in Container `/opt/containers/eldov-portfolio` auf `free-warez.win`, Traefik routet `eldov.win` und `www.eldov.win` → Container-Port 3000.
|
|
|
|
## Konventionen
|
|
|
|
- Komponenten klein, eine Datei pro Sache, keine „Utils-Bibliothek".
|
|
- Texte liegen in `src/content/*.ts` (statisch) oder in der DB (editierbar). Niemals Strings hartcodiert in Komponenten.
|
|
- UI-Strings Deutsch/Englisch in `src/i18n/dictionaries.ts`.
|
|
- Keine TODO-/FIXME-Kommentare ins Repo, stattdessen Issue oder Note.
|