Self Hosted
How to self host a jsrepo registry.
jsrepo enables self hosting your registry on the web. This can allow for more customization of exactly how things are served. As well as enabling you to do things like distributing your registry on a private network.
You can start hosting your own registry by building the jsrepo-manifest.json at the root of where your blocks are hosted.
For example in a SvelteKit app:
Here we put the blocks directly in the static directory so that you simply access them with:
You can also customize where blocks are served. You just need to tell jsrepo where the jsrepo-manifest.json is.
Now users can access blocks from either https://example.com/default or https://example.com/new-york:
You can still add fully qualified blocks but as always the path must be complete: