awesome-repositories.com
博客
MCP
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
Nickersoft avatar

Nickersoft/push.jsArchived

0
View on GitHub↗
8,665 星标·524 分支·JavaScript·MIT·4 次浏览pushjs.org↗

Push.js

Push.js is a cross-browser JavaScript library for displaying native desktop notifications from web applications. It wraps the divergent browser notification APIs into a single consistent interface, handling permission requests through a promise-based flow and providing graceful fallback when the native Notification API is unavailable.

The library distinguishes itself through its event-driven lifecycle hooks, which expose callbacks for notification events such as show, click, close, and error. It also supports programmatic dismissal by returning a notification handle with a close method, and includes a timeout-based queue that stores notifications during user absence and replays them upon return. Scheduled delivery is handled through an internal timer that delays notification display to a specified future timestamp.

The project covers the full lifecycle of desktop notification management, including display, permission requests, queuing during absence, programmatic closure, and scheduled delivery. It accepts a single configuration object with properties for title, body, icon, timeout, and scheduling, and degrades to in-page or console notifications when the native API is not supported.

Features

  • Cross-Browser Notification Libraries - Provides a cross-browser wrapper for displaying native desktop notifications with permission handling and scheduling support.
  • Cross-Browser Notification Wrappers - Wraps browser notification APIs with fallback support for consistent desktop notification behavior across different browsers.
  • Desktop - Displays and manages native desktop notifications from web applications across different browsers with permission handling and programmatic control.
  • Cross-Browser Desktop Notification Displays - Shows native desktop notifications across different browsers with fallback for unsupported APIs.
  • Web-Based Desktop Notification Dispatchers - Displays native operating-system notifications from a web page using a cross-browser wrapper.
  • Desktop Notification Permission Requests - Manages the promise-based permission request flow for displaying native desktop notifications from web applications.
  • Desktop Notification API Wrappers - Unifies browser notification APIs with fallback support for unsupported environments.
  • Browser API Normalizers - Normalizes divergent browser notification APIs into a single consistent interface.
  • Lifecycle Event Hooks - Exposes callbacks for notification lifecycle events such as show, click, close, and error.
  • Scheduled Notification Triggers - Delays the display of desktop notifications to specific future times for timed alerts and reminders.
  • Desktop Notification Schedulers - Schedules and displays delayed desktop notifications from web applications.
  • Timer-Based Notification Schedulers - Uses setTimeout internally to delay notification display to a specified future timestamp.
  • Notification Queues - Stores notifications in a queue during user absence and replays them after a configurable timeout.
  • Absence - Queues notifications during user absence and replays them upon return for non-disruptive delivery.
  • Programmatic Notification Closers - Returns a notification handle with a close method for programmatic dismissal of desktop notifications.
  • Programmatic Close Handles - Returns a notification handle that allows the caller to dismiss the notification later via a close method.
  • Fallback Notification Strategies - Degrades gracefully to in-page or console notifications when the native Notification API is unavailable.
  • JavaScript Libraries - Desktop notification library using the browser API.

Star 历史

nickersoft/push.js 的 Star 历史图表nickersoft/push.js 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

Push.js 的开源替代方案

相似的开源项目,按与 Push.js 的功能重合度排序。
  • iamhosseindhv/notistackiamhosseindhv 的头像

    iamhosseindhv/notistack

    4,079在 GitHub 上查看↗

    notistack is a React notification toast library used for displaying and managing stacked, customizable snackbars. It provides a programmatic notification manager to trigger, dismiss, and deduplicate on-screen alerts via hooks and programmatic calls. The library features a stacked notification component that renders a queue of temporary alerts with configurable timeouts and visibility limits. It supports customizable snackbar interfaces that include action buttons and custom icons. The system covers notification appearance through anchor positioning and custom styling. It manages notification

    TypeScriptgoogle-materialjavascriptmaterial-design
    在 GitHub 上查看↗4,079
  • catchchat/yepCatchChat 的头像

    CatchChat/Yep

    5,876在 GitHub 上查看↗

    Meet Genius

    Swift
    在 GitHub 上查看↗5,876
  • webrtchacks/adapterwebrtcHacks 的头像

    webrtcHacks/adapter

    3,742在 GitHub 上查看↗

    Adapter is a browser compatibility layer and normalization library for WebRTC. It functions as an API shim that standardizes interfaces and behavior across different web browsers to ensure consistent real-time audio and video communication. The project distinguishes itself by detecting browser engine versions to identify specific quirks and specification differences. It applies targeted patches and wrappers to insulate applications from inconsistent API implementations and browser-specific prefix differences. The library covers a broad range of normalization capabilities, including interface

    JavaScript
    在 GitHub 上查看↗3,742
  • browserstate/history.jsbrowserstate 的头像

    browserstate/history.js

    10,659在 GitHub 上查看↗

    history.js is a cross-browser URL state manager and HTML5 History API polyfill. It functions as a single page application router that manages browser URL and history state consistently across HTML5 and HTML4 browsers, enabling navigation without triggering full page reloads. The project provides a JavaScript framework adapter that integrates history management with the event systems of jQuery, MooTools, and Prototype. It ensures compatibility through a fallback mechanism that switches to hash-based navigation and hashbang URLs when the native HTML5 History API is unavailable. The system cove

    JavaScripthashchangehtml5-historyhtml5-history-api
    在 GitHub 上查看↗10,659
查看 Push.js 的所有 30 个替代方案→

常见问题解答

nickersoft/push.js 是做什么的?

Push.js is a cross-browser JavaScript library for displaying native desktop notifications from web applications. It wraps the divergent browser notification APIs into a single consistent interface, handling permission requests through a promise-based flow and providing graceful fallback when the native Notification API is unavailable.

nickersoft/push.js 的主要功能有哪些?

nickersoft/push.js 的主要功能包括:Cross-Browser Notification Libraries, Cross-Browser Notification Wrappers, Desktop, Cross-Browser Desktop Notification Displays, Web-Based Desktop Notification Dispatchers, Desktop Notification Permission Requests, Desktop Notification API Wrappers, Browser API Normalizers。

nickersoft/push.js 有哪些开源替代品?

nickersoft/push.js 的开源替代品包括: iamhosseindhv/notistack — notistack is a React notification toast library used for displaying and managing stacked, customizable snackbars. It… catchchat/yep — Meet Genius. webrtchacks/adapter — Adapter is a browser compatibility layer and normalization library for WebRTC. It functions as an API shim that… browserstate/history.js — history.js is a cross-browser URL state manager and HTML5 History API polyfill. It functions as a single page… sindresorhus/screenfull — Screenfull is a lightweight JavaScript utility that wraps the browser's Fullscreen API into a single, consistent… facebook/componentkit — ComponentKit is a declarative UI framework for building iOS interfaces through composition of small, reusable…