Ross ROSS = Recommend OSS · open-source software intelligence for agents

SupremeTechnopriest/react-idle-timer

User activity timer component observed · 2026-08-28

github.com/SupremeTechnopriest/react-idle-timer · homepage · TypeScript · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

56/100

  • Activity 73
  • Release rhythm 8
  • Longevity 100
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: 4086
  • days_rel: n/a
  • days_push: 166
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

1205 stars · 144 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

React Idle Timer is a React hook and component for detecting user activity and idle states in web applications. It provides configurable idle timeouts, debounced or throttled activity callbacks, a built-in 'are you still there' confirm prompt, cross-tab synchronization via BroadcastChannel, and WebWorker-offloaded timers to avoid background tab throttling.

Use cases

  • log out inactive users in a react app
  • detect when a user goes idle and becomes active again
  • show an 'are you still there' prompt with a countdown before session timeout
  • sync idle state across multiple browser tabs
  • track and react to user activity events like mouse and keyboard input
  • keep timers accurate when the tab is in the background

When to choose

  • you are building a React app and need reliable idle/active presence detection
  • you need cross-tab or multi-window synchronization with leader election
  • you want a built-in confirm prompt flow before firing the idle event
  • you need a battle-tested solution with high download volume, full test coverage, and TypeScript support

When to avoid

  • your project is not React-based (e.g., Vue, Angular, vanilla JS) since the API is React-specific
  • you only need a simple one-tab timeout that a plain setTimeout with event listeners can cover
  • you need idle detection on a server or in non-browser environments

Facets

library · maturity stable

ui-components state-management frontend web-development browser react react-hook idle-detection activity-detection timer cross-tab web-worker user-presence session-timeout typescript confirm-prompt broadcast-channel

7 sources

Member repositories

RepositoryRoleHealth v2
SupremeTechnopriest/react-idle-timermain56

For agents

markdown · JSON · MCP: product_card(name="SupremeTechnopriest/react-idle-timer")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem