hotwired/stimulus

A modest JavaScript framework for the HTML you already have

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 8 minutes ago
Added to GitGenius on September 4th, 2026
Created on December 17th, 2016
Open Issues & Pull Requests: 69 (+0)
GitHub issues: Enabled
Number of forks: 442
Total Stargazers: 13,094 (+0)
Total Subscribers: 190 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 4.4 days
Mean response time: 78.7 days
90th percentile: 297.6 days
Tracked items: 57

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 17
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 692 days
Stale 30+ days: 17
Stale 90+ days: 15

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • bug (1)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

Stimulus is a modest JavaScript framework that augments existing HTML with behavior through controller, target, and action attributes.

Stimulus solves the problem of adding interactivity to server-rendered HTML without requiring a complete front-end rewrite or adopting a full-featured framework. Rather than managing rendering, it watches the DOM and automatically connects JavaScript controllers to HTML elements marked with special attributes. This approach works seamlessly with any DOM updates, whether from full page loads, partial page replacements, or Ajax requests. Controllers are written as simple classes that respond to user interactions and lifecycle events, with Stimulus handling the wiring automatically.

Stimulus suits projects where HTML is generated server-side and you need targeted interactivity without the overhead of a single-page application framework. It pairs particularly well with server-driven architectures that use partial page updates. The framework requires no build step if you prefer to load it via a script tag, though it integrates with standard asset packaging systems. Developers can write their first controller in minutes by following the handbook.

The project maintains an active issue tracker and welcomes pull requests. Development follows a structured workflow with local installation via yarn, a dev server for running examples, unit tests, linting with ESLint, and code formatting with Prettier.