Skip to content

vemonet/json-ld-editor-react

Repository files navigation

Deploy to GitHub Pages CodeQL analysis

πŸ§™β€β™‚οΈπŸ“ JSON-LD editor

Load and edit JSON-LD RDF metadata files in a user-friendly web interface, with autocomplete based on the classes and properties from the ontologies loaded

Built with TypeScript, React, and Material-UI.

Deployed as a static website on GitHub Pages.

Access πŸ‘©β€πŸ’»

Access the website at https://vemonet.github.io/json-ld-editor-react πŸ”—

A few URL parameters can be provided to automate some actions:

Combined: https://vemonet.github.io/json-ld-editor-react?edit=https://raw.githubusercontent.com/w3c/csvw/gh-pages/tests%2Ftest086-metadata.json&toysrus=closed

Metadata examples πŸ“

Here are a few examples of metadata templates to load from JSON-LD files URL:

Tested ontologies βœ”οΈ

The following ontologies has been tested to be properly loaded when provided in @context

Ontologies are converted from RDF formats to JSON-LD using rdflib-js

Please report if an ontology does not load properly by creating an issue on GitHub.

Known issues ⚠️

  • It is not possible to resolve HTTP URLs from HTTPS (triggers a mixed active content blocked error). Deploying to github.io/maastrichtu-ids forces redirect to HTTPS
    • I currently rewrite ontologies URL using http:// to https:// before downloading them to work around this issue
    • It can be solved by redirecting GitHub Pages a custom URL, such as http://wizard.semanticscience.org, and accessing via HTTP

Run in development πŸ—οΈ

Requirements: npm and yarn installed.

Clone the repository, and get in the folder:

git clone https://github.com/vemonet/json-ld-editor-react 
cd json-ld-editor-react

Install dependencies πŸ“₯

yarn

Web app will run on http://localhost:19006 πŸƒ

yarn dev

The website should reload automatically at each changes to the code πŸ”ƒ

Upgrade the packages versions in yarn.lock ⏫️

yarn upgrade

Run in production πŸ›©οΈ

This website is automatically deployed by a GitHub Actions worklow to GitHub Pages at https://vemonet.github.io/json-ld-editor-react

You can build locally in the /web-build folder, and serve on http://localhost:5000

yarn build
yarn serve

Or run directly using Docker 🐳 (requires docker installed)

docker-compose up

Checkout the docker-compose.yml file to see how we run the Docker image ⛡️

Contribute 🀝

Contributions are welcome! See the guidelines to contribute.

See also πŸ‘€

Resources to help improving the wizard design:

About

πŸ§™β€β™‚οΈπŸ“ JSON-LD web editor, with autocomplete based on the loaded ontologies concepts and properties

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy