Skip to content

Indexed libraries

What LayroIndexer reads, how to claim a library and how to be removed.

Layro hosts open-source component libraries with their code, a preview and an install command, credited to their authors. LayroIndexer is the bot that keeps those copies up to date.

What the bot reads

It identifies itself as LayroIndexer (+https://layro.dev/docs/indexing). It reads the public shadcn directory, a library's registry.json and item files, and its source repo on GitHub: its licence file, and demo files at a pinned commit when the registry ships none. It respects Retry-After, uses ETags, and checks once a day at most. It never sends anything to you: no emails, issues or pull requests.

What gets listed

  • Only libraries a person has approved. Being found doesn't list anything.
  • Only MIT, Apache-2.0, ISC and BSD-3-Clause, read from the repo's licence file. A few libraries with those licences plus a Commons Clause are accepted by hand; their components say so, like "MIT + Commons Clause". GPL, AGPL and custom licences are never indexed.
  • Every version goes through the same safety checks and review as anything else on Layro. See How review works.
  • Each component credits its author and library and links to the original.

If it's yours

If you sign in to Layro with the GitHub account that owns the source repo, the profile made for it becomes yours automatically. For a library under an organisation, open its page on Layro and press "Is this yours?": Layro asks GitHub whether you're an admin of the source repo, and if so the library is yours to manage. Nothing is emailed to you unless you have an account, and then only under your own settings.

Being removed

Once you've claimed a library, you can remove it from its page: its components, recordings and files go, and it isn't indexed again. Or write to hello@layro.dev from anywhere with the library's name; you don't need an account, and we'll honour it quickly.