RepositoryTypeScriptUSHoa Kỳ
khmyznikov

khmyznikov/pwa-install

Installation dialog for Progressive Web Application. Provides a more convenient user experience and fixes the lack of native dialogs in some browsers.

989sao
121fork
6issue
5lượt xem

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

3
TINIX TRENDING·Chủ đề: lit-element

#3 Repository của tuần

4
TINIX TRENDING·Chủ đề: component

#4 Repository của tuần

4
TINIX TRENDING·Chủ đề: safari

#4 Repository của tuần

📱 pwa-install — Web Component thay thế dialog cài đặt PWA

Thêm hộp thoại cài đặt PWA chuẩn, mượt, đa nền tảng — ngay cả trên Safari và iOS 26+.

pwa-install là một Web Component dùng TypeScript, hiển thị hộp thoại cài đặt PWA (Add to Home Screen) khi trình duyệt chưa hỗ trợ native dialog — bao gồm Safari, Firefox, Opera. Dự án giúp trải nghiệm người dùng đồng nhất trên mọi thiết bị: iOS, iPadOS, macOS 14–26, Android, Chrome.

✨ Điểm nổi bật

  • Web Component chuẩn: Dùng được với bất kỳ framework nào hiện đại (React, Next.js, Angular, Svelte), không cần polyfill.
  • iOS 26+ native look & feel: Giao diện cài đặt trên iPhone, iPad, Mac được tối ưu cho hệ điều hành mới nhất.
  • Kích thước nhỏ gọn: Chỉ 28kB sau nén brotli.
  • Hỗ trợ đa nền tảng: Android, Chrome, Firefox, Opera, cũng như Safari trên macOS và iOS.
  • Tùy biến giao diện: Hỗ trợ thay đổi màu sắc qua CSS custom properties (tối ưu cho Apple template).
  • Tham số cấu hóa linh hoạt: Hỗ trợ các thuộc tính như manual-apple, disable-chrome, use-local-storage, manifest-url, name, description, icon.
  • Hỗ trợ đa ngôn ngữ: Dễ dàng dịch và đa hoá nội dung.
  • Sự kiện tùy biến: Hỗ trợ các sự kiện như pwainstall, pwauninstall, pwadiologout để xử lý logic sau khi người dùng tương tác.

💡 Vì sao đáng chú ý

Không phải trình duyệt nào cũng hỗ trợ native dialog cài đặt PWA — đặc biệt là Safari và các trình duyệt dựa trên WebKit. pwa-install giải quyết khoảng trống này bằng một component nhẹ, không phụ thuộc framework, hoạt động độc lập và dễ tích hợp. Với hỗ trợ iOS 26+, dự án mang lại trải nghiệm gần như nguyên bản trên nền tảng Apple, giúp tăng tỷ lệ cài đặt PWA.


#PWAIinstall #WebComponents #OpenSource #TiniX

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

RepositorySCSS
material-components/material-web

Material Design Web Components

11.5k
Dec 1, 2026
RepositoryC++
react/react-native

A framework for building native applications using React

127.0k
Nov 27, 2026
RepositoryTypeScript
expo/expo

An open-source framework for making universal native apps with React. Expo runs on Android, iOS, and the web.

53.9k
Dec 2, 2026
Repository
enaqx/awesome-react

A collection of awesome things regarding React ecosystem

75.4k
Sep 4, 2026
RepositoryTypeScript
angular/angular

Deliver web apps with confidence 🚀

101.7k
Dec 1, 2026
RepositoryTypeScript
ant-design/ant-design

An enterprise-class UI design language and React UI library

100.5k
Dec 2, 2026
RepositoryTypeScript
twentyhq/twenty

The open alternative to Salesforce, designed for AI.

61.7k
Nov 30, 2026
RepositoryTypeScript
FlowiseAI/Flowise

Build AI Agents, Visually

55.6k
Aug 13, 2026
RepositoryTypeScript
ionic-team/ionic-framework

A powerful cross-platform UI toolkit for building native-quality iOS, Android, and Progressive Web Apps with HTML, CSS, and JavaScript.

52.8k
Nov 26, 2026