awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
HubSpot avatar

HubSpot/offlineArchived

0
View on GitHub↗
8,584 stars·824 forks·CSS·MIT·16 viewsgithub.hubspot.com/offline/docs/welcome↗

Offline

Offline is a JavaScript library that provides an offline-first framework for web applications, centered on monitoring network connectivity and managing the application's response to connection state changes. It detects transitions between online and offline states by listening to browser events and emits custom events that allow other parts of the application to react accordingly.

The library distinguishes itself by combining event-driven connectivity detection with automatic request queuing and retry. When a request fails due to lost connectivity, it is captured and queued in memory, then automatically replayed in order once the network connection is restored. It also includes periodic connectivity probing, which sends lightweight HTTP requests to a known endpoint to verify actual network reachability beyond the browser's own event signals.

Offline provides a visual status indicator that automatically updates to reflect the current online or offline state, and its custom event bus enables decoupled components to respond to connection up, down, and reconnection attempts. The library's documentation covers installation and integration for adding these capabilities to web applications.

Features

  • Offline-First Web Apps - Provides tools for handling network interruptions in web applications as an offline-first JavaScript library.
  • Network State Emitters - Fires custom events when the browser transitions between online and offline states.
  • Request Retries - Automatically retries AJAX requests that fail due to lost connectivity upon reconnection.
  • Bulk Retry on Reconnect - Bulk-retries all queued failed requests immediately upon detecting a transition from offline to online.
  • Connection Lifecycle Events - Binds custom event handlers to online, offline, and reconnection lifecycle events.
  • Endpoint Reachability Probes - Checking current connectivity by sending test requests to a resource and evaluating the response.
  • Event Handling - Fires custom events when network state changes for implementing custom offline/online behaviors.
  • Offline Request Queues - Queues AJAX requests made while offline and resends them when the connection is restored.
  • Connectivity Verification Probes - Periodically sends a lightweight HTTP request to a known endpoint to verify actual network reachability beyond browser event signals.
  • Network Connectivity Event Dispatchers - Detects network state changes by listening to browser online and offline events and dispatching custom events for application-level handling.
  • Network Connectivity Monitoring - Detects and reports changes in browser online and offline status to applications.
  • Event Bus Architectures - Emits named events for connection up, down, and reconnection attempts for decoupled components.
  • Connection Status Indicators - Displays a visual indicator that updates automatically to reflect the current online or offline state.
  • Visual Status Indicators - Shows an automatic visual cue that reflects the current network state without manual user intervention.
  • Network Status Indicators - Renders a persistent UI element that reflects the current online or offline status, updating automatically on state transitions.

Star history

Star history chart for hubspot/offlineStar history chart for hubspot/offline

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Projects sharing features with Offline

These projects share indexed features with Offline. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • redux-offline/redux-offlineredux-offline avatar

    redux-offline/redux-offline

    6,132View on GitHub↗

    Build Offline-First Apps for Web and React Native

    JavaScripthacktoberfestoffline-capablereact
    View on GitHub↗6,132
  • moleculerjs/moleculermoleculerjs avatar

    moleculerjs/moleculer

    6,373View on GitHub↗

    Moleculer is a Node.js microservices framework designed for building distributed systems. It functions as a distributed service broker, task orchestrator, and service mesh framework, enabling a decentralized architecture with built-in service discovery and load balancing. The project differentiates itself through a pluggable transport layer supporting protocols such as NATS, Redis, TCP, and Kafka, as well as a dedicated microservices API gateway that maps external HTTP and WebSocket requests to internal service actions. It includes built-in fault tolerance mechanisms, including circuit breake

    JavaScript
    View on GitHub↗6,373
  • pouchdb/pouchdbpouchdb avatar

    pouchdb/pouchdb

    17,583View on GitHub↗

    PouchDB is a JavaScript NoSQL document database that runs directly in the browser. It serves as an offline-first data store that allows applications to save state and user data locally using persistent storage. The database is compatible with CouchDB, implementing its API to enable synchronization between browser environments and remote servers. This allows for cross-device data syncing and the development of local-first software that operates without a constant internet connection. The project covers data storage and synchronization capabilities, including the ability to migrate database sc

    JavaScript
    View on GitHub↗17,583
  • localforage/localforagelocalForage avatar

    localForage/localForage

    25,755View on GitHub↗

    This project is an asynchronous key-value store designed for client-side data persistence. It provides a unified interface that allows applications to save and retrieve complex data types, including binary objects, while maintaining responsiveness through non-blocking operations. By enabling offline-first functionality, it ensures that data remains accessible even when a network connection is unavailable. The library distinguishes itself through a driver-based abstraction layer that automatically detects the most efficient storage mechanism available in the current browser or mobile environme

    JavaScriptindexeddbjavascriptlocalforage
    View on GitHub↗25,755
Compare all 30 related projects→

Frequently asked questions

What does hubspot/offline do?

Offline is a JavaScript library that provides an offline-first framework for web applications, centered on monitoring network connectivity and managing the application's response to connection state changes. It detects transitions between online and offline states by listening to browser events and emits custom events that allow other parts of the application to react accordingly.

What are the main features of hubspot/offline?

The main features of hubspot/offline are: Offline-First Web Apps, Network State Emitters, Request Retries, Bulk Retry on Reconnect, Connection Lifecycle Events, Endpoint Reachability Probes, Event Handling, Offline Request Queues.

Which projects share features with hubspot/offline?

Projects with overlapping indexed features include: redux-offline/redux-offline — Build Offline-First Apps for Web and React Native. moleculerjs/moleculer — Moleculer is a Node.js microservices framework designed for building distributed systems. It functions as a… pouchdb/pouchdb — PouchDB is a JavaScript NoSQL document database that runs directly in the browser. It serves as an offline-first data… localforage/localforage — This project is an asynchronous key-value store designed for client-side data persistence. It provides a unified… hoodiehq/hoodie — Hoodie is a data synchronization framework and offline-first JavaScript backend designed to keep client-side data… livestorejs/livestore — Livestore is a reactive state management framework that utilizes a local SQLite database to store and synchronize…