Coder Social home page Coder Social logo

odnodn / fair-metadata-wizard Goto Github PK

View Code? Open in Web Editor NEW

This project forked from maastrichtu-ids/fair-metadata-wizard

0.0 1.0 0.0 7 MB

๐Ÿง™โ€โ™‚๏ธ๐Ÿ“ JSON-LD web editor, with autocomplete based on the loaded ontologies concepts and properties

Home Page: https://maastrichtu-ids.github.io/fair-metadata-wizard

License: MIT License

CSS 0.50% TypeScript 99.02% Dockerfile 0.36% JavaScript 0.11%

fair-metadata-wizard's Introduction

Deploy to GitHub Pages CodeQL analysis

๐Ÿง™โ€โ™‚๏ธ๐Ÿ“ FAIR Metadata Wizard, a 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 of the ontology magically loaded from @context โœจ๏ธ

Built with TypeScript, React, and Material-UI.

Deployed as a static website on GitHub Pages.

Access ๐Ÿ‘ฉโ€๐Ÿ’ป

Access the website at https://maastrichtu-ids.github.io/fair-metadata-wizard ๐Ÿ”—

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

Combined: https://maastrichtu-ids.github.io/fair-metadata-wizard?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/MaastrichtU-IDS/fair-metadata-wizard 
cd fair-metadata-wizard

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://maastrichtu-ids.github.io/fair-metadata-wizard

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:

fair-metadata-wizard's People

Contributors

dependabot[bot] avatar thendriks avatar vemonet avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.