Fix #49: Add PWA support to make web-tail installable#97
Merged
Conversation
Implemented Progressive Web App (PWA) functionality for the web interface to enable installation and offline capabilities: Changes: - Added vite-plugin-pwa with Workbox configuration to client - Created web manifest with app metadata (name, description, theme) - Generated PWA icons (192x192, 512x512) and Apple touch icon (180x180) - Added manifest link and PWA meta tags to index.html - Registered service worker in main.ts for automatic updates - Configured precaching for static assets (15 entries) PWA features: - Installable on mobile and desktop devices - Standalone display mode for app-like experience - Offline support via service worker caching - Automatic service worker updates - Apple iOS installation support Build: - Client builds successfully with PWA generation - Server embeds PWA-enabled frontend - All PWA assets included in dist output Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Changes
PWA Infrastructure
vite-plugin-pwawith Workbox for service worker generationpwa-192x192.png- Standard PWA iconpwa-512x512.png- High-res PWA icon with maskable variantapple-icon-180.png- Apple touch icon for iOS devicesCode Changes
PWA Features
✅ Installability: Meets all PWA install criteria
✅ Offline Support: Service worker caches static assets
✅ Standalone Mode: Runs like a native app when installed
✅ Auto-updates: Service worker updates automatically
✅ iOS Support: Apple touch icon for iOS home screen
Build Integration
Test plan
Testing in Browser
To test PWA installation:
cd client && bun run buildgo run ./serverfrom project rootCloses #49
🤖 Generated with Claude Code