Skip to content

commanderphu/commanderphu-site

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CommanderPhu — Tech Creator & IT Professional

Building clean tech, streaming code and commanding systems.


🎯 Über das Projekt

Die offizielle Website von CommanderPhu – Tech Creator, IT Professional und Gründer von K.I.T. Solutions.

Fokus auf:

  • Klarheit statt Chaos
  • Nachhaltige IT
  • Lernen & Teilen
  • Ethical & Open Tech

✨ Features

🏠 Hauptseite

  • Professionelle Hero Section mit Twitch Avatar
  • "What I Do" – Übersicht der Tätigkeiten
  • "Streaming & Content" – Infos zum Stream
  • "Philosophy" – Persönliche Werte und Ansätze
  • SEO-optimiert mit Meta-Tags

🎥 Twitch Dashboard

  • Live Status Panel mit Avatar und Stream-Info
  • Realtime Chat via WebSocket (wss://api.intern.phudevelopement.xyz/ws)
  • Recent Followers (Top 5)
  • Game Box Art (wenn live)
  • Viewer Graph und Live Terminal
  • Clips Panel
  • Auto-Refresh alle 30 Sekunden

🎮 Commands Page

  • Interaktive Command-Liste mit Such- und Filterfunktion
  • 20+ Twitch-Commands in 4 Kategorien (Basic, Music, Flash, Fun)
  • URL-Highlighting (/commands?name=!flash)

🎨 Design System

  • Farbschema: #1F2933 (Primary), #2E3440 (Secondary), #FF8C1A (Orange Accent)
  • Typography: Orbitron/Rajdhani (Headings), Inter/Roboto (Body)
  • Design-Guideline: docs/CommanderPhu_Astro_Design_Guideline.md
  • Ruhige, professionelle Ästhetik ohne visuelle Effekthascherei

📁 Projektstruktur

commanderphu-site/
├── docs/
│   ├── CommanderPhu_Astro_Design_Guideline.md
│   └── twitch-commands.md
├── src/
│   ├── components/
│   │   ├── GlobalNav.astro
│   │   └── twitch/modules/
│   │       ├── AutoRefresh.astro
│   │       ├── ChatPanel.astro
│   │       ├── ClipsPanel.astro
│   │       ├── GameBoxArt.astro
│   │       ├── LiveTerminal.astro
│   │       ├── Recent-Follower.astro
│   │       ├── StatusPanel.astro
│   │       └── ViewerGraph.astro
│   ├── layouts/
│   │   └── BaseLayout.astro
│   ├── pages/
│   │   ├── index.astro
│   │   ├── twitch.astro
│   │   └── commands.astro
│   └── styles/
│       └── global.css
└── public/
    └── favicon.svg

🔧 Entwicklung

Voraussetzungen

  • Node.js 18+
  • pnpm

Setup

# Dependencies installieren
pnpm install

# Dev Server starten
pnpm run dev

# Mit Host-Flag (für Zugriff aus dem Netzwerk)
pnpm run dev -- --host

Die Seite läuft unter:

  • Local: http://localhost:4321
  • Network: http://<deine-ip>:4321

🚀 Deployment

Docker Build:

docker build -t commanderphu-site .

Docker Run:

docker run -p 4321:4321 commanderphu-site

Caddy Reverse Proxy:

commanderphu.io {
    reverse_proxy commanderphu-site:4321
}

🛰 API Integration

Die Website nutzt die PHU API Hub v2.0.0 unter https://api.intern.phudevelopement.xyz

Endpoints

Twitch:

  • GET /twitch/ – Stream Status & User Info
  • GET /twitch/followers – Recent Followers
  • GET /twitch/clips – Latest Clips
  • WebSocket: wss://api.intern.phudevelopement.xyz/ws – Live Chat & Events

WebSocket Messages:

  • overlay:ready (Client → Server) – Signal nach Verbindung
  • twitch:chat (Server → Client) – Neue Chat-Nachricht
  • now_playing (Server → Client) – Aktueller Track
  • emotes:init (Server → Client) – Twitch Emotes

Andere:

  • GET /websocket/info – WebSocket-Dokumentation
  • GET /docs/json – OpenAPI-Dokumentation

📜 License

MIT License Branding & Content © CommanderPhu 2025


🔗 Links


📝 Changelog

v2.0.0 (2025-12-22)

  • ✨ Komplettes Redesign gemäß Design-Guideline v1.0
  • 🎨 Neues Farbschema: #1F2933, #2E3440, #FF8C1A
  • 🔤 Neue Typography: Orbitron/Rajdhani & Inter/Roboto
  • 🏠 Neue Hauptseite mit Hero, What I Do, Streaming, Philosophy
  • 🎥 Twitch Dashboard mit WebSocket-Chat
  • 📊 Recent Followers Integration
  • 🎮 Interaktive Commands Page
  • 🔧 API-URLs auf /twitch/ aktualisiert
  • 📱 Responsive Design für alle Geräte

About

Webpage für CommanderPhu

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors