HubSpot/offline
Automatically display online/offline indication to your users observed · 2026-08-28
Health v2 · maintenance only
10/100
- Activity 0
- Release rhythm 8
- Longevity 100
Flags: archived
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4699
- days_rel: n/a
- days_push: 1285
- n_releases_24m: 0
Adoption not part of the score
8573 stars · 820 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Offline.js is a small browser JavaScript library that automatically detects when users lose internet connectivity and shows a themed online/offline indicator, similar to Gmail's. It monitors AJAX requests, confirms connection status via test requests, and replays failed requests once the connection is restored.
Use cases
- show users an offline banner when they lose internet connection
- automatically retry ajax requests that failed while offline
- detect network connectivity changes in a web app
- alert users when their connection is restored
- queue requests made while offline and replay them later
When to choose
- you want a lightweight (~3kb) drop-in offline indicator with themes
- your app relies on AJAX and should gracefully handle dropped connections
- you need automatic request replay after reconnection
When to avoid
- you need an actively maintained project - it is explicitly unmaintained
- you need offline data caching or service-worker-based PWA offline support
- your app uses fetch or websockets rather than XHR-based AJAX
Facets
library · maturity maintenance
http-client ui-components middleware web-development frontend networking browser offline-detection connectivity ajax-retry network-status ux javascript
3 sources
- readme: https://github.com/HubSpot/offline · fetched 2026-08-28 · 38add7f672dd
- homepage: http://github.hubspot.com/offline/docs/welcome · fetched 2026-08-29 · 0dc13b3f53bc
- site_page: http://github.hubspot.com/offline · fetched 2026-08-29 · 8f9950a6aa9c
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| HubSpot/offline | main | 10 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem