Skip to content

stefanocudini/labshub

Repository files navigation

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published