All Projects → doug2k1 → Nanogen

doug2k1 / Nanogen

Licence: mit
Minimalist static site generator in Node.js

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Nanogen

Mkdocs
Project documentation with Markdown.
Stars: ✭ 13,346 (+7314.44%)
Mutual labels:  static-site-generator
Hugo theme pickles
Modern, Simple and beautiful Hugo theme
Stars: ✭ 168 (-6.67%)
Mutual labels:  static-site-generator
Lego
A fast static site generator that generates optimised, performant websites.
Stars: ✭ 176 (-2.22%)
Mutual labels:  static-site-generator
Abecms
The lightning fast CMS
Stars: ✭ 160 (-11.11%)
Mutual labels:  static-site-generator
Staticman
💪 User-generated content for Git-powered websites
Stars: ✭ 2,098 (+1065.56%)
Mutual labels:  static-site-generator
Baumeister
👷 The aim of this project is to help you to build your things. From Bootstrap themes over static websites to single page applications.
Stars: ✭ 171 (-5%)
Mutual labels:  static-site-generator
Pendulum
A simple markdown editor for static files (Hugo, Nexo, Jekyll, MkDocs, ...)
Stars: ✭ 157 (-12.78%)
Mutual labels:  static-site-generator
Vanilla Back To Top
Simple and smooth Back To Top button
Stars: ✭ 179 (-0.56%)
Mutual labels:  static-site-generator
Gopablo
🐺 Static site generator.
Stars: ✭ 166 (-7.78%)
Mutual labels:  static-site-generator
Bedrock
Bedrock is a static site generator to create large-scale HTML prototypes and document design systems
Stars: ✭ 175 (-2.78%)
Mutual labels:  static-site-generator
Hugs
🤗 A super simple starting point for Hugo websites.
Stars: ✭ 162 (-10%)
Mutual labels:  static-site-generator
Jekyll Serve
Jekyll in a Docker Container For Easy SSG Development
Stars: ✭ 164 (-8.89%)
Mutual labels:  static-site-generator
Pygreen
A micro web framework/static web site generator.
Stars: ✭ 171 (-5%)
Mutual labels:  static-site-generator
Tarbell
A Flask-based static site authoring tool.
Stars: ✭ 159 (-11.67%)
Mutual labels:  static-site-generator
Saber
()==[:::::::::::::> Build static sites in Vue.js, without the hassle
Stars: ✭ 2,133 (+1085%)
Mutual labels:  static-site-generator
Actions Gh Pages
GitHub Actions for GitHub Pages 🚀 Deploy static files and publish your site easily. Static-Site-Generators-friendly.
Stars: ✭ 2,576 (+1331.11%)
Mutual labels:  static-site-generator
Elmstatic
Elm-to-HTML static site generator
Stars: ✭ 170 (-5.56%)
Mutual labels:  static-site-generator
Monobase
React static site generator
Stars: ✭ 180 (+0%)
Mutual labels:  static-site-generator
Notablog
Generate a minimalistic blog from a Notion table. [WIP]
Stars: ✭ 177 (-1.67%)
Mutual labels:  static-site-generator
Fornax
Scriptable static site generator using type safe F# DSL to define page templates.
Stars: ✭ 175 (-2.78%)
Mutual labels:  static-site-generator

Nanogen

No Maintenance Intended npm Build Status Maintainability Test Coverage

Deploy to Netlify

Minimalist static site generator, powered by Node.js

Features

  • Generate HTML pages from EJS and/or Markdown files.
  • The site can have a global layout (the common header, navigation, footer) and some pages may have a specific one.
  • It can read site metadata from a global file and have specific data for individual pages.
  • Allow partials (blocks of reusable interface components)

Getting started

Prerequisites

  • Node.js installed (version 8 or above)

Install

You may install it globally with:

npm i -g nanogen

Or run the cli directly with npx (available with npm 5.2 or above):

npx nanogen <command>

Creating a new site

To create a brand new site, navigate to the folder you want your site to be and run:

nanogen init

This will create a initial site structure like this:

/
  src/
    assets/
    layouts/
    pages/
    partials/
  site.config.js

To build the site and open it in a browser, run:

npm start

There is already a default layout inside the layouts folder, but you may add more.

Read more about Layouts.

Inside the pages folder is where you put ejs, md or html files that will generate the pages of the final site. Any file name and folder structure used here will be transposed to the resulting site (without the pages part).

Read more about Pages.

Available commands and options

You may run nanogen -h to see the available commands and options:

  Initialize a new site:

    $ nanogen init

  Start the current site:

    $ nanogen start [options]

  Build the current site:

    $ nanogen build [options]

  Options
    -c, --config <file-path>  Path to the config file (default: site.config.js)
    -p, --port <port-number>  Port to use for local server (default: 3000)

    -h, --help                Display this help text
    -v, --version             Display Nanogen version

Docs

Read the full documentation

Authors

  • Douglas Matoso - Initial work - doug2k1

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE file for details

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].