Helix

Helix

Helix is a versatile and powerful static site generator designed for developers who need a seamless and efficient workflow. With support for multiple template engines like EJS, Handlebars, and Pug, Helix allows you to create dynamic, content-rich websites with ease. Its intuitive CLI and live reloading server make development fast and enjoyable, while its modular architecture ensures your projects stay scalable and maintainable.

Inspired by Douglas Matoso's nanogen.

Features

Installation

To install Helix globally using npm:

npm install -g helix-static-gen

Or using Yarn:

yarn add -g helix-static-gen

Usage

Initialize a New Site

To initialize a new Helix site, simply run:

helix-static-gen init

This will create a new project structure with the necessary files to get started.

Start the Development Server

To start the local development server with live reloading:

helix-static-gen start -p 3000

You can specify a different port if needed using the -p flag.

Build the Site

To build your site into the public folder:

helix-static-gen build

This will process your templates, apply layouts, and generate static HTML files.

Example

Here is a basic example of how to use Helix:

  1. Initialize your project:

    helix-static-gen init
    
  2. Create a Markdown file in the pages directory:

    # Welcome to My Site
    
    This is my awesome site powered by Helix!
    
  3. Start the development server:

    helix-static-gen start
    
  4. Open your browser and navigate to http://localhost:3000 to see your site in action.

Docs

Read the full documentation for detailed guides, API references, and more examples.

Authors

License

Helix is licensed under the MIT License.