stefanocudini / labshub

Static web site generator for create an Hub to organizing a set of NPM packages by keywords

Home Page:https://opengeo.tech

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LabsHub

A static site generator for create an Hub to organizing a set of NPM packages by keywords

LabsHub generate automatically a nice and simple user interface that shows projects including their name, description and allows you to search through the keywords defined in each package.json files.

Demo

labshub

Usage

Copy or linking projects directories inside root path

cp -r /var/www/my-npm-projects/* ./

LabsHub allows you to centrally manage all of npm projects(contains package.json file) deployed in your website through a single configuration file(labshub.json). Edit labshub.json adding details about npm packages inside the root directory.

{
  "pages": {
    "index.tmpl.html": "index.html",
    "maps.tmpl.html": "maps/index.html"
  },
  "pageOut": "index.html",
  "pageTmpl": "index.tmpl.html",
  "packagesIgnore": [
    "**/node_modules/**",
    "hidden-project"
  ],
  "packages": {
    "package-dir-name": {
      "name": "package name override package.json name",
      "keywords": ["bootstrap","jquery","css3"],
      "rank": 2
    },
    ...

generate index.html

npm i
npm run build

About

Static web site generator for create an Hub to organizing a set of NPM packages by keywords

https://opengeo.tech

License:MIT License


Languages

Language:HTML 49.9%Language:CSS 24.5%Language:JavaScript 23.7%Language:Shell 1.9%