What's changed
Introducing automated guest voucher management with kiosk display and real-time cross-client updates!
Perfect for: Hotels, cafes, offices, co-working spaces, or anywhere you need automated guest WiFi access with minimal management overhead.
Features
Kiosk Mode
- Dedicated Kiosk Page (
/kiosk
): Perfect for reception areas and unattended guest access - QR Code Integration: Guests can scan to connect directly to your WiFi network
- Auto-Generated Vouchers: Rolling vouchers are created automatically when needed
- Real-Time Display: Kiosk updates instantly when new vouchers are generated
Rolling Voucher System
- Dedicated Welcome Page (
/welcome
): When a guest uses a voucher on the captive portal and is redirected to/welcome
, a new one is automatically created for the next user - Smart Deduplication: IP-based voucher naming prevents abuse from page reloads
- Daily Cleanup: Expired rolling vouchers are automatically purged at midnight (timezone-aware)
- UniFi Integration: Works seamlessly with UniFi Controller hotspot redirects
Real-Time Updates Across All Clients
- Server-Sent Events (SSE): All open browser tabs and windows update automatically
- Cross-User Synchronization: Multiple users see changes instantly
- Reliable Connection Management: Automatic reconnection handling for stable updates
Security in Mind
- Network Isolation: Users on the guest subnetwork are restricted to the
/welcome
page using robust CIDR subnet filtering
Fixes and Refactors
Backend Enhancements
- Implemented server actions for broadcasting voucher updates
- Enhanced API error handling and URL encoding
- Backend cleanup and refactoring for better maintainability
Frontend Polish
- Modular WiFi QR code component for reusability
- Improved welcome page design and functionality
- Better responsive design for small screens
- Enhanced voucher cards and status displays
- Proper semantic HTML structure (
<main>
tags)
Bug Fixes & Stability
- Fixed SSE reconnection issues during page reloads
- Resolved
crypto.randomUUID()
compatibility for some devices - Fixed modal button sizing and positioning
- Better UI for unavailable QR codes
Setup Requirements
To use the new rolling voucher system, read Rolling Vouchers and Kiosk Page from the README.
Full Changelog: 1.3.1...1.4.0