HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
marionettejs
marionette
JavaScript2012–2016
marionettejs / marionette

marionette

A JavaScript library for structured interfaces, with explicit ownership and lifecycle. Built for agent-led development. Canonical Marionette repository; v4 history is preserved on the v4 branch.

16Distinct people
17Mentions
0Explicit recommenders
7KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

A JavaScript library for structured interfaces, with explicit ownership and lifecycle. Built for agent-led development. Canonical Marionette repository; v4 history is preserved on the v4 branch.

GitHub

Where it is used

No documented product use was verified in the last source check.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 5:04:57 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year17 dated mentions

Observed mentions: 2012-09-04 17:16:58 UTC to 2016-08-26 14:50:28 UTC.

02462012-01-01 00:00:00 UTC to 2013-01-01 00:00:00 UTC (exclusive): 4 mentions; 0 submissions, 4 comments20122013-01-01 00:00:00 UTC to 2014-01-01 00:00:00 UTC (exclusive): 6 mentions; 1 submissions, 5 comments2014-01-01 00:00:00 UTC to 2015-01-01 00:00:00 UTC (exclusive): 5 mentions; 2 submissions, 3 comments20142015-01-01 00:00:00 UTC to 2016-01-01 00:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 comments2016-01-01 00:00:00 UTC to 2017-01-01 00:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 comments2016

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20122012-01-01 00:00:00 UTC2013-01-01 00:00:00 UTC404
20132013-01-01 00:00:00 UTC2014-01-01 00:00:00 UTC615
20142014-01-01 00:00:00 UTC2015-01-01 00:00:00 UTC523
20152015-01-01 00:00:00 UTC2016-01-01 00:00:00 UTC110
20162016-01-01 00:00:00 UTC2017-01-01 00:00:00 UTC110

From the project README

An excerpt from the repository, fetched Nov 13, 2026.

Read the project’s introduction
Marionette.js Built for agent-led development. Marionette v5 is a JavaScript library built for agent-led development. It gives coding agents a consistent structure for building interfaces, version-matched contracts to work from, and tools to check the code they produce. The v5 npm package is marionette; backbone.marionette is the legacy package. Check the installed package name and version before choosing documentation. V5 core has native DOM support and requires neither Backbone nor jQuery. Backbone Models and Collections integrate through optional adapters, so an existing Backbone application can keep its Models and persistence. For v4 upgrades, use the migration guide. Why Marionette for agent-led development? Clear places for behavior. Views render content and handle local interactions. Regions own View replacement and destruction. Applications coordinate feature readiness and lifetime. These boundaries give an agent a repeatable way to compose features and make changes without inventing their ownership from scratch. The relevant contract in context. Documentation and an agent skill ship with the package. API and diagnostic lookup lead to specific contracts; documentation MCP access connects those references to supported agent clients. Feedback on generated code. TypeScript declarations, an ESLint rule against private framework access, and stable diagnostic codes help agents catch mistakes. Runnable examples and public behavior checks show how to verify interaction, cancellation, replacement, and cleanup. Start with the agent entrypoint. Consumer tooling covers skill/plugin installation, documentation MCP access, lint, types, and installed documentation lookup. Try v5 Packaged applications are verified on Node 22.22.2+ (22.x) and 24.15.0+ (24.x); use the latest patch of either LTS line. Newer Node versions may install; Node 26 is checked separately as advisory. For framework development or Git installs, select the pinned source toolchain. Install matching package versions in your browser application: npm install --save-exact marionette@5.0.0 @mnjs/utils@5.0.0 @mnjs/radio@5.0.0 @mnjs/adapters@5.0.0 lit-html@3.3.3 Given <div id="app"></div> in your page, this module shows a dismissible panel: import { Region, View, setDomApi } from 'marionette'; import LitDomApi from '@mnjs/adapters/dom/lit-html'; import { html } from 'lit-html'; setDomApi(LitDomApi); const Notice = View.extend({ template: () => html` <p>Your report is ready.</p> <button type="button">Dismiss</button>`, triggers: { 'click button': 'dismiss' } }); const region = new Region({ el: '#app' }); const notice = new Notice(); region.listenTo(notice, 'dismiss', () => region.empty()); region.show(notice); The View turns a click into intent. The Region renders and mounts the View; empty() destroys it and releases its event connections. Showing another View in that Region also destroys the previous one. No separate DOM removal or event unbinding is needed. The quick start supplies the complete HTML and Vite setup. Continue with the Records lesson to combine a list, detail panel, and asynchronous feature lifecycle. Upgrading an existing application? Use the v4-to-v5 migration guide. Documentation Start with the v5 documentation index, quick start, or API index. The reference is organized by class and shared contracts; runnable lessons demonstrate selected workflows. The testing guide supplies a runnable recipe for checking interaction, replacement, readiness, and teardown. Development Found an awkward API, a missing example, or a bug that survives a convincing test suite? Bring a small reproduction. Contributions should start from a focused public issue that describes the intended behavior and its runtime cost. See CONTRIBUTING.md License Marionette is available under the MIT license.
Read the full README on GitHub

What Hacker News says

17 sources
Marionette is terrible. The code is a mess: prototypes defined within instances [0]. Uninformed use of design patterns: controllers are what, just namespaces? [1] Unmodular internals, almost like globals [2]. It's not worth a comparison. [0] https://github.com/marionettejs/backbone.marionette/blob/mas... [1] https://github.com/marionettejs/backbone.marionette/blob/mas... [2] https://github.com/marionettejs/backbone.marionette/blob/mas...
In Coding the Angular Tutorial App in Backbone
You've seen my pull requests then? When I write code for work or anyone but me I make sure it's well done. Just because I don't like it doesn't mean I don't do it. E.g.: https://github.com/marionettejs/backbone.marionette/pull/346 for my most recent. So quit with the negative bullshit attitude and realize that you haven't a clue about what you're saying. Also note it isn't superior nothing. I'm just genuinely baffled that people are so hesitant about looking at code for a solution. No mater how good the dox I don't understand til I've read the code. Also note how in my linked example residing the docs was way less useful than just looking at the code. Not because the marionette ppl are the evil dancer you whine about but because they are ppl and sometimes things slip
In Is this a good commit message?

Showing the 15 most recent of 17 sources. Enable JavaScript to search and browse every indexed mention.

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.