CLI tool
widget-js/widgets avatar
widget-js/widgets

Widget Hub generates desktop widgets by prompting an MCP server the desktop client already runs

Desktop widgets for windows. built with react

738 stars43 forksTypeScriptLicense varies

At a glance

What is it?
This repository is not the widget runtime. It is the React hub that lists and previews widgets, and the runtime arrives as three separate first-party packages at three different versions. The build path is unusual: you install a skill for an AI coding tool, point that tool at a local MCP server on port 3606, and describe the widget you want in a sentence.
Who is it for?
Use it if you want to see what desktop widgets look like on a platform before you commit to building one, and if you are willing to let a model write the widget against three first-party packages whose versions do not line up. The hub, the preview site and the skill installation are the parts that are finished and easy to evaluate.
Can I use it commercially?
The repository metadata does not identify a licence. Check the project’s published terms and any component-specific licences before reuse.
Is it still maintained?
Yes. The repository last received commits 16 days ago.
What is it written in?
Mainly TypeScript, according to GitHub's language statistics.

Answers come from the project's GitHub data, last synced on November 24, 2026, and from our analysis. They are not legal advice.

From daily snapshots

Star history

  • widget-js/widgets738 ★ · +4
Star history
Repository2026-09-142026-11-24
widget-js/widgets734738

4 Stars in the last 71 days, measured from the daily GitHub snapshot. Compare with other projects

Editorial analysis

The repository is the hub, and the widget runtime arrives as three dependencies

The name is misleading if you read it as the widget project. The package manifest calls this package `@widget-js/react-app`, marks it private, and gives it a version of 0.0.0, which is the shape of an application that is never published to a registry rather than a library anyone installs. The published artefacts attached to this repository carry version numbers in the twenties, so the release stream and this manifest are two different things.

The widget runtime itself is consumed, not built. Three scoped packages carry the first-party weight, and they are declared as ordinary dependencies with caret ranges:

code
    "@widget-js/core": "^26.9.25",
    "@widget-js/react": "^26.7.21",
    "@widget-js/web-api": "^24.1.1-beta.70",

That means what you clone is a React application that uses the widget runtime, the same as any other consumer would. The top-level tree matches that reading: a source directory, a Vite config, split TypeScript configs for app and node, an ESLint config, a components manifest, a scripts directory, a public directory and a screenshot directory. There is no widget implementation at the root of the tree. What the repository gives you is the gallery, the preview build and the skill that produces new widgets.

Three first-party packages sit at two major versions and one is still a beta

Look at the three version numbers together. The core package is requested at 26.9.25, the React package at 26.7.21, and the web API package at 24.1.1-beta.70. Two of them are on the 26 line. The third is two majors behind and carries a beta tag with a build number on the end.

A caret range does not repair that. Each package resolves independently within its own range, so a fresh install can land on a 26.x core, a 26.x React binding and a 24.x beta web API without anything complaining. Whether that combination works is not something this repository can tell you, because the compatibility statement for the runtime lives with the runtime packages rather than here.

The practical instruction is narrow: pin all three explicitly when you start a real widget, and check the published versions before you pin rather than copying the ranges out of this manifest. A build that works against a resolved set today is not evidence that the same set resolves the same way next month, and a beta dependency in a data-facing package is where that risk concentrates. If you are evaluating the platform rather than using it, this version spread is the first thing to ask about.

Installation runs through a local MCP server on port 3606

The documented path to generating a widget has four steps and the first one is not a package manager. You need an AI coding tool, Node.js, and the WidgetHub desktop client, which is distributed through this repository's releases rather than installed from the manifest. Then you install a skill:

shell
npx skills@latest add widget-js/skills

That installs from a different repository, a skills one, not from this source tree. The third step is the interesting one, because it is where the desktop client becomes load-bearing. You add an MCP server entry to your coding tool's configuration:

json
{
  "mcpServers": {
    "widgetjs": {
      "transport": "streamableHttp",
      "url": "http://127.0.0.1:3606/mcp"
    }
  }
}

The transport is streamable HTTP and the URL is on the loopback interface at port 3606, which means the endpoint is served by a process on your own machine rather than by a hosted service. The consequence is that the desktop client has to be running before your coding tool can do anything, and a widget request against a stopped client fails as an unreachable tool call rather than as a missing program.

The unit of work is a sentence that names a grid size and a live data source

The example invocation is the most informative line in the documentation, because it shows the contract a generated widget has to satisfy:

code
/widget Generate a stock widget, 4 by 4 in size, where users can select stock codes and the widget displays real-time prices and price changes.

Three things are specified. A size, given as four by four, which means the widget occupies a fixed position on a grid rather than floating freely. An input, in the form of stock codes the user can select. And a data source, real-time prices and price changes, which means the widget is expected to hold a live connection rather than render a static snapshot.

That is a meaningful constraint on what a generated widget is. It is not a component library call and it is not a chart with props you wire up by hand; it is a described artefact with a footprint, an interactive selector and a feed. If your use is a read-only display with no user input, this contract is more than you need, and if your use needs a feed the widget generator has no data source for, the prompt cannot express it. Read the example as the shape of the output rather than as a demo.

Thirty-seven runtime dependencies, three animation libraries and two Supabase clients

The manifest lists thirty-seven runtime dependencies for an application whose job is to list and preview widgets. Most are unremarkable React infrastructure, but the shape of the list says something about where the complexity sits.

