{"id":19179495,"url":"https://github.com/hypermedia-app/shaperone-examples","last_synced_at":"2026-06-24T09:33:26.924Z","repository":{"id":44552740,"uuid":"429152165","full_name":"hypermedia-app/shaperone-examples","owner":"hypermedia-app","description":"Created with WebComponents.dev","archived":false,"fork":false,"pushed_at":"2022-08-01T10:47:06.000Z","size":55,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"baseline","last_synced_at":"2025-01-04T03:12:27.610Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://webcomponents.dev/view/O8SwE2klRV1wMB87Rkh2","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hypermedia-app.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-11-17T18:09:33.000Z","updated_at":"2021-12-15T20:17:35.000Z","dependencies_parsed_at":"2022-09-13T07:31:15.711Z","dependency_job_id":null,"html_url":"https://github.com/hypermedia-app/shaperone-examples","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hypermedia-app%2Fshaperone-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hypermedia-app%2Fshaperone-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hypermedia-app%2Fshaperone-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hypermedia-app%2Fshaperone-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hypermedia-app","download_url":"https://codeload.github.com/hypermedia-app/shaperone-examples/tar.gz/refs/heads/baseline","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240258116,"owners_count":19772969,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T10:43:20.993Z","updated_at":"2026-06-21T04:30:14.828Z","avatar_url":"https://github.com/hypermedia-app.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Examples of shaperone-form\n\nTry also the playground at [forms.hypermedia.app](https://forms.hypermedia.app/playground)\n\nThis repo hosts examples of Shaperone. You can use it directly on the documentation pages of shaperone or on webcomponents.dev to experiment with different features.\n\nThere are multiple focused branches. The `master` branch is the baseline of plain. Each \"feature branch\" presents a specific use case for shaperone.\n\n## Load shapes\n\nShapes are loaded directly from the web. This repository contains some samples in the `src/shapes` dir. They can be loaded in two ways\n\n```javascript\nimport fetchShapes from './fetchShapes'\n\n// 1. load from samples\n//    for example \u003c\u003e from `src/shapes/person.ttl`\nconst graph = await fetchShapes('person')\nconst person = graph.namedNode('')\n\n// 2. load from the web\n//    defaults to node equal dereferenced URI \nconst projectShape = await fetchShapes('http://example.com/project-shape')\n\n// but a different node can be selected\nconst baseShape = projectShape.node('http://example.com/project-shape#base-shape')\n```\n\n## Configuration\n\nAny per-branch configuration will happen in `src/config.js`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhypermedia-app%2Fshaperone-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhypermedia-app%2Fshaperone-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhypermedia-app%2Fshaperone-examples/lists"}