Skip to content

Conversation

@Taoshan98
Copy link
Contributor

Overview

Short summary of what this PR does

  • Added: PWA Feture.

Changes Made

  • Add web app manifest with icons and theme configuration
  • Add service worker with cache-first strategy for static assets
  • Add useServiceWorker hook for SW registration
  • Add PWA meta tags and Apple-specific tags to index.html
  • Update vite.config.ts for optimal asset caching

I decided not to use any npm packages such as vite-plugin-pwa or others because, with the recent attacks on packages, I thought it would be better to have control, also because it is a feature that needs few additions and can always be improved.

Tips

This actually works only if web app is served under https with valid certificate like let's encrypt ones.

Screenshots / Demos

Without PWA

no-pwa.mp4

With PWA

with-pwa.mp4

Checklist

  • Code follows project style guidelines
  • Supports mobile and desktop UI/app (if applicable)
  • I have read Contributing.md

- Add web app manifest with icons and theme configuration
- Add service worker with cache-first strategy for static assets
- Add useServiceWorker hook for SW registration
- Add PWA meta tags and Apple-specific tags to index.html
- Update vite.config.ts for optimal asset caching
@Taoshan98 Taoshan98 changed the title Pwa Feature: PWA Jan 2, 2026
@ZacharyZcR ZacharyZcR added the enhancement New feature or request label Jan 3, 2026
@ZacharyZcR ZacharyZcR requested a review from LukeGus January 3, 2026 01:46
@ZacharyZcR
Copy link
Collaborator

Oh, we are so grateful to you. We will audit this PR request as soon as possible.

@LukeGus
Copy link
Member

LukeGus commented Jan 12, 2026

LGTM. I dont know much about PWA's so thanks for doing it for me!

@LukeGus LukeGus merged commit 816172d into Termix-SSH:dev-1.10.1 Jan 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants