Giter Site home page Giter Site logo

joschaschmiedt / files_metadataeditor Goto Github PK

View Code? Open in Web Editor NEW

This project forked from leibniz-zmt/files_metadataeditor

0.0 1.0 0.0 9.9 MB

A Nextcloud app for annotating research data with metadata

License: GNU Affero General Public License v3.0

JavaScript 46.15% PHP 47.32% CSS 5.38% HTML 1.15%

files_metadataeditor's Introduction

Metadata Editor for Research Data πŸ”¬

A Nextcloud app to annotate a research data folder with metadata

Features

  • add metadata as a JSON file ( metadata.json) for a folder with scientific data from within the Nextcloud file browser
  • enter and edit metadata through web-forms
  • the metadata schema is specified as a JSON Schema, which can be used for validating the input data or creating a data model, e.g. in a database
  • currently the schema is based on the metadata schema of the data publisher PANGAEA with input fields for
    • πŸ‘¨β€πŸ”¬πŸ‘©β€πŸ”¬ authors
    • πŸ§ͺπŸ”Ž sampling/measurement events
    • πŸš’πŸ›© campaigns
    • 🩸🧬 method information

To install the app, copy the folder into the apps subfolder of the Nextcloud folder and activate the app in the admin interface.

Development

The app is inspired by the Nextcloud plain text editor and registers fileActions in the files app. The Javascript part of the app is based on the React components provided by JSONForms, which render the input forms based on the JSON Schema.

Documentation on how to develop Nextcloud apps can be found in the Nextcloud developer documentation

Developing React input forms

Before working on the Javascript part of the app, npm packages have to be installed with

  npm install

The component for entering the data can be developed without a running Nextcloud server using

  npm start

and opening the development server at https://localhost:8080. To build a deployable Javascript bundle in js/ use

  npm run dev

for a non-minified development version or

    npm run build

for a minified production build.

files_metadataeditor's People

Contributors

joschaschmiedt avatar

Watchers

James Cloos 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.