Three of them are animation libraries, a marquee component, Framer Motion and GSAP, which is three ways to animate in one bundle. Six are the Tailwind and theming stack, Tailwind itself, its Vite plugin, a class merger, a variant helper, clsx and a separate theme package for light and dark switching. Three are internationalisation, the core library, the React binding and a browser language detector. Two are Supabase clients, one for auth and one for the data layer.

None of that is wrong for a hub with a gallery, a login and a settings surface. It does mean the widget host is a full application rather than a thin shell, so your install is the size of a small product, and so any conflict you hit while building a widget is more often a host-level dependency issue than a problem in your own code. Worth keeping in mind before you debug inside your widget.

Date-stamped releases against a manifest version of 0.0.0, with no licence file

The release numbering is a calendar. Three recent releases are 26.9.28, 26.9.25 and 26.9.3, each published on the day its number names, with the newest on 2026-09-28. The last commit on record carries the same date. So you can tell how old a build is from its version string without looking anything up, which is helpful, and it also means version numbers here encode a date rather than a compatibility contract.

The application manifest tells a different story. It is private, versioned 0.0.0, and built as an ES module with Vite, where the build step runs a TypeScript project build before Vite. Linting goes through an Antfu ESLint config, and the prepare script installs simple-git-hooks, so commit hooks are set up by installing rather than by a separate command. The counters are 737 stars, 43 forks and 21 open issues.

One thing to settle before you reuse any of it. The tree at the top level has no licence file, and the platform reports the repository licence as unknown. That does not stop you reading the code, but it does mean there is nothing here granting you permission to ship a widget built from it, and you will need that answered by the project before this is more than a reference.

The manifest installs the unified radix package and two scoped ones

One entry in the dependency list deserves a second look: the monolithic `radix-ui` package at 1.4.3 sits alongside `@radix-ui/react-checkbox` and `@radix-ui/react-popover`, which are the older scoped distribution of the same primitives. Both routes are supported upstream, so this is not a mistake, but it is two ways to reach the same component in one install, on version scales that do not line up. Write one part of the interface against one and another against the other and you will have two copies of a primitive library and two sets of context providers, which surfaces as a component quietly ignoring its parent's theme rather than as an error.

The rest of the list is application furniture rather than widget machinery. There is driver.js for a guided product tour, sonner for toasts, cmdk for a command palette, react-dropzone for file input, qrcode.react, react-medium-image-zoom for image lightboxes, axios for HTTP, semver for version comparison, lucide-react and an icon pack for iconography, a colour picker, consola for logging and a browser baseline mapping table. react-use, react-router-dom and next-themes complete the set.

Read together, these entries are how you tell that this is a product surface with a widget gallery on it rather than a widget SDK with a demonstration attached. That distinction matters before you install anything: the gallery is what you can evaluate quickly, and the runtime packages are what you would actually depend on.

Editorial conclusion

Use it if you want to see what desktop widgets look like on a platform before you commit to building one, and if you are willing to let a model write the widget against three first-party packages whose versions do not line up. The hub, the preview site and the skill installation are the parts that are finished and easy to evaluate. Do not treat the repository as the product you are adopting, because what you would be depending on is the core, react and web-api packages, and the version spread between them plus a beta in the web-api line is the first thing to check. Before you build anything on it, verify four things. Confirm which versions of the three first-party packages are actually published, since the ranges in the manifest do not move together and one of them is a beta two majors behind. Confirm the licence, because the repository ships no licence file and the platform reports the licence as unknown, which is a real obstacle to reuse. Confirm that the desktop client you install is the build that exposes the MCP endpoint on port 3606, because the skill is useless without it and the failure looks like a misconfigured tool rather than a missing program. And pin the animation and theming stack deliberately, since three animation libraries and a Tailwind 4 setup with a separate theme package is a lot of surface for a widget host to carry.

Frequently asked questions

What is widget-js/widgets?

It is a React application called Widget Hub that previews desktop widgets for Windows. The package manifest names it @widget-js/react-app and marks it private at version 0.0.0, so it is an application rather than a published library, and the widget runtime itself comes in as the @widget-js/core, @widget-js/react and @widget-js/web-api dependencies.

How do you generate a widget with widget-js/widgets?

Install an AI coding tool, Node.js and the WidgetHub desktop client from the releases, then install the skill with `npx skills@latest add widget-js/skills`. Add the widgetjs MCP server to your coding tool pointing at the loopback address on port 3606, and invoke the skill with a prompt describing the widget.

Which versions of the widget-js packages does the hub depend on?

Three first-party packages with caret ranges that do not line up: @widget-js/core at 26.9.25, @widget-js/react at 26.7.21, and @widget-js/web-api at 24.1.1-beta.70. The web-api package is two majors behind the other two and is still a beta.

Does widget-js/widgets need the desktop client running to work?

Yes for generation. The skill talks to an MCP server served over streamable HTTP at 127.0.0.1:3606, which the desktop client hosts, so a widget request fails as an unreachable tool call when that process is not running.

What licence does widget-js/widgets use?

None is stated. There is no licence file among the top-level repository entries, and the platform reports the repository licence as unknown, so the permission to reuse the code has to come from the project rather than from the repository.

Official sources

  1. Issues
  2. Project website
  3. README
  4. Releases
  5. widget-js/widgets on GitHub
Add this badge to your README

If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.

Add this badge to your README

markdown
[![Hysen Labs](https://hysenlabs.com/badge/widget-js-widgets.svg)](https://hysenlabs.com/projects/widget-js-widgets)

Star history chart for your README

markdown
[![Star history](https://hysenlabs.com/chart/widget-js-widgets.svg)](https://hysenlabs.com/projects/widget-js-widgets)

Was this useful?