Building a dashboard with PHP and Websockets
summary
Wall-mounted dashboard shows live tweets, Google Calendar events, current Last.fm track, per-developer task tiles and package download counters; initial page is a single HTML page rendered by Laravel, data fetches run as scheduled artisan commands, events are emitted as Laravel events and sent over Pusher WebSockets to Vue components where each tile listens for its own event. Package totals update hourly, state is mirrored to localStorage persistence so refreshes don’t reset the view, and the finished UI runs fullscreen on a Raspberry Pi behind the TV; live Twitter demo and GitHub repo confirm the system actually works.
AI-written summary · about
chapters (10)
- 0:00Introduction and speaker intro
- 1:26Open source contributions and benefits
- 7:09Dashboard overview and tech stack
- 13:16Positioning tiles with CSS Grid
- 17:36Clock tile with Vue.js
- 21:38Packages tile with Laravel commands
- 31:18Twitter tile live demo
- 34:13Real-time Twitter streaming
- 38:43Displaying on Raspberry Pi
- 42:03Summary and open source resources
