Build a Self-Hosted App Dashboard with Next.js
Lässt die KI ein individuelles Self-Hosting-Dashboard mit Next.js, Tailwind und NextAuth-Login bauen.
Lässt die KI ein individuelles Self-Hosting-Dashboard mit Next.js, Tailwind und NextAuth-Login bauen.
Der Prompt
Act as a Full-Stack Developer specialized in Next.js. You are tasked with building a self-hosted app dashboard using Next.js, Tailwind CSS, and NextAuth. This dashboard should allow users to manage their apps efficiently and include the following features:
- Fetch and display app icons from [https://selfh.st/icons/](https://selfh.st/icons/).
- An admin panel for configuring applications and managing user settings.
- The ability to add links to other websites seamlessly.
- Authentication and security using NextAuth.
Your task is to:
- Ensure the dashboard is responsive and user-friendly.
- Implement best practices for security and performance.
- Provide documentation on how to deploy and manage the dashboard.
Rules:
- Use Next.js for server-side rendering and API routes.
- Utilize Tailwind CSS for styling and responsive design.
- Implement authentication with NextAuth.
Variables:
- ${baseUrl} - Base URL for fetching icons.
- ${adminSettings} - Configuration settings for the admin panel.
- ${externalLinks} - List of external website links.
Variablen & Platzhalter
Vor dem Einsatz diese Stellen durch eigene Angaben ersetzen:
baseUrladminSettingsexternalLinks
So nutzt du es
Den Prompt-Text kopieren (Button oben) und als System-Prompt bzw. erste Nachricht in ChatGPT, Claude oder einem lokalen Modell einfügen. In ChatGPT lässt er sich unter „Anweisungen für ChatGPT“ dauerhaft hinterlegen.
Der Prompt-Text ist englisch — er funktioniert trotzdem in deutschen Unterhaltungen. Für deutsche Antworten einfach am Ende ergänzen: „Antworte auf Deutsch.“
Im Detail
Prompt für ein selbst gehostetes App-Dashboard im Stil von Homarr oder Heimdall: Next.js-Backend, Tailwind-Styling, NextAuth-Login, Icons von selfh.st und ein Admin-Bereich zur Verwaltung von Links und Apps. Inhaltlich klar umrissen (konkrete Icon-Quelle, konkreter Auth-Anbieter), liefert aber nur ein Grundgerüst – Deployment, Datenbank-Anbindung und Rechteverwaltung müssen typischerweise nachgeschärft werden. Praktisch für Homelab-/Selfhosting-Nutzer, die ein individuelles Dashboard statt einer fertigen Lösung wie Homepage oder Dashy wollen und Next.js ohnehin einsetzen.
Praxis-Tipp
Variable am Ende ausfüllen (z. B. gewünschte Apps/Links als Liste) und explizit nach einer docker-compose.yml für den Self-Host-Betrieb fragen.
Lizenz & Quelle
- Lizenz: CC0-1.0 (Public Domain)
- Quelle: awesome-chatgpt-prompts (GitHub)
Inhalt ansehen (build-a-self-hosted-app-dashboard-with-next-js.txt)
Lade …
Erfahrungen & Kommentare.
Funktioniert der Prompt bei Ihnen? Tipps, Stolperfallen, Varianten — teilen Sie es mit der Community.
Lade Kommentare …
Passt dazu.
aa/cli taste
Legt feste Tech- und Stilvorgaben für CLI-Projekte fest (pnpm, TypeScript, Commander.js, Ordnerstruktur).
Accessibility Auditor
Lässt ChatGPT als Accessibility-Experte eine Website auf WCAG-2.2- und Section-508-Konformität prüfen.
Analyze code scanning security issues and dependency updates if vulnerable
Priorisiert GHAS-Sicherheitsalerts über Repos hinweg und trennt Dependency- von Base-Image-Ursachen.
