feat: Docker deployment, component polish, and repo cleanup #4

Merged
nghialele merged 12 commits from feat/cs2-stats-and-link-icons into main 2026-06-14 01:28:43 -07:00
Owner
  • Add Docker stack (Dockerfile, docker-compose.yml, nginx.conf, .dockerignore)
  • Update AGENTS.md with Docker deployment docs
  • Polish CS2Stats, LinkCard, SpotifyNowPlaying, StatCard, ThemeToggle components
  • Update dependencies
  • Add .commandcode/skills/ to .gitignore (global skills)
- Add Docker stack (Dockerfile, docker-compose.yml, nginx.conf, .dockerignore) - Update AGENTS.md with Docker deployment docs - Polish CS2Stats, LinkCard, SpotifyNowPlaying, StatCard, ThemeToggle components - Update dependencies - Add .commandcode/skills/ to .gitignore (global skills)
- Remove Pit Crew stat from settings, types, and stats aggregation
- Create SpotifyNowPlaying.astro component showing current track + recent 5
- Remove old NowPlaying.tsx React island (broken polling on static site)
- Enable Spotify API in settings.json
- Update AGENTS.md to reflect Astro project (not Next.js)

Co-authored-by: CommandCodeBot <noreply@commandcode.ai>
Remove csstats.gg fallback (no public API exists) and rely solely on
Steam's GetUserStatsForGame endpoint. Add headshotPercentage computation
from existing headshots/kills data.

Co-authored-by: CommandCodeBot <noreply@commandcode.ai>
Restructure SpotifyNowPlaying component so recently played tracks
are always visible, with a "Not playing" status shown above them
when nothing is currently playing.

Co-authored-by: CommandCodeBot <noreply@commandcode.ai>
- Rename "Life" section to "Now Playing"
- Make recent Spotify tracks clickable with links to Spotify
- Expand CS2 stats: accuracy, MVPs, rounds, time played, bombs planted/defused
- Replace generic Gaming StatSection with dedicated CS2-only section
- Add service-specific link icons (Discord, Steam, SoundCloud)
- Remove iRacing integration (unused)
- Clean up dead gaming stats code
- Update README to reflect current features

Co-authored-by: CommandCodeBot <noreply@commandcode.ai>
total_wins is round wins, total_matches_won is actual match wins.
This fixes the inflated 899% win rate bug.

Co-authored-by: CommandCodeBot <noreply@commandcode.ai>
Uses Lucide icons already in the project:
- Kills: Skull
- Headshot %: ScanFace
- Win Rate: Trophy
- Matches: Gamepad2
- Wins: Crown
- Rounds: RotateCcw

Co-authored-by: CommandCodeBot <noreply@commandcode.ai>
- Always show time played in hours
- Remove Accuracy, Rounds, MVPs, Bombs Planted, Bombs Defused

Co-authored-by: CommandCodeBot <noreply@commandcode.ai>
Co-authored-by: CommandCodeBot <noreply@commandcode.ai>
Co-authored-by: CommandCodeBot <noreply@commandcode.ai>
- Added funnier descriptions and section headers
- More casual tone throughout
- Updated CS2 stats list to match current display
- Added more personality to philosophy section

Co-authored-by: CommandCodeBot <noreply@commandcode.ai>
- Add Docker stack (Dockerfile, docker-compose.yml, nginx.conf, .dockerignore)
- Update AGENTS.md with Docker deployment docs
- Polish CS2Stats, LinkCard, SpotifyNowPlaying, StatCard, ThemeToggle components
- Update dependencies (package.json, pnpm-lock.yaml, pnpm-workspace.yaml)
- Add .commandcode/skills/ to .gitignore (global skills)

Co-authored-by: CommandCodeBot <noreply@commandcode.ai>
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nghialele/nghia.link!4
No description provided.