Skip to content

Matdata-eu/yasgui-matdata

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Yasgui Matdata

A simple, clean website to host YASGUI (Yet Another SPARQL GUI) without Node.js or Docker dependencies. This is a pure HTML/CSS/JavaScript implementation that can be deployed easily to any static hosting service.

🌐 Live Demo: https://yasgui.matdata.eu

Features

  • Clean and minimal YASGUI interface
  • No build process required - just HTML, CSS, and JavaScript
  • Easy deployment to GitHub Pages or any static hosting
  • Pre-configured with popular SPARQL endpoints
  • Extended with graph visualization and geo plugins

Built With

Default SPARQL Endpoints

The application comes pre-configured with the following SPARQL endpoints:

  • ERA (European Railway Agency): https://data-interop.era.europa.eu/api/sparql
  • DBpedia: https://dbpedia.org/sparql
  • Wikidata: https://query.wikidata.org

Deployment Example

This project demonstrates how to deploy YASGUI without Node.js or Docker - just plain HTML files served statically.

Deploy to GitHub Pages

  1. Fork or clone this repository
  2. Enable GitHub Pages in repository settings
  3. Set the source to the main branch and /src folder (or use the included GitHub Actions workflow)
  4. Your YASGUI instance will be available at https://yourusername.github.io/repository-name/

Deploy to Any Static Host

Simply upload the contents of the src/ folder to any static web hosting service:

# Contents of src/ folder:
- index.html      # Main HTML file
- main.js         # YASGUI configuration
- main.css        # Custom styles
- logo.svg        # Matdata logo
- favicon.png     # Site favicon
- manifest.json   # PWA manifest
- robots.txt      # Search engine instructions

No build step required! The files can be served directly.

Local Development

To run locally, simply open src/index.html in a web browser, or use any local static server:

# Using Python
cd src
python -m http.server 8000

# Using PHP
cd src
php -S localhost:8000

# Using Node.js (http-server)
cd src
npx http-server

Then visit http://localhost:8000 in your browser.

Customization

Adding SPARQL Endpoints

Edit src/main.js and add endpoints to the endpointCatalogueOptions.getData() array:

{
  endpoint: "https://your-sparql-endpoint.com/sparql",
}

Styling

Modify src/main.css to customize the appearance of the interface.

Configuration

The YASGUI instance can be configured in src/main.js. See the YASGUI documentation for available options.

Credits

License

See LICENSE file for details.

Releases

No releases published

Contributors 2

  •  
  •