GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — app-blocks/README.md at main · registrystack/app-blocks

Expand file tree

/

README.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
57 lines (41 loc) · 2.14 KB
/

README.md

Copy path

File metadata and controls

57 lines (41 loc) · 2.14 KB
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions

Registry Stack App Blocks

Two published parts of the Registry Stack App Kit:

  • @registrystack/app-runtime (packages/app-runtime), on npm: the typed browser client and React hooks that the kit's apps and blocks use to talk to their app host.
  • A shadcn registry of blocks (blocks/), served at https://ui.registrystack.org: record, request, casework and shell components that an app copies in and then owns. The site's front page introduces them, /blocks/ lists every item with its install line, and /gallery/ (gallery/, prebuilt static files) shows the blocks' screen states for a fictional nursing licence register with synthetic data.

Adding blocks

Add the registry to your app's components.json:

{
  "registries": {
    "@registrystack": "https://ui.registrystack.org/r/latest/{name}.json"
  }
}

Then add an item with the shadcn CLI:

npx shadcn@latest add @registrystack/record-form

add copies the item and the items it depends on into your app, and installs their npm dependencies, @registrystack/app-runtime among them. --dry-run shows what it would write, and --diff how the registry's version differs from your copy; neither writes anything.

r/latest/ follows the newest release. r/<minor>/ (for example r/0.37/) serves the same files, named for the Registry Stack minor they go with; only the newest release's minor is served.

The runtime

npm install @registrystack/app-runtime@next

Until the first stable version, npm's latest tag points at an inert 0.0.0 placeholder, so name a version or the next tag.

How this repository changes

The code is written and tested in a private development repository. This repository receives one commit per release from it, which replaces the whole tree and is tagged v<version>. The tag's workflow publishes the runtime to npm with a provenance statement and deploys the registry. A change made here directly is replaced by the next release.

License

Apache License, Version 2.0 (LICENSE). The shadcn/ui components under blocks/ui/ keep their MIT license; see NOTICE.md.

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.