A web-based tool for generating metadata files based on the FOT-Net Data Sharing Framework (DSF) for the MODI project. This tool helps users create standardized metadata descriptions for their datasets, ensuring consistency and completeness of dataset documentation.
The MODI Metadata Generator is a form-based web application that guides users through the process of creating metadata files in YAML format. The metadata structure follows the FOT-Net Data Sharing Framework, covering various aspects of dataset documentation including administrative, structural, and descriptive metadata.
- Interactive web form with multiple sections
- Real-time form validation
- Auto-saving functionality using localStorage
- Progress tracking
- Support for downloading metadata as YAML files
- Direct upload capability to GitHub repository
- Responsive design
- Frontend:
- HTML5
- CSS3
- JavaScript
- Backend:
- Docker-based JavaScript server
- GitHub OAuth integration for repository uploads
index.html- Main entry point and form interfaceform.js- Form handling and dynamic content managementgenerate.js- YAML generation functionalityupdownload.js- File upload and download handlingmain.css- Custom styling- Assets directory containing images including:
Micon.png- FaviconMODIicon.png- MODI project logo
Modi Data Upload.zip- The Docker based JavaScript Server.
The backend server is required for GitHub integration and file uploads. Please contact the server administrator for access and configuration details.
Server Administrator: Das, Anwesha
- Access the web interface through your browser
- Fill out the required metadata fields across all sections:
- Summary information
- Administrative metadata
- Process information
- Structural metadata
- Descriptive metadata
- Choose to either:
- Download the generated YAML file locally
- Upload directly to the MODI Metadata platform
- Form data is automatically saved in the browser's localStorage
- Recovery of form data on page reload
- Clear all stored data option available
- Required field checking
- Format validation
- Error highlighting
- Helpful error messages
- Visual progress bar
- Section completion indicators
- Easy navigation between sections
This repository represents the upload section of the architecture diplayed below. As displayed, the upload site is a static site which enables contributors to easily upload metadata files using an easy to use form. The upload site sends the metadata file to the authentication server, which in turn sends the file to the modi-metadata repository where it is stored.